Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define MAKE_TIMED_LOYAL _SUF
- [store_unit]
- [filter]
- {_SUF}
- [/filter]
- variable=temp_MAKE_TIMED_LOYAL_store
- kill=no
- [/store_unit]
- [if]
- [not]
- {VARIABLE_LEXICAL_EQUALS temp_MAKE_TIMED_LOYAL_store.upkeep loyal}
- [or]
- {VARIABLE_LEXICAL_EQUALS temp_MAKE_TIMED_LOYAL_store.upkeep free }
- [/or]
- [/not]
- [then]
- [modify_unit]
- [filter]
- id=$temp_MAKE_TIMED_LOYAL_store.id
- [/filter]
- upkeep=loyal
- [/modify_unit]
- [event]
- delayed_variable_substitution=no
- name=victory
- [modify_unit]
- [filter]
- id=$temp_MAKE_TIMED_LOYAL_store.id
- [/filter]
- upkeep=full
- [/modify_unit]
- [/event]
- [/then]
- [/if]
- {CLEAR_VARIABLE temp_MAKE_TIMED_LOYAL_store}
- #enddef
Advertisement
Add Comment
Please, Sign In to add comment