Zyntax
*WannaBe Scripter*
I would have a suggestion!
Recode everything to let the scripters define conditions at the same time a script get's executed!
like
Is that possible for future releases?
Recode everything to let the scripters define conditions at the same time a script get's executed!
like
Code:
local val = {}
local condition = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition, CONDITION_PARAM_SUBID, 1)
setConditionParam(condition, CONDITION_PARAM_BUFF_SPELL, 1)
setConditionParam(condition, CONDITION_PARAM_TICKS, 5 * 1000)
setConditionParam(condition, CONDITION_PARAM_SKILL_FIST, val[1])
setConditionParam(condition, CONDITION_PARAM_SKILL_CLUB, val[2])
setConditionParam(condition, CONDITION_PARAM_SKILL_SWORD, val[3])
function blabla(cid)
for i = 1, XXX do
table.insert(val, i)
end
doAddCondition(cid, condition)
end
Is that possible for future releases?