daily pastebin goal
69%
SHARE
TWEET

Untitled

a guest Jan 19th, 2018 44 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [SPELL 3001]
  2. DEFNAME=s_peacemaking
  3. NAME=Peacemaking Effect
  4. SOUND=0
  5. RUNES=
  6. CAST_TIME=2.0
  7. RESOURCES=
  8. RUNE_ITEM=0
  9. SCROLL_ITEM=0
  10. FLAGS=spellflag_area|spellflag_fx_targ
  11. EFFECT_ID=i_fx_curse
  12. EFFECT=0
  13. DURATION=10
  14. MANAUSE=0
  15. SKILLREQ=Peacemaking 0.0
  16. INTERRUPT=0.0,0.0
  17.  
  18.  
  19. ON=@Effect
  20. if (<ischar>
  21. say Peacemaked
  22. events +e_nocombat
  23. //attacker.clear
  24. serv.newitem i_memory_peacemaking
  25. //ref1.timer = 30 + (<src.peacemaking> / 30)
  26. equip <new>
  27.  
  28. //Each ten points of peacemaking increase duration by 10
  29. endif
  30.  
  31.  
  32. [EVENTS e_nocombat]
  33. //Try to stop attacking
  34. ON=@CombatAdd
  35. return 1
  36.  
  37. ON=@GetHit
  38. //emote Breaks from Peaceamaking Effect
  39. //events -e_nocombat
  40. findid.i_memory_peacemaking.remove
  41.  
  42.  
  43. [ITEMDEF i_memory_peacemaking]
  44. ID=i_memory
  45. Name =  Peacemaking
  46.  
  47. ON=@Create
  48. serv.log <type> <layer> <name> <timer> <attr> <link>
  49.  
  50.  
  51. ON=@MemoryEquip
  52. timer=120
  53. attr = 02
  54. link = <src>
  55. src.say <timer> <link>
  56.  
  57. ON=@destroy
  58. link.emote Breaks from Peaceamking Effect
  59. link.events -e_nocombat
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top