Untitled
unknown
lua
3 years ago
287 B
4
Indexable
function onUseWeapon(cid, var) local valor = getPlayerStorageValue(cid, storage) local typeCombat = isSorcerer(cid) and death or ice if valor == 3 then typeCombat = earth elseif valor == 4 then typeCombat = fire end doCombat(cid, typeCombat, var) return true end
Editor is loading...