Lbtg
Intermediate OT User
- Joined
- Nov 22, 2008
- Messages
- 2,321
- Reaction score
- 136
Hello, i dont understand how, but utamo vita works strange somehow, if player has 500/1000 hp and utamo vita on and says exura, he burn out ammount of mana he shoud heal on health +- ,
its working realy strange, script looks like this
maybe anyone have any ideas ?
its working realy strange, script looks like this
Lua:
local combat = Combat()
combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
combat:setParameter(COMBAT_PARAM_AGGRESSIVE, false)
local condition = Condition(CONDITION_MANASHIELD)
condition:setParameter(CONDITION_PARAM_TICKS, 200000)
combat:addCondition(condition)
function onCastSpell(creature, variant)
return combat:execute(creature, variant)
end
maybe anyone have any ideas ?