So I've been noticing that the Manarune is blocking the healingrune exhaustion, I previous had it in Spells but changed to potion after searching around for better solution, here is the script for manarune:
(data/acton/actions.xml):
(data/action/scripts):
But this still blocks the healingrune, my goal is to be able to put healingrune like 30-50ms right after the manarune. I've also tried to change the "TimeBetweenActions to 1", but it didn't work, the only way I made it work is to change "timeBetweenExActions to 30" but then you can spam the runes like 10 times in one second.
Sincerely,
Godsaft
(data/acton/actions.xml):
Code:<action itemid="2263" event="script" value="mana_rune.lua" allowfaruse="1"/>
(data/action/scripts):
Code:local exhaust = createConditionObject(CONDITION_EXHAUST) setConditionParam(exhaust, CONDITION_PARAM_TICKS, getConfigInfo('timeBetweenExActions') - 1) function onUse(cid, item, fromPosition, itemEx, toPosition) local level, mlevel = getPlayerLevel(cid), getPlayerMagLevel(cid) local mana_minimum = level * 1 + mlevel * 1 - 50 local mana_maximum = level * 1.2 + mlevel * 1 doPlayerAddMana(cid, math.random(mana_minimum, mana_maximum)) doSendMagicEffect(getThingPos(itemEx.uid), CONST_ME_MAGIC_BLUE) doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1) if item.type > 1 then doChangeTypeItem(item.uid, item.type - 0) end return TRUE end
But this still blocks the healingrune, my goal is to be able to put healingrune like 30-50ms right after the manarune. I've also tried to change the "TimeBetweenActions to 1", but it didn't work, the only way I made it work is to change "timeBetweenExActions to 30" but then you can spam the runes like 10 times in one second.
Sincerely,
Godsaft