FORUM ARCHIVED

Unwanted wall destruction.

Discussion in 'Modding' started by Zylo, Jun 15, 2012.

  1. Zylo

    Zylo Member

    Hey all, I just released my first mod on the steam workshop and I got my first bug. Apparently a spell to do AOE fire damage is destroying walls.

    Code:
    <spell name="yol" type="template" templateID="7006" anchored="1" icon="sprites/shouter/shouter3.5s.png" downtime="30" wand="1">   
    <effect burn="1" type="damage" conflagratory ="3" conflagratoryF="0.2" affectscaster="1" />
        <anim sprite="sprites/shouter/yol/yol" frames="5" firstframe="0" framerate="40" sfx="flame" centerEffect="1"/>
          </spell>
    there is the code.

    And here is the template.

    Code:
    <template width="3" height="5" name="7006" affectsPlayer="0">
    <row text="@@@"/>
    <row text="@@@"/>
    <row text="@@@"/>
    <row text="@@@"/>
    <row text=".#."/>
    </template>

    any ideas?
     
  2. LionsDen

    LionsDen Member

    Are the walls it's destroying breakable?

    That is my most likely thought. There are a number of walls in the dungeon that are breakable and hide surprises. Other than that, I don't see any dig type damage that would destroy non-breakable walls.
     
  3. Zylo

    Zylo Member

    Ok then, that takes a load off my back. I never knew there were breakable walls.
     
  4. Null

    Null Will Mod for Digglebucks

    Just wondering, will there be toor or shul spells with this?
     
  5. Zylo

    Zylo Member

    No sadly, Im not nearly good enough in the coding to figure out how to do that properly. (Make a spell evolve by learning new words.) And glad you caught the reference. The skill that uses the spell is actually called "Fi Arh". Currently I'm trying to make the spell only work when the player is under the "fueled by booze" effect.