Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [event]
- name=side 2 turn
- first_time_only=no
- [filter_condition]
- [have_unit]
- id=Elyssa
- [/have_unit]
- [/filter_condition]
- #
- # Force Elyssa to alternate between melee and ranged attacks every time.
- #
- {VARIABLE_RANDOM elyssa_ranged_attack_weight 1.0,1.0,0.0}
- [object]
- silent=yes
- [filter]
- id=Elyssa
- [/filter]
- [effect]
- apply_to=attack
- range=ranged
- attack_weight=$elyssa_ranged_attack_weight
- [/effect]
- [/object]
- {CLEAR_VARIABLE elyssa_ranged_attack_weight}
- [/event]
Advertisement
Add Comment
Please, Sign In to add comment