23 posts double u tea ef why should I tell you? joined
#1
Debuff + Damage
I want to make a spell that debuffes a target (enemy) unit and then damages that unit for a 'solid' amount of damage, like 75/100/125 or something. I would like to make it an hero-ability, so it will need 3 levels. Could someone tell me what to do (concerning triggers etc)? Vale, H.
Base it off purge lets say. Change the stats so it doesn't slow the unit and it affects only enemy units. And as for the trigger, have the caster damage the target with the Unit - Damage action. For multiple levels use IFS to check for the current level of your purge spell.
23 posts double u tea ef why should I tell you? joined
#3
Ok.. well it works.. with these triggers: Shatter Level 1 Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to Shatter (Level of Shatter for (Triggering unit)) Equal to 1 Actions Unit - Order (Triggering unit) to damage (Target unit of ability being cast) for 25.00 using attack type Spells and damage type Normal.
I made 3 levels, but they're all alike (only more damage). (based it off Abolish Magic; needed the autocast) When I tested the spell, it worked, but the problem is that when you just cast it, it damages the target, even if there aren't any buffs 'destroyed'. Is it possible to deal damage per buff, instead of a basic amount? That would make the 'no buff, still damage' problem history, wouldn't it? How could I make it deal damage per buff? Thanks for your help Daelin
Well, there is no way you can directly detect how many buffs an unit has BUT you make a dummy unit with very high maximum mana and no basic mana and order it to cast a devour magic. The spell will take the buffs and you can check depending on the current mana of your dummy how many buffs it has.
23 posts double u tea ef why should I tell you? joined
#5
Well... just forget about the number of buffs then... Can I make the spell to only damage the target IF it has a (doesn't matter how many) buff? Could I do that with a condition?
23 posts double u tea ef why should I tell you? joined
#7
Yeah... the only way to make the ability require a buffed unit is when you condition it with a type buff... so you can't do this in a general way at all? that's lame Well, Thanks for your help!
Well I would like to know one thing; how to make it accord with hero levels? I can't find a condition for that, and i dont know if that exists but the condition i wanted was
You mean detect the level of the ability with the buff? No... you can just make a buff for each level of the ability but in this case, two heroes with soul burn for example can have their buffs stacking. Same goes for auras.