Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [event]
- id=regen_amulet_pickup
- name=moveto,rnp
- first_time_only=no
- [filter]
- side=1
- x,y=45,32
- [/filter]
- [filter_condition]
- {VARIABLE_BOOLEAN_EQUALS guards_have_fled yes}
- [/filter_condition]
- [take_item]
- id=regen_amulet # wmllint: ignore
- name= _ "Amulet of Regeneration"
- image=icons/jewelry_necklace_amber.png
- description= _ "This amulet will allow its wearer to heal 8 HP per turn."
- effect_type="continuous"
- [command]
- [object]
- #id=regen_necklace_e1s6
- silent=yes
- duration=forever
- [effect]
- apply_to=new_ability
- [abilities]
- {ABILITY_REGENERATES}
- [/abilities]
- [/effect]
- [/object]
- [/command]
- [removal_command]
- [object]
- silent=yes
- duration=forever
- [effect]
- apply_to=remove_ability
- [abilities]
- {ABILITY_REGENERATES}
- [/abilities]
- [/effect]
- [/object]
- [remove_object]
- [filter_wml]
- [effect]
- [abilities]
- {ABILITY_REGENERATES}
- [/abilities]
- [/effect]
- [/filter_wml]
- skip_effects=yes
- [/remove_object]
- [/removal_command]
- [/take_item]
- [/event]
Advertisement
Add Comment
Please, Sign In to add comment