Name | Type | is_array | initial_value |
EC_AbilityLevel | integer | Yes | |
EC_CastingPlayer | player | Yes | |
EC_DummyAbility | abilcode | Yes | |
EC_DummyUnit | unitcode | Yes | |
EC_Duration | real | Yes | |
EC_Effect_Show | string | Yes | |
EC_Index | integer | Yes | |
EC_LightningDetectionAoE | real | Yes | |
EC_LightningTimer | real | Yes | |
EC_LightningTimerMax | real | Yes | |
EC_MaxLightningTargets | integer | Yes | |
EC_MaxLightningTargetsCounter | integer | Yes | |
EC_Off | boolean | Yes | |
EC_Point | location | No | |
EC_SEffect_Show | effect | Yes | |
EC_TargetUnit | unit | Yes | |
EC_TargetUnitEffect | string | Yes | |
EC_UnitGroup | group | No |
- - - - - - - README - - - - - - -
This spell is called: Electric Charge.
Spell version: 1.1a
Spell created by: The_Flood (Flood @ hiveworkshop)
How do I modify this spell?
Well, the only things you'll have to change can be found in the "Electric Charge Cast" trigger. Read the comments and modify the spell
in the way you want it.
Remember, that a part of the spell is also located in the Object Editor. The ability EC_DummyAbility contains some things that this spell
uses. Like, damage, number of jumps, and more...
- - - - - - - How to import this spell? - - - - - - -
Make sure you've checked the box in: File > Preferences > General > Automatically create unknown variables while pasting trigger data.
This will make the import ALOT easier, or else you'll have to copy and paste all variables one by one.
The second thing you'll have to do is copy two spells and one unit. Copy those abilities:
1. Electric Charge
and
2. EC_DummyAbility
...and copy this unit:
1. EC_DummyUnit
When you're done with this you'll have to copy two triggers, they are below this "comment-trigger", they are:
1. Electric Charge Cast
and
2. Electric Charge Loop
...this is the only things you'll need for this ability.
- - - - - - - Change Log - - - - - - -
Version 1.0a
> Release
Version 1.0b
> Added an option that allow you to change how many targets that can be hit by the lightning each time.
Version 1.1a
> Reworked the code a little. (Thanks to Kingz)