Edroniasty
New Member
- Joined
- Oct 2, 2015
- Messages
- 84
- Reaction score
- 1
Hello! I need to change my paladin manarune & uh time healing ( rune should be 1s - 1000ms but I need keep timeBetweenExActions = 500 in my config.lua and can't change it.. This is action script - timeBetweenActions') - 2000 don't working the spell is still 500ms
Help!
Code:
local exhaust = createConditionObject(CONDITION_EXHAUST)
setConditionParam(exhaust, CONDITION_PARAM_TICKS, (getConfigInfo('timeBetweenActions') - 2000))
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
local level = player:getLevel()
local mlevel = player:getMagicLevel()
local hpandma_minimum = (level * 7.8) + (SKILL_MAGLEVEL * 0)
local hpandma_maximum = (level * 9) + (SKILL_MAGLEVEL * 0)
if player:getVocation():getId() == 3 or 7 then
player:addMana(math.random(hpandma_minimum, hpandma_maximum))
player:addHealth(math.random(hpandma_minimum, hpandma_maximum))
player:getPosition():sendMagicEffect(CONST_ME_GIFT_WRAPS)
else
return FALSE
end
return TRUE
end
Help!