Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define AMLA_ELYNIA_E1_SPELL_THORNS_EFFECT
- {APPLY_EXTRA_AMLA_EFFECT amla_elynia_e1_spell_thorns (
- [learn_spell]
- unit=Elynia
- id=e1_thorns
- name= _ "Thorns"
- image=attacks/thorns.png
- description= _ "Unleashes a barrage of thorns at an enemy, slowing them."
- cooldown_time=3
- [target_filter]
- [filter]
- [not]
- {STATUS_FILTER petrified,slowed}
- [/not]
- [filter_adjacent]
- id=Elynia
- is_enemy=yes
- [/filter_adjacent]
- [/filter]
- [/target_filter]
- [spell_effect]
- [sound]
- name=magic-thorns-[1,2].ogg
- [/sound]
- [modify_unit]
- [filter]
- x,y=$spell_target.x,$spell_target.y
- [/filter]
- [status]
- slowed=yes
- [/status]
- [/modify_unit]
- [/spell_effect]
- [/learn_spell]
- )}
- #enddef
Advertisement
Add Comment
Please, Sign In to add comment