Tipo isso?
local needed_hp = getCreatureMaxHealth(monster) * 35 / 100
if getCreatureHealth(monster) == needed_hp then
...
Tipo isso?
local needed_hp = getCreatureMaxHealth(monster) * 35 / 100
if getCreatureHealth(monster) == needed_hp then
...
info
Group: Campones
Joined: 02/04/13
Posts: 83
Reputation: +41

if getCreatureHealth(monster) <= getCreatureMaxHealth(monster)*0.35 then
Opa, Boa amigo...
GG
Obrigado ai (:
info
Group: Artesão
Joined: 21/05/08
Posts: 108
Reputation: +11
Uma Duvida, eu estou elaborando um script e gostaria de saber se tem como checar a vida do monstro pra saber se ta em 35%
exemplo:
If (monsterlife== monsterlife*0,35)
tem algum jeito de fazer isso?
obrigado (: