akon1248

Untitled

Aug 18th, 2018
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.02 KB | None | 0 0
  1. #CustomDeathMessage ver 1.0.0
  2. #死亡者は%victim%
  3. #殺害者は%attacker%
  4. options:
  5. #落下死
  6. fallingdeathmessage: %victim%は高いところから落ちてこの世と別れを告げた
  7. #溺死
  8. drowingdeathmessage: %victim%は水中で苦しみ悶えながら息を引き取った
  9. #焼死
  10. burningdeathmessage: %victim%は炎に囲まれながら天に昇った
  11. #奈落
  12. voiddeathmessage: %victim%は永遠続く穴に落ちた
  13. #溶岩
  14. lavadeathmessage: %victim%は溶岩に飲み込まれた
  15. #中毒死
  16. poisondeathmessage: %victim%は毒により心肺停止に陥った
  17. #爆死
  18. explosiondeathmessage: %victim%は爆風により体が粉々に飛び散った
  19. #殺人
  20. playerkilldeathmessage: %victim%は%attacker%の手によって殺された
  21. #MOB
  22. mobkilldeathmessage: %victim%は%attacker%に殺害された
  23. #その他
  24. otherdeathmessage: %victim%が死神に連れてゆかれるのは運命だった
  25. on death:
  26. set {_attacker} to attacker
  27. set {_victim} to victim
  28. if {_attacker} is not set:
  29. if damage was caused by drow:
  30. set the death message to "%{@drowingdeathmessage}%"
  31. if damage was caused by fall:
  32. set the death message to "%{@fallingdeathmessage}%"
  33. if damage was caused by void:
  34. set the death message to "%{@voiddeathmessage}%"
  35. if damage was caused by fire:
  36. set the death message to "%{@burningdeathmessage}%"
  37. if damage was caused by lava:
  38. set the death message to "%{@lavadeathmessage}%"
  39. if damage was caused by explosion:
  40. set the death message to "%{@explosiondeathmessage}%"
  41. if damage was caused by poison:
  42. set the death message to "%{@poisondeathmessage}%"
  43. else:
  44. set the death message to "%{@otherdeathmessage}%"
  45. if {_attacker} is set:
  46. if attacker is a player:
  47. set the death message to "%{@playerkilldeathmessage}%"
  48. if attacker is not a player:
  49. set the death message to "%{@mobkilldeathmessage}%"
  50. delete {_attacker}
  51. delete {_victim}
  52. on load:
  53. broadcast "&6CustomDeathMessageがロードされました"
  54. broadcast "&6Ver:1.0.0"
Advertisement
Add Comment
Please, Sign In to add comment