Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #textdomain wesnoth-Ageless_Era
- #define WEAPON_SPECIAL_AE_LATCH
- [dummy]
- id=AE_mrc_latch
- name= _ "latch"
- description=_"When this unit kills an enemy when it latches onto it, it can burrow inside the body to make a Cadaver. This doesn't work on nonliving."
- [/dummy]
- [/specials]
- [/attack]
- # this takes us back to [unit_type], where events are allowed
- [event]
- name=die
- first_time_only=no
- id=AE_mrc_latch_event
- [filter_second_attack]
- special=AE_mrc_latch
- [/filter_second_attack]
- [filter]
- [not]
- [filter_wml]
- [status]
- not_living=yes
- [/status]
- [/filter_wml]
- [/not]
- [/filter]
- {ADVANCE_UNIT (id=$second_unit.id) (AE_mrc_Blight_Cadaver)}
- {MODIFY_UNIT (id=$second_unit.id) experience 0}
- [/event]
- [+attack]
- [+specials]
- # and +tag puts us back to specials tag
- #enddef
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement