Lopaz
Member
Hello... I need help with my Mana rune script.
How should I do (what kind of script should I type in) to make it only usable for druids, elder druids, sorcerers, master sorcerers, paladins and royal paladins?
Whatever I do, the Mana rune keep stop working >.<
Script here:
Also, what should I type to make a Mana rune only usable for knights and elite knights?
Please help. I'll give you +Rep if help
How should I do (what kind of script should I type in) to make it only usable for druids, elder druids, sorcerers, master sorcerers, paladins and royal paladins?
Whatever I do, the Mana rune keep stop working >.<
Script here:
PHP:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_MANADRAIN)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false)
setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)
function onCastSpell(cid, var)
doPlayerAddMana(cid, 700)
doCreatureSay(cid, "Mana rune", TALKTYPE_MONSTER)
return doCombat(cid, combat, var)
end
Also, what should I type to make a Mana rune only usable for knights and elite knights?
Please help. I'll give you +Rep if help