FORUM ARCHIVED

Taxa command does not work. Am I the first to realize this?

Discussion in 'Modding' started by MonsterMod, Aug 30, 2012.

  1. MonsterMod

    MonsterMod Member

    So I spent like an hour trying to get the code working for taxa. Goal was to have the spell only work on taxa="Undead". I failed horribly. So I went and tested another skill that was taxa based, Blood Geyser Strike from the Dagger tree. It was supposed to only work on taxa="Animal". It worked on everything, including undead. For example, I hit a Deth mob with it (clearly an undead, not an animal), and it gets the Geysering Wound debuff icon on it. Same held true for vegetables.

    I am new to this game, so am I nuts or is all the taxa based code just not working?

    Edit, gonna try adding a delay, and see if that works.
     
  2. The taxa command does work, just not on triggers (because, I'm told, the trigger targets the effect on the square, not the monster. Adding a delay should fix it since delayed effects appear to need a monster to attach to).

    No you're not the first to notice this :p (I asked a bit ago in another thread and Ruigi (I think) basically said what I just did, but I can't remember where)
     
  3. MonsterMod

    MonsterMod Member

    Ok. I added the amount="1" after the effect type, and it worked. Wish that was documented! So basically, for anyone else with the issue, here is my new line of code that works:

    <spell name="Vlads Nitemare" type="target" icon="skills/spells/weakness32.png" wand="1" >
    <effect type="damage" necromantic="1" necromanticF="0.32" transmutative="1" transmutativeF="0.1" />
    <anim sprite="sprites/sfx/weakness_hit/weakness_hit" frames="11" framerate="70" sfx="weakness" centerEffect="1"/>
    <effect type="trigger" spell="Shutup Vlad" taxa="Vlad Digula" amount="1" />
    </spell>

    And yes, it appears you can name specific monsters for the taxa. Pretty cool.
     
    Turbo164 likes this.
  4. It'd probably be good to add to the mod wiki, yeah.

    (Especially since there are canon spells that seem to rely on taxa working on triggers which uhhhh it doesn't.)