Saints Anathema
Old School Doleran
Hello, im looking to make a magic wall cutter for my server even kind of as a test. Currently theres a Wild Growth cutter with this in the actions.xml
1487 is the ID for a magic wall,
Possibly someone can just point me in the right direction by explaining
what item2.uid means
Code:
function onUse(cid, item, frompos, item2, topos)
if item2.itemid == 1499 then
doRemoveItem(item2.uid)
doCreatureSay(cid, "Druid got owned!", TALKTYPE_ORANGE_1)
doTargetCombatHealth(0, cid, COMBAT_FIREDAMAGE, -2000, -3000, CONST_ME_FIRE)
else
return 0
end
return 1
end
1487 is the ID for a magic wall,
Possibly someone can just point me in the right direction by explaining
Code:
doRemoveItem(item2.uid)