View difference between Paste ID: axXmHDfp and HTeFCQ7C
SHOW: | | - or go back to the newest paste.
1
on damage of a player:
2
    attacker is player
3
    set {_attack} to a random integer between 1 and 3
4
    set {_damage} to the damage
5
    if {_attack} is 1 or 2:
6
        message "&a>>&c%{_damage}%&aダメージを与えた!" to attacker
7
        message "&4<<&c%{_damage}%&aダメージを与えられた!" to victim
8
    if {_attack} is 3:
9
        cancel event
10
        message "&4<<&cミス!" to attacker
11
        message "&a>>&b相手がミスった!" to victim