requirebuffontrigger is wierd with targetcorpse spells

Discussion in 'Bugs' started by Essence, Jun 16, 2012.

  1. Essence

    Essence Will Mod for Digglebucks

    OK, so this:

    Code:
    <spell name="Disintegrate Corpse" type="targetcorpse">
    <effect type="damage" conflagratory="6" />
    <anim sprite="sprites/sfx/disintegration_hit/disintegration_hit" frames="6" framerate="80" sfx="flame_weak"
    centerEffect="0"/>
    </spell>
    
    <spell name="Stay Destroyed Forever!" type="adjacent">
     <effect type="trigger" amount="1" spell="Disintegrate Corpse"/> 
    <anim sprite="sprites/sfx/null" frames="1" firstframe="0" framerate="120" sfx="blast" />
     </spell>
    Totally annhilates the corpses of the creatures it hits.


    But THIS:

    Code:
    <spell name="Disintegrate Corpse" type="targetcorpse">
    <effect type="damage" conflagratory="6" />
    <anim sprite="sprites/sfx/disintegration_hit/disintegration_hit" frames="6" framerate="80" sfx="flame_weak" 
    
    centerEffect="0"/>
    </spell>
    
    <spell name="Stay Destroyed Forever!" type="adjacent">
     <effect type="trigger" amount="1" spell="Disintegrate Corpse" requirebuffontrigger="1"
    requirebuffontriggername="Hyperrotational Peck of the Flightless Overlord" />
    <anim sprite="sprites/sfx/null" frames="1" firstframe="0" framerate="120" sfx="blast" />
     </spell>
    Totally doesn't, even when you have the relevant buff. The only difference is the requirebuffontrigger, which leads me to believe that it's borking up some obscure aspect of target-passing or some such thing like that.
     
    OmniNegro likes this.