Metatable:Condition - RodrigoOt/forgottenserver GitHub Wiki
No description available at the moment.
###Available methods:
[addDamage(rounds, time, value)](#addDamage{rounds, time, value})
clone()
getEndTime()
getIcons()
getId()
getSubId()
getTicks()
getType()
[setFormula(mina, minb, maxa, maxb)](#setFormula{mina, minb, maxa, maxb})
setOutfit(outfit)
[setOutfit(lookTypeEx, lookType, lookHead, lookBody, lookLegs, lookFeet[, lookAddons[, lookMount]])](#setOutfit{lookTypeEx, lookType, lookHead, lookBody, lookLegs, lookFeet[, lookAddons[, lookMount]]})
[setParameter(key, value)](#setParameter{key, value})
setTicks(ticks)
###### addDamage(rounds, time, value) > **Description:** N/A > **Parameters:**
- _rounds_ - _No description_
- _time_ - _No description_
- _value_ - _No description_
###### clone() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local condition = Condition(...) condition:clone() ``` > **Added in version:** 1.0
###### getEndTime() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local condition = Condition(...) condition:getEndTime() ``` > **Added in version:** 1.0
###### getIcons() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local condition = Condition(...) condition:getIcons() ``` > **Added in version:** 1.0
###### getId() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local condition = Condition(...) condition:getId() ``` > **Added in version:** 1.0
###### getSubId() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local condition = Condition(...) condition:getSubId() ``` > **Added in version:** 1.0
###### getTicks() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local condition = Condition(...) condition:getTicks() ``` > **Added in version:** 1.0
###### getType() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local condition = Condition(...) condition:getType() ``` > **Added in version:** 1.0
###### setFormula(mina, minb, maxa, maxb) > **Description:** N/A > **Parameters:**
- _mina_ - _No description_
- _minb_ - _No description_
- _maxa_ - _No description_
- _maxb_ - _No description_
###### setOutfit(outfit) > **Description:** N/A > **Parameters:**
- _outfit_ - _No description_
###### setOutfit(lookTypeEx, lookType, lookHead, lookBody, lookLegs, lookFeet[, lookAddons[, lookMount]]) > **Description:** N/A > **Parameters:**
- _lookTypeEx_ - _No description_
- _lookType_ - _No description_
- _lookHead_ - _No description_
- _lookBody_ - _No description_
- _lookLegs_ - _No description_
- _lookFeet_ - _No description_
- _lookAddons_ - _(optional)_
- _lookMount_ - _(optional)_
###### setParameter(key, value) > **Description:** N/A > **Parameters:**
- _key_ - _No description_
- _value_ - _No description_
###### setTicks(ticks) > **Description:** N/A > **Parameters:**
- _ticks_ - _No description_