Tien pour toi :p ( Pris de McPvPPro @MinePlugins )
on damage of player: #Quand un joueur prend le kit viper, met set {viper.%player%} to true sinon ça ne marcheras pas.
if {viper.%attacker%} is true:
attacker is holding a stick
chance of 15%:
remove poison from victim
apply poison to the victim for 4 seconds
on join:
set {viper.%player%} to false
set {thorc.%player%} to false
set {thor.%player%} to false
on death of player:
set {viper.%victim%} to false
set {thorc.%victim%} to false
set {thor.%victim%} to false
on right click with wooden axe: #Quand un joueur prend le kit tor, met set {thor.%player%} to true sinon ça ne marcheras pas.
if {thor.%player%} is true:
if {thorc.%player%} is false:
strike lightning at targeted block
send "&6&oQue la mort s'abatte sur eux !"
set {thorc.%player%} to true
wait 45 seconds
set {thorc.%player%} to false
send "&7[&6Thor&7] &eVous pouvez réutillisez votre kit."
else:
send "&7[&6Thor&7] &eVous êtes en cooldown."
Si je t'ai aidé met un like et met en résolu :D