SenseWallsFlag and SenseMapFlag not working

Discussion in 'Modding' started by Themaxtr, Jul 17, 2014.

  1. Themaxtr

    Themaxtr Member

    I am trying to use the <senseWallsFlag> and <senseMapFlag> but they are not working here is my code.

    <spell name="Sonic Scan" type="self" icon="sprites/11th.png" >
    <buff useTimer="55" time="25" allowstacking="0" stacksize="1" self="1" icon="sprites/11th.png" smallicon="sprites/11th.png">
    <sightbuff amount="10" />
    <senseWallsFlag amount ="1" />
    <senseTrapFlag amount = "1" />
    <senseMapFlag amount = "1" />
    </buff>
    <description text="This is a test." />
    </spell>


    The sight buff and <sense trap flag> works but the <senseWallsFlag> does not let me see though walls and <senseMapFlag> does not reveal the map. Am i missing something or do they work differently than i think?

    i ran the mod validator and got this error.

    C:\Users\Maxwell Flynn\Documents\Gaslamp Games\Dungeons of Dredmor\mods\Be the Dr\mod\spellDB.xml
    1 error(s) found.

    Line 5, Position: 3 -- 'senseWallsFlag' is not a valid child for 'buff'


    The spell appears in game and the sight and trap buffs work. I cant find anything about using them or any skills that use them.
    Any help would be awesome.