Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add methods for Armadillo #12031

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Add methods for Armadillo #12031

wants to merge 11 commits into from

Conversation

Doc94
Copy link
Contributor

@Doc94 Doc94 commented Jan 27, 2025

Resolve #12026 by adding methods to the State of the Armadillo and expose the roll behaviours in the API.

@Doc94 Doc94 requested a review from a team as a code owner January 27, 2025 22:56
@Lulu13022002
Copy link
Contributor

You don't need to specify implicit modifier (public) in interface. Same for your previous PRs.

@kennytv kennytv added type: feature Request for a new Feature. scope: api labels Jan 31, 2025
}

@Override
public void rollUp() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if it's intended but those methods should probably set/reset the DANGER_DETECTED_RECENTLY memory module type otherwise the changes are immediately reverted. Alternatively the key could be exposed in the api ig.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would argue re/setting the memory and and also exposing the memory key to API would be a good call

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah i forget about that checks.. i set the value (based in the damage call) and call erase for the roll methods for handle that, also expose the memory key for allow modify this.

Copy link
Contributor Author

@Doc94 Doc94 Feb 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

currently rollUp looks like working but the rollOut not.. when call rollOut and rollUp again not sure what behaviour im missing for that.
or just maybe document the conditions for roll

Copy link
Contributor

@Lulu13022002 Lulu13022002 Feb 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you need to tweaks a bit more its brain.
The issue is that rollOut is called at the very end of the animation, if you want to keep the animation you would need to adjust the ttl to the duration of the unrolling animation.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah but the animation are not a client side thing?
about the brain im a little lost for what touch i try things but still have the issue with rollOut roll out but the Armadillo rollUp again

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iirc armadillos have "state ticks" which tell the server to roll out again immediately if not defined properly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: api type: feature Request for a new Feature.
Projects
Status: Changes required
Development

Successfully merging this pull request may close these issues.

Expand Armadillo API
5 participants