Explosion of Energy spell help

Halisika

Member
Reaction score
0
Hi, I'm making a little single-player RPG map. I want the ultimate for one of my custom Heroes to be an instant-cast, self-centered AoE explosion (hence the name :3) which causes damage and silences in a pretty large radius. The premise is... she releases her pent-up arcane energy. Anyway... where should I start? I couldn't think of an existing ability to base it on –– what do you guys think?
 
You might base it off Fan of Knives (which is an instant cast spell).

Then you could either make the damage from Fan of Knives or you can make it triggered.
Also after you cast the spell A dummy unit should appear and cast Silence (AoE) at position of triggering unit (the Area of Effect should be the same as the dmg)
 
Hm, lets take it that the radius is 1000 AoE from your hero. Maybe you only need to use a silencing spell. And the rest should be like:

Trigger:
  • Explosion of Energy
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to AoE_Silence
    • Actions
      • Unit Group - Pick every unit in (Units within 1000.00 of (Position of YourHero) matching ((((Matching unit) is A ground unit) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of YourHero)) Equal to True))) and do (Actions)
        • Loop - Actions
          • Unit - Cause (Casting unit) to damage (Picked unit), dealing 1200.00 damage of attack type Spells and damage type Normal
          • Special Effect - Create a special effect at (Position of YourHero) using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
          • Wait 0.40 game-time seconds
          • Special Effect - Destroy (Last created special effect)
          • Unit - Set mana of (Casting unit) to 0.00


Well, that's my opinion. But more or less it would be like above hhehe, I'm also a newbie so I don't know whether the script above is applicable or not. :)
 
I did a sample trigger - Check it out
 

Attachments

  • TEST.zip
    18.4 KB · Views: 213
Oh Sweet! I'd rather do it within the spell than with triggers, but if just modifying the parameters doesn't work I'll try the trigger(s). Thanks! :D
 
Do it with triggers, Fan of knives does strange damage (doesn't affect all of the units in range).
 
Yes, 0 (maximum) but it appears that it affects some units in some degree, not all units in the whole AoE. But all units at 0 degree, 45, 90 etc.
 
What if I make the maximum 100 or some crazy number? But I'll do it with triggers if it won't slow down the map too much... :3
 
Fan of Knives has three main fields that limit the number of targets it hits. The obvious one is the "Data - Maximum Number of Targets" field, but that's also the one that you - by default - need to care about the least. In the base Fan of Knives spell, that field is set to 0, which is equivalent to having no maximum target limit. Having the field set to 0 can potentially hit more targets than setting it to 100 (the maximum value of the field).

The other two target-limiting fields are "Data - Damage Per Target" and "Data - Maximum Total Damage". These two fields interact with each other to find the targets that will take damage by the spell. The game will divide the maximum total damage by the amount of damage each target is supposed to take, then round up to the nearest whole number to determine the number of targets being damaged. It then picks the closest allowed targets and deals full damage to each of them.

For example, if "Data - Damage Per Target" is set to 100, and "Data - Maximum Total Damage" is set to 510, the game calculates 510/100 = 5.1, rounds that up to 6, picks the 6 closest targets that fit the requirements of the "Stats - Targets Allowed" field, and deals 100 damage (not 85, although 510/6 = 85) to each of them. It is therefore theoretically possible to have Fan of Knives hit as many targets as your map can support, by setting the "Data - Damage Per Target" field to 0.

The other fields that could potentially limit the targets are, obviously, the "Stats - Targets Allowed" field and the "Stats - Area of Effect" field.
 
Okay, so I CAN just modify Fan of Knives and it will work? Thank you SO much Tharius. I hate messing with triggers (dare I admit to triggerphobia?).
 
Okay, so I CAN just modify Fan of Knives and it will work? Thank you SO much Tharius. I hate messing with triggers (dare I admit to triggerphobia?).

Whether simply modifying Fan of Knives will "work" depends on what exactly you're trying to do. Most of the posts about Fan of Knives were just trying to solve the problem of using it as a base spell, because with its default settings, rank 1 of Fan of Knives only hits 4 targets (75 damage per target, 300 maximum damage per cast). Setting the "Data - Damage Per Target" field to 0 makes each cast hit every target in range, so for a Point-Blank Area of Effect spell, that change makes Fan of Knives a viable base skill for the spell you're creating.

What it doesn't do is deal any damage, or silence. Since the "Data - Damage Per Target" field is set to 0, you would have to trigger the damage being dealt. Most people find triggering the damage to be more convenient anyways, though, because you can do such things as adding a modifier like the caster's Agility or Intelligence score to the damage. You would either have to specifically trigger the damage being dealt or tie it in with the silence ability.

Fan of Knives itself does not silence its target, and there is no field built into the spell to change that. You would have to trigger each instance of the silence, probably with a dummy unit created for each unit hit by the cast. Depending on the base spell you use for the dummy silence, you may or may not be able to deal the damage of the ability simultaneously. I personally would use a non-damaging silence ability, and trigger the damage completely independently, but that's my own preference.
 
Okay –– I'll look at the parameters for the Banshee Ranger's Silence and see if I can make it non-placeable/center the spell around the caster. Hmm... damn this is all turning out to be complicated. Well thanks everyone~
 
You can simply set the AoE of Silence to 1000 and order a dummy to use it on the position of the user. In that same trigger you could also deal the damage manually. Fan of Knives can have all fields set to 0.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    It is weird seeing a way more realistic users online number
  • The Helper The Helper:
    Happy Tuesday Night!
    +1
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    News portal has been retired. Main page of site goes to Headline News forum now
  • The Helper The Helper:
    I am working on getting access to the old news portal under a different URL for those that would rather use that for news before we get a different news view.
  • Ghan Ghan:
    Easily done
    +1
  • The Helper The Helper:
    https://www.thehelper.net/pages/news/ is a link to the old news portal - i will integrate it into the interface somewhere when i figure it out
  • Ghan Ghan:
    Need to try something
  • Ghan Ghan:
    Hopefully this won't cause problems.
  • Ghan Ghan:
    Hmm
  • Ghan Ghan:
    I have converted the Headline News forum to an Article type forum. It will now show the top 20 threads with more detail of each thread.
  • Ghan Ghan:
    See how we like that.
  • The Helper The Helper:
    I do not see a way to go past the 1st page of posts on the forum though
  • The Helper The Helper:
    It is OK though for the main page to open up on the forum in the view it was before. As long as the portal has its own URL so it can be viewed that way I do want to try it as a regular forum view for a while
  • Ghan Ghan:
    Yeah I'm not sure what the deal is with the pagination.
  • Ghan Ghan:
    It SHOULD be there so I think it might just be an artifact of having an older style.
  • Ghan Ghan:
    I switched it to a "Standard" article forum. This will show the thread list like normal, but the threads themselves will have the first post set up above the rest of the "comments"
  • The Helper The Helper:
    I don't really get that article forum but I think it is because I have never really seen it used on a multi post thread
  • Ghan Ghan:
    RpNation makes more use of it right now as an example: https://www.rpnation.com/news/
  • The Helper The Helper:

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top