0.4
Hello everybody, im here to ask for help.
I was trying to do a normal attack spell, but if the player has a storage, the creature would target him, like exeta res.
Here's the code I worked so far:
Only challenge if the player have a storage
Hello everybody, im here to ask for help.
I was trying to do a normal attack spell, but if the player has a storage, the creature would target him, like exeta res.
Here's the code I worked so far:
C++:
local outfit = 425
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, 0)
setCombatParam(combat, COMBAT_PARAM_USECHARGES, true)
local area = createCombatArea(AREA_SQUARE1X1)...