-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Fix Reumario loyal and simplified code #108
Conversation
A_New_Order/macros/elvish_macros.cfg Line 80 in d4c0d74
A_New_Order/macros/elvish_macros.cfg Line 97 in d4c0d74
This must be changed too, because uses the same method. Same on 10 Siege of Haeltin. All of these show this message in debug mode, because they use a deprecated method: |
[filter] | ||
{OP}={WHAT} | ||
side=1 | ||
[/filter] | ||
[/store_unit] | ||
{TRAIT_LOYAL} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remember to follow wmlindent
's indentation rules
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I'll run wmlindent when I finish to test all of this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok good to hear
Yeah some things to remember here are:
|
Closed. Continues here: |
This is one of the weirdest unit modifications I've ever seen xD
Storing unit, directly modifying variables, and unstoring unit? All of this completely unnecessary and makes the trait "loyal" non translatable.
I've done all the changes with [modify_unit] and [transform_unit] without storing anything, much cleaner. I've simplified other parts of the code too, as the [allow_recruit] using comma list instead of repeat every time.