Postado Junho 6, 2018 6 anos Resolvido Editado Junho 6, 2018 6 anos por War Resolvido (veja o histórico de edições)
Postado Junho 6, 2018 6 anos @War function isSummonPlayer(cid) if getCreatureMaster(cid) == cid or getCreatureMaster(cid) == nil then return false end return true end function onStatsChange(cid, attacker, type, combat, value) -- This should block all damage monster cause on eachother expect player summons if isMonster(cid) and isMonster(attacker) and not isSummonPlayer(attacker) then local master = getCreatureMaster(cid) if not master or not isPlayer(master) then return false end end return true end
Postado Junho 7, 2018 6 anos Em 07/06/2018 em 21:20, Sttorm disse: @Jociel CreatureScripts. como boto no xml? depois tem que registra no monstro né
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.