shadowm

Untitled

Mar 2nd, 2013
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. [event]
  2. name=side 2 turn
  3. first_time_only=no
  4. [filter_condition]
  5. [have_unit]
  6. id=Elyssa
  7. [/have_unit]
  8. [/filter_condition]
  9.  
  10. #
  11. # Force Elyssa to alternate between melee and ranged attacks every time.
  12. #
  13.  
  14. {VARIABLE_RANDOM elyssa_ranged_attack_weight 1.0,1.0,0.0}
  15.  
  16. [object]
  17. silent=yes
  18. [filter]
  19. id=Elyssa
  20. [/filter]
  21. [effect]
  22. apply_to=attack
  23. range=ranged
  24. attack_weight=$elyssa_ranged_attack_weight
  25. [/effect]
  26. [/object]
  27.  
  28. {CLEAR_VARIABLE elyssa_ranged_attack_weight}
  29. [/event]
Advertisement
Add Comment
Please, Sign In to add comment