FORUM ARCHIVED

Resisting Spell Effects

Discussion in 'Modding' started by Hero's Shade, Jul 7, 2012.

  1. Hero's Shade

    Hero's Shade Member

    I would like to make a piece of armor that can resist a spell effect, like blind. I would also like to make a spell that gives this effect to both the monster and the caster, so that the caster must suffer from said effect if he does not have the aforementioned armor equipped. Is there a way to do this, and if so, how? Thanks in advance.
     
  2. Kazeto

    Kazeto Member

    Make a spell that confers to you stat penalties that emulate the blindness effect. Then make an armour set that would give you a dummy 1-brittle buff when you are hit, and have the blindness effect only trigger if the buff is not on you.
     
  3. Essence

    Essence Will Mod for Digglebucks

    Alternately, though this only works against core-game blindness, go through spellDB.xml and find all of the effects that give -:sight:, and have the armor cast a spell that does removebuffbyname on ALL of those effects at the end of every turn.
     
  4. Frelus

    Frelus Member

    Essence, I do not know I have seen it right ingame, but isn't sight updated only if you move? That was the impression I got when I put on sight-improving gear. Although it -could- be not trying to stand still...
     
  5. OmniaNigrum

    OmniaNigrum Member

    I think that issue is only about jewelry. Other items sometimes work the same turn they are equipped.
     
  6. Null

    Null Will Mod for Digglebucks

    Sight definitely doesn't update until the next turn. It is useful for balance because you could just keep a +1 or +2:sight: thing and use it to scout when you normally couldn't essentially giving you extra sight for free always.