Hi guys, I am trying to do an "Aethereal Portaller" mod, and for that I want the first skill to lay a spellmine that teleports whoever steps on it randomly away. I have taken the mine effect from promethean magic and the effect from mathemagics blink, but when I use the skill, I blink, a trap appears on the ground, and when I step on the trap the game crashes. Here is the code: Code: <spell name="Where Does This Go?" type="targetfloor" icon="skills/spells/rune_of_exploding32.png" mineTimer="5" mineSpritePNGSeries="sprites/sfx/rune_exploding/rune_exploding" mineSpritePNGFirst="0" mineSpritePNGNum="3" mineSpritePNGRate="100" mine="1" mineradius="1" mineSpriteDrawOrder="0" minePermanent="1" > <effect type="trigger" spell="blink" amount="1" sfx="teleport" affectscaster="0" /> <requirements mp="8" savvybonus="0.1" mincost="3" /> <anim sprite="sprites/sfx/energyring/energyring" frames="8" sfx="portal" /> </spell> So, has anyone an idea how I can do this without having to use an item as mine?
Try replacing <effect type="trigger" spell="blink" amount="1" sfx="teleport" affectscaster="0" /> with <effect type="trigger" spell="Monster Blink" />
<spell name="Monster Blink" type="target" icon="skills/spells/blink32.png" > <anim sprite="sprites/sfx/flame_buff_loop/flame_buff_loop" frames="6" framerate="50" sfx="flame" /> <effect type="targetblink" sfx="teleport" /> <description monsterText="blinks!"/> <ai hint="self"/> </spell> So yes, it does affect the player.