Hi,
Does anyone have a script to cure poison ? (Deadtouch 1.9 - Tibia 7.6)
or if you know how could you try convert me this part of code on script lua ?
Does anyone have a script to cure poison ? (Deadtouch 1.9 - Tibia 7.6)
or if you know how could you try convert me this part of code on script lua ?
C++:
if(spoken=="exana pox"){
MagicEffectClass pox;
pox.animationColor = 0;
pox.damageEffect = NM_ME_MAGIC_ENERGIE;
pox.hitEffect = 255;
pox.attackType = ATTACK_NONE;
pox.maxDamage = 0;
pox.minDamage = 0;
pox.offensive = false;
pox.manaCost = 30;
if(creatureMakeMagic(creature, creature->pos, &pox)){
creature->removeCondition(ATTACK_POISON);
if(player)
player->sendIcons();
}
}