Untitled

Anonymous
lua
09/27/2022 6:34 PM
384 B
13
Indexable
function onUseWeapon(cid, var)
	local valor = getPlayerStorageValue(cid, storage)

	local typeCombat = isSorcerer(cid) and death or ice
	if typeCombat == 3 then
		typeE = earth
	elseif typeCombat == 4 then
		typeE = fire
	end

	doCombat(cid, typeCombat, var)
	return true
end
Editor is loading...