-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Metatable:Combat
Stefan A. Brannfjell edited this page Dec 19, 2017
·
7 revisions
No description available at the moment.
execute(creature, variant)
setArea(area)
setCallback(key, function)
setCondition(condition)
setFormula(type, mina, minb, maxa, maxb)
setOrigin(origin)
setParameter(key, value)
Description: N/A
Parameters:Returns: N/A
- creature - No description
- variant - No description
Example:
local combat = Combat(...)
combat:execute(some_userdata, Variant(0))
Added in version: 1.0
Description: N/A
Parameters:Returns: N/A
- area - No description
Example:
local combat = Combat(...)
combat:setArea(unknown)
Added in version: 1.0
Description: N/A
Parameters:Returns: N/A
- key - No description
- function - No description
Example:
local combat = Combat(...)
combat:setCallback(CALLBACK_PARAM_TARGETCREATURE, function_name)
Added in version: 1.0
Description: N/A
Parameters:Returns: N/A
- condition - No description
Example:
local combat = Combat(...)
combat:setCondition(some_userdata)
Added in version: 1.0
Description: N/A
Parameters:Returns: N/A
- type - No description
- mina - No description
- minb - No description
- maxa - No description
- maxb - No description
Example:
local combat = Combat(...)
combat:setFormula(COMBAT_FORMULA_LEVELMAGIC, 0, 0, 1, 1)
Added in version: 1.0
Description: N/A
Parameters:Returns: N/A
- origin - No description
Example:
local combat = Combat(...)
combat:setOrigin(ORIGIN_MELEE)
Added in version: 1.0
Description: N/A
Parameters:Returns: N/A
- key - No description
- value - No description
Example:
local combat = Combat(...)
combat:setParameter(COMBAT_PARAM_BLOCKSHIELD, true)
Added in version: 1.0