zbizu
Legendary OT User
I'm working on slot system features and I want to add extra damage to weapons. However, function is executed twice and when I try to add any combat, the server crashes.
test function:
test function:
Code:
function Creature:onTargetCombat(target)
print(true)
doTargetCombatHealth(self:getId(), target:getId(), COMBAT_PHYSICALDAMAGE, 1, 10)
return true
end