complete blank
Member
- Joined
- May 5, 2017
- Messages
- 71
- Solutions
- 5
- Reaction score
- 15
I haven't done anything to this script. Every time I get hit by a creature it takes from my hp and not my mana when manashield is active.
Is there something special I need to do to get the creature to take from my mana?
I am bumping this because the support team person skipped over it. Clearly I am not asking you to write me a script I just like to know if this is expected behavior that mana shield when casted only provides an icon but no real mana shield.
Code:
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:setCondition(condition)
function onCastSpell(creature, variant)
return combat:execute(creature, variant)
end
I am bumping this because the support team person skipped over it. Clearly I am not asking you to write me a script I just like to know if this is expected behavior that mana shield when casted only provides an icon but no real mana shield.
Last edited by a moderator: