My spell crashes the game.

Discussion in 'Modding' started by przemko27, Sep 6, 2015.

  1. przemko27

    przemko27 Member

    <spell name="Explomind" type="fireball" radius="2" downtime="0" icon="skills/skill_placeholder_small.png">
    <effect type="damage" blasting="20" affectsCaster="0" blastingF="2" primaryScale="0" secondaryScale="0"/>
    <anim sprite="sprites/sfx/acid_ball/acid_ball" frames="4" framerate="50" sfx="flame" />
    This spell crashes my game when I try to use it. Any help?
  2. Bohandas

    Bohandas Member

    I'm not sure if you can scale a single effect off of both a primary and secondary attribute (or off of two attributes at all). (Though I'm not totally sure you can't either)

    Also, are any of those graphics custom made? Dredmor sometimes has a problem with some custom made graphics (this issue can be fixed by running the graphics through the batch conversion program in FastStone Image Viewer and converting from .png back into .png)
    Last edited: Sep 19, 2015