• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Help changing time healing my manarune script! (tfs 1.2)

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

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!
 
Back
Top