vichoko
Member
Where can i edit the exhaustion time of the potions usage?
Thanks!In the potions lua script in actions.
Next time, post your server version.
local exhaust = Condition(CONDITION_EXHAUST_HEAL)
exhaust:setParameter(CONDITION_PARAM_TICKS, (configManager.getNumber(configKeys.EX_ACTIONS_DELAY_INTERVAL) - 100))
-- 1000 - 100 due to exact condition timing. -100 doesn't hurt us, and players don't have reminding ~50ms exhaustion.
m_confInteger[EX_ACTIONS_DELAY_INTERVAL] = getGlobalNumber(L, "timeBetweenExActions", 1000);
EX_ACTIONS_DELAY_INTERVAL = 1000
its default is already 1000, didn't you read anything i wrote?So i can just add a line in config lua like:
Code:EX_ACTIONS_DELAY_INTERVAL = 1000
and it will modify the default value of 1000 ms?
Well what language do you speak?Yes i have read, sorry if i explain myself bad. English isn't my first language.
I'm saying that i can just add that line to config.lua file (I have checked and isn't there right now) and it will change the value?
I speak spanish.Well what language do you speak?