FORUM ARCHIVED

How anchored work?

Discussion in 'Modding' started by Cullen, Dec 22, 2012.

  1. Cullen

    Cullen Member

    <spell name="Gun Retrofitting" type="self" downtime="21" icon="skills/spells/corpus_burst32.png">

    <effect type="trigger" spell="Gun Retrofitting 2" requirebuffontrigger="1" requirebuffontriggername="Drone hp 3" affectsCorpses="0" amount="1" />

    <effect type="trigger" spell="Gun Retrofitting 2" requirebuffontrigger="1" requirebuffontriggername="Drone hp 4" affectsCorpses="0" amount="1" />

    <effect type="trigger" spell="Gun Retrofitting 2" requirebuffontrigger="1" requirebuffontriggername="Drone hp 5" affectsCorpses="0" amount="1" />

    <effect type="trigger" spell="Gun Retrofitting 2" requirebuffontrigger="1" requirebuffontriggername="Drone hp 6" affectsCorpses="0" amount="1" />

    <effect type="trigger" spell="Gun Retrofitting 2" requirebuffontrigger="1" requirebuffontriggername="Drone hp 7" affectsCorpses="0" amount="1" />

    <anim sprite="sprites/sfx/null" frames="2" framerate="80" centerEffect="0"/>
    <description text="Years of study have taught you how to bypass the normal flow of time... or it would have if you spent less time daydreaming. Refreshes you, but beware of being disturbed." monsterText="starts daydreaming" />
    </spell>


    <spell name="Gun Retrofitting 2" type="self" downtime="21" icon="skills/spells/corpus_burst32.png">

    <effect type="trigger" spell="Drone Tactical Mode" requirebuffontrigger="1" requirebuffontriggername="Gun Retrofit" affectsCorpses="0" amount="1" />
    <effect type="trigger" spell="Gun Retrofit" requirebuffonnottrigger="1" requirebuffonnottriggername="Gun Retrofit" affectsCorpses="0" amount="1" />

    <anim sprite="sprites/sfx/null" frames="2" framerate="80" centerEffect="0"/>
    <description text="Years of study have taught you how to bypass the normal flow of time... or it would have if you spent less time daydreaming. Refreshes you, but beware of being disturbed." monsterText="starts daydreaming" />
    </spell>

    <spell name="Laser Gun ammo per turn" downtime="1" type="self" icon="skills/lobster32.png" wand="0">
    <buff useTimer="0" stacksize="1" allowstacking="0" removable="1" bad="0"
    icon="skills/lobster64.png"
    smallicon="skills/lobster32.png" >
    </buff>
    <anim sprite="sprites/sfx/glintA/glintA" frames="5" framerate="60" centerEffect="0" sfx="metal_drop" />
    <description text="PEW PEW! or POP POP!" />
    </spell>

    <spell name="Laser Gun" downtime="1" type="self" icon="skills/maelstrom32.png" wand="0">
    <buff useTimer="0" stacksize="1" allowstacking="0" removable="1" bad="0"
    icon="skills/maelstrom64.png"
    smallicon="skills/maelstrom32.png" >
    </buff>
    <anim sprite="sprites/sfx/glintA/glintA" frames="5" framerate="60" centerEffect="0" sfx="metal_drop" />
    <description text="PEW PEW! or POP POP!" />
    </spell>



    <spell name="Gun Retrofit" downtime="1" type="self" icon="skills/lesser_syzygy32.png" wand="0">
    <buff useTimer="0" stacksize="1" allowstacking="0" removable="1" bad="0"
    icon="skills/lesser_syzygy64.png"
    smallicon="skills/lesser_syzygy32.png" >
    </buff>
    <effect type="trigger" amount="1" spell="Drone Gun Shooting" affectsCorpses="0"/>
    <anim sprite="sprites/sfx/glintA/glintA" frames="5" framerate="60" centerEffect="0" sfx="metal_drop" />
    <description text=".." />
    </spell>



    <spell name="Drone Gun Shooting" type="self" downtime="21" icon="skills/spells/corpus_burst32.png">

    <effect type="trigger" spell="Laser Gun ammo per turn" requirebuffontrigger="1" requirebuffontriggername="Laser Gun" affectsCorpses="0"/>
    <effect type="trigger" requirebuffontrigger="1" requirebuffontriggername="Laser Gun ammo per turn" spell="Laser Drone Find Target 1"/>
    <effect type="trigger" amount="2" spell="Drone Gun Shooting 2" affectsCorpses="0"/>

    <anim sprite="sprites/sfx/null" frames="2" framerate="10" centerEffect="0"/>
    <description text="Years of study have taught you how to bypass the normal flow of time... or it would have if you spent less time daydreaming. Refreshes you, but beware of being disturbed." monsterText="starts daydreaming" />
    </spell>

    <spell name="Drone Gun Shooting 2" type="self" downtime="21" icon="skills/spells/corpus_burst32.png">

    <effect type="trigger" spell="Laser Gun ammo per turn" requirebuffontrigger="1" requirebuffontriggername="Laser Gun" affectsCorpses="0"/>
    <effect type="trigger" requirebuffontrigger="1" requirebuffontriggername="Laser Gun ammo per turn" spell="Laser Drone Find Target 1"/>
    <effect type="trigger" amount="2" spell="Drone Gun Shooting" affectsCorpses="0"/>

    <anim sprite="sprites/sfx/null" frames="2" framerate="10" centerEffect="0"/>
    <description text="Years of study have taught you how to bypass the normal flow of time... or it would have if you spent less time daydreaming. Refreshes you, but beware of being disturbed." monsterText="starts daydreaming" />
    </spell>












    <spell name="Used Laser ammo" type="self" downtime="5" icon="skills/warrior/berserker0_32.png">

    <effect type="removebuffbyname" name="Laser Gun ammo per turn"/>

    <anim sprite="sprites/sfx/null" frames="2" framerate="20" centerEffect="0"/>
    <description text="Years of study have taught you how to bypass the normal flow of time... or it would have if you spent less time daydreaming. Refreshes you, but beware of being disturbed." monsterText="starts daydreaming" />
    </spell>

    <spell name="Laser Damage" type="target" >
    <effect type="damage" aethereal="1" aetherealF="0.2" affectscaster="1" resistable="0" />
    <anim sprite="sprites/sfx/null" frames="2" framerate="10" centerEffect="1" sfx="explosion"/>
    </spell>

    <spell name="Laser Dealer" type="missile" icon="skills/spells/fireball32.png" wand="1" >
    <requirements mp="19" savvyBonus="0.13" mincost="9"/>
    <anim sprite="sprites/sfx/null" frames="2" framerate="10" />
    <effect type="trigger" spell="Laser Damage" requirebuffonnottrigger="1" requirebuffonnottriggername="Drone hp 0" affectsCorpses="0" amount="1" />

    <description text="It's a giant fireball. It goes BOOM. Then with the burning. Oh god, the burning. What more do you want?" />
    </spell>

    <spell name="Shot Laser" downtime="0" type="target" icon="skills/spells/fireball32.png" wand="1" >
    <anim sprite="sprites/sfx/null" frames="2" framerate="10" />
    <effect type="trigger" requirebuffontrigger="1" requirebuffontriggername="Laser Gun ammo per turn" spell="Laser Dealer"/>
    <effect type="trigger" requirebuffontrigger="1" requirebuffontriggername="Laser Gun ammo per turn" spell="Used Laser ammo"/>
    <description text="It's a giant fireball. It goes BOOM. Then with the burning. Oh god, the burning. What more do you want?" />
    </spell>


    <spell name="Laser Drone Find Target 1" type="template" templateID="5940" anchored="1" icon="skills/warrior/swordplay2_32.png" >
    <effect type="trigger" spell="Shot Laser" affectsCorpses="0" amount="1" />
    <effect type="trigger" spell="Laser Drone Find Target 2" affectsCorpses="0"/>
    </spell>


    <spell name="Laser Drone Find Target 2" type="template" templateID="5941" anchored="1" >
    <effect type="trigger" spell="Shot Laser" affectsCorpses="0" amount="1" />
    <effect type="trigger" spell="Laser Drone Find Target 3" affectsCorpses="0"/>
    </spell>

    <spell name="Laser Drone Find Target 3" type="template" templateID="5942" anchored="1" >
    <effect type="trigger" spell="Shot Laser" affectsCorpses="0" amount="1" />
    <effect type="trigger" spell="Laser Drone Find Target 4" affectsCorpses="0"/>
    </spell>

    <spell name="Laser Drone Find Target 4" type="template" templateID="5943" anchored="1" >
    <effect type="trigger" spell="Shot Laser" affectsCorpses="0" amount="1" />
    <effect type="trigger" spell="Laser Drone Find Target 5" affectsCorpses="0"/>
    </spell>

    <spell name="Laser Drone Find Target 5" type="template" templateID="5944" anchored="1" >
    <effect type="trigger" spell="Shot Laser" affectsCorpses="0" amount="1" />
    <effect type="trigger" spell="Laser Drone Find Target 6" affectsCorpses="0"/>
    </spell>

    <spell name="Laser Drone Find Target 6" type="template" templateID="5945" anchored="1" >
    <effect type="trigger" spell="Shot Laser" affectsCorpses="0" amount="1" />
    <effect type="trigger" spell="Laser Drone Find Target 7" affectsCorpses="0"/>
    </spell>

    <spell name="Laser Drone Find Target 7" type="template" templateID="5946" anchored="1" >
    <effect type="trigger" spell="Shot Laser" affectsCorpses="0" amount="1" />
    <effect type="trigger" spell="Laser Drone Find Target 8" affectsCorpses="0"/>
    </spell>

    <spell name="Laser Drone Find Target 8" type="template" templateID="5947" anchored="1" >
    <effect type="trigger" spell="Shot Laser" affectsCorpses="0" amount="1" />
    <effect type="trigger" spell="Laser Drone Find Target 9" affectsCorpses="0"/>
    </spell>

    <spell name="Laser Drone Find Target 9" type="template" templateID="5948" anchored="1" >
    <effect type="trigger" spell="Shot Laser" affectsCorpses="0" amount="1" />
    <effect type="trigger" spell="Laser Drone Find Target 10" affectsCorpses="0"/>
    </spell>

    <spell name="Laser Drone Find Target 10" type="template" templateID="5949" anchored="1" >
    <effect type="trigger" spell="Shot Laser" affectsCorpses="0" amount="1" />
    <effect type="trigger" spell="Laser Drone Find Target 11" affectsCorpses="0"/>
    </spell>


    It just attack random target mostly attack back, but sometimes attack side. I tried swap line and trigger other to trigger (like 1 to 2) but it doesn't change anything
     
    OmniaNigrum likes this.
  2. Cullen

    Cullen Member

    <template width="11" height="11" name="5940" affectsPlayer="0">
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text=".....@....."/>
    <row text=".....#....."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    </template>

    <template width="11" height="11" name="5941" affectsPlayer="0">
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="....@#....."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    </template>

    <template width="11" height="11" name="5942" affectsPlayer="0">
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text=".....#@...."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    </template>

    <template width="11" height="11" name="5943" affectsPlayer="0">
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text=".....#....."/>
    <row text=".....@....."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    </template>


    <template width="11" height="11" name="5944" affectsPlayer="0">
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="....@......"/>
    <row text=".....#....."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    </template>


    <template width="11" height="11" name="5945" affectsPlayer="0">
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="......@...."/>
    <row text=".....#....."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    </template>


    <template width="11" height="11" name="5946" affectsPlayer="0">
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text=".....#....."/>
    <row text="....@......"/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    </template>

    <template width="11" height="11" name="5947" affectsPlayer="0">
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text=".....#....."/>
    <row text="......@...."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    </template>

    <template width="11" height="11" name="5948" affectsPlayer="0">
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text=".....@....."/>
    <row text="..........."/>
    <row text=".....#....."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    </template>

    <template width="11" height="11" name="5949" affectsPlayer="0">
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="...@.#....."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    </template>

    <template width="11" height="11" name="5950" affectsPlayer="0">
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text=".....#.@..."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    </template>

    <template width="11" height="11" name="5951" affectsPlayer="0">
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text=".....#....."/>
    <row text="..........."/>
    <row text=".....@....."/>
    <row text="..........."/>
    <row text="..........."/>
    <row text="..........."/>
    </template>




    </templatedb>


    Characters limit
     
    OmniaNigrum likes this.
  3. Essence

    Essence Will Mod for Digglebucks

    Anchored="1", unfortunately, isn't useful when making monster spells because it always tries to anchor off of the player. Monster spells you basically have to use target and then <ai hint="X"> to tell it what to aim at.
     
    OmniaNigrum likes this.