TFS 0.3.5pl1If caster release spell, the caster physical damage increase by 50%,
and his mana will burn 10/s, after caster get mana = 0 or write again spell name, the spell go down.
function onStatsChange(cid, attacker, type, combat, value)
if type == 1 then
if combat == 1 then
if getPlayerStorageValue(attacker, 55000) == 1 then
value = (value/2)
doTargetCombatHealth(attacker, cid, 1, value, value, 255)
end
end
end
return true
end
[Error - CreatureEvent::executeStatsChange] Call stack overflow.