We don't know, you would have to show us your code. Paste it somewhere or pastebin.com and post the link, or something.
Hi, I'd like to request help on making spells again. I'd like to create an area of effect spell that would apply a debuff to everyone hit by it. The thing is, I only know how to debuff a single target, and I'm not sure how to create an effect that would debuff all targets in an area. Checking most AoE spells, they would cause effects like paralyze or confuse and stuff. If I simply create a spell with templateID 13 centered around my target, and add <effect type="trigger" name="debuffspell" /> would it apply the debuff to all affected targets?
Yep. Here's the code for how I did it with Kiaido: Code: <spell name="Kiai" type="template" anchored="1" templateID="100"> <effect type="shout"/> <anim sprite="sprites/sfx/glintA/glintA" frames="5" framerate="600" centerEffect="0" sfx="dmg_blast02a" /> <buff usetimer="1" time="2" allowstacking="0" self="0" bad="1" icon="skills/unskilled_weapon.png" smallicon="skills/warrior/unskilled_weapon32.png"> <secondarybuff id="4" amount="-50"/> <description text="Misaligned ki makes their attacks almost never deadly."/> </buff> </spell> <spell name="Kiaido" downtime="2" type="adjacent" icon="skills/wizard/spell_white4_32.png" attack="1" wand="0"> <effect type="damage" blasting="1" blastingF=".34"/> <anim sprite="sprites/sfx/glintA/glintA" frames="5" framerate="60" centerEffect="0" sfx="blast" /> <effect type="trigger" spell="Kiai"/> <description text="Your loud yell has aligned your ki and disrupted that of your opponents, who will find it virtually impossible to land a deadly blow against you in the next few seconds."/> </spell> That's an anchored AOE, but the principle is identical.
No, it is not. The only way to scale things right now is to use the generic spell scaling, but that only works for damage, and only scales with sagacity. There is a detour, however - you can use crafting to make the "skill component" that you'll use to activate it, with each skill level giving you access to stronger "skill components". It's harder to balance and not exactly the same thing, though.