Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ダメージを与えた際に敵MOBの体力を表示させまする(いらなさそう)
- on damage:
- victim is a monster
- set {_victim-name::*} to name of victim split by "?"
- loop {_victim-name::*}:
- set {_mob-name} to loop-value
- stop loop
- set name of victim to "%{_mob-name}%&c?&f%health of victim%"
- #死んだときのメッセージを自由にCustomできまする
- options:
- other: %player% is dead.
- potion: &f
- fall: &f
- blockexplosion: &f
- entityexplosion: &f
- lava: &f
- drown: &f
- # %player% - playername
- # %attacker% - attackername
- # %attacker's health% - attackerhealth
- on death of player:
- if arg-1 is not set:
- if victim is player:
- set the death message to "{@other}"
- if damage was caused by attack:
- if victim is player:
- set the death message to "&c%player%&7&l<< &f%attacker%'s HP &e&l%attacker's health%"
- if damage was caused by potion:
- if victim is player:
- set the death message to "{@potion}"
- if damage was caused by fall:
- if victim is player:
- set the death message to "{@fall}"
- if damage was caused by block explosion:
- if victim is player:
- set the death message to "{@blockexplosion}"
- if damage was caused by entity explosion:
- if victim is player:
- set the death message to "{@entityexplosion}"
- if damage was caused by lava:
- if victim is player:
- set the death message to "{@lava}"
- if damage was caused by drown:
- if victim is player:
- set the death message to "{@drown}"
Advertisement
Add Comment
Please, Sign In to add comment