FORUM ARCHIVED

Why Does This Crash?

Discussion in 'Modding' started by FaxCelestis, Mar 24, 2012.

  1. FaxCelestis

    FaxCelestis Will Mod for Digglebucks

    Code:
    <item name="Intoxicating Toxin" iconFile="sprites/vial_green.png" level="1" >
        <description text="This toxin looks strangely effervescent. And vile, of course, but...effervescent. Better use it quickly once you uncork it, or it'll evaporate." />
        <potion spell="Intoxicating Bolts" />
        <price amount="100" />
        </item>
    Code:
    <spell name="Intoxicating Bolts" type="target" icon="skills/vile_poison64.png" wand="0">
        <buff useTimer="1" time="2" icon="skills/vile_poison64.png">
            <crossbowShotBuff percentage="100" name="Unconditional Love" />
            </buff>
        <description text="Shoot quick, before it evaporates!." />
        <anim sprite="sprites/sfx/summon_blood/summon_blood" frames="9" framerate="80"  centerEffect="0" sfx="toxic" />
        </spell>
    Gives a runtime error and CTD's.
     
  2. Kazeto

    Kazeto Member

    I guess that's because "unconditional love" is a spell from the source files while these are in mod's file.
     
  3. FaxCelestis

    FaxCelestis Will Mod for Digglebucks

    Nah, I've done that before and it didn't have any trouble. Also, I changed it from "target" to "self" and it still does the same thing. I'm wondering if having a <crossbowShotBuff /> inside <buff> tags crashes.