Tirar invisivel, eu sei como fazer um atacar um invisivel, mas tirar o invisivel...
Acho que nem o Byerne vai saber te responder essa.
info
Group: Conde
Joined: 17/07/11
Posts: 705
Reputation: +108

Tirar invisivel, eu sei como fazer um atacar um invisivel, mas tirar o invisivel...
Acho que nem o Byerne vai saber te responder essa.
info
Group: Visconde
Joined: 23/02/08
Posts: 273
Reputation: +101
Tibia Character: Foxx Rookslayer

Acho que nem o Byerne vai saber te responder essa.
Bitch, please ....
local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_INVISIBLE) local area = createCombatArea(AREA_CIRCLE3X3) setCombatArea(combat, area) function onCastSpell(cid, var) return doCombat(cid, combat, var) end
Edited Fevereiro 8 by Byerne
info
Group: Campones
Joined: 16/12/11
Posts: 31
Reputation: +3
Tibia Character: Menoxcide

Eu acho q esse script ake pode ajudar...
é em Creaturescripts:
function onStatsChange(cid, attacker, type, combat, value)
if not isCreature(attacker) or isPlayer(attacker) then
return true
end
if getPlayerSlotItem(cid, CONST_SLOT_RING).itemid == 2202 then
if (getCreatureName(attacker):lower() == "withered soul") or (getCreatureName(attacker):lower() == "decrept soul") or (getCreatureName(attacker):lower() == "unkempt soul") then
doMonsterChangeTarget(attacker)
return false
end
end
return true
end
Ai é só troca esse doMonsterChangeTarget pelo effect de tira invisivel, eu ateh sei faze o effect + nao sei como colocar a area 3x3...
Ve se tu ou esse Byerne consegue xD
Byerne nao é magia pra player...é magia q o monstro vai solta...eu postei o script ae pra ver se tu consegue ^^
info
Group: Visconde
Joined: 23/02/08
Posts: 273
Reputation: +101
Tibia Character: Foxx Rookslayer

Porque voce nao coloca a magia para o monstro? -.- Dá no mesmo ...
info
Group: Campones
Joined: 16/12/11
Posts: 31
Reputation: +3
Tibia Character: Menoxcide

Nao entendi man, pelo que eu entendo as magia de monsters coloca no arquivo.xml do monster, e eu ja pesquisei e pareçe q nao há anti invisible pra coloka no arquivo.xml do monstro...
Me explica direito isso q tu falo
info
Group: Visconde
Joined: 23/02/08
Posts: 273
Reputation: +101
Tibia Character: Foxx Rookslayer

Procure algum tutorial de como adicionar novas magias aos monstros.
info
Group: Campones
Joined: 16/12/11
Posts: 31
Reputation: +3
Tibia Character: Menoxcide
Queria um script q o monstro soltasse magia de tirar o invisible dos players em uma area 3x3...
Ajuda ae plx galera !!