Quantcast
Channel: OTLand
Viewing all articles
Browse latest Browse all 32031

Only challenge if the player have a storage

$
0
0
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:
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)...
Only challenge if the player have a storage

Viewing all articles
Browse latest Browse all 32031

Trending Articles