- Joined
- Aug 18, 2009
- Messages
- 21
Good Day to All.
I have a problem with adding spell book and stuff... When I try to add a spell book and increase it's level the unit that gains that spell book automatically dies. Inside that spell book is an ability based on Devotion Aura which adds 0.5 armor per skill level.
I have a problem with adding spell book and stuff... When I try to add a spell book and increase it's level the unit that gains that spell book automatically dies. Inside that spell book is an ability based on Devotion Aura which adds 0.5 armor per skill level.
-
Song of Celerity
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Song of Celerity [E]
-
Actions
- Unit - Remove Aria book from (Triggering unit)
- Unit - Remove Song book from (Triggering unit)
- Unit - Remove Hymn book from (Triggering unit)
- Unit - Add Song book to (Triggering unit)
- Unit - Set level of Song book for (Triggering unit) to (Level of Song of Celerity [E] for (Triggering unit))
-
Events
-
Hymn of Valor
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Hymn of Valor [|cffffcc00Q|r] - [|cffffcc00Level %d|r]
-
Actions
- Set Location[1] = (Position of (Triggering unit))
- Custom script: set bj_wantDestroyGroup = true
-
Unit Group - Pick every unit in (Units within 400.00 of Location[1] matching ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True))) and do (Actions)
-
Loop - Actions
- Unit - Cause (Triggering unit) to damage (Picked unit), dealing ((Real((70 x (Level of (Ability being cast) for (Triggering unit))))) + (0.65 x (Real((Intelligence of (Triggering unit) (Include bonuses)))))) damage of attack type Spells and damage type Normal
- Custom script: call RemoveLocation(udg_Location[1])
- Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Undead\AbsorbMana\AbsorbManaBirthMissile.mdl
- Special Effect - Destroy (Last created special effect)
-
Loop - Actions
- Custom script: call RemoveLocation(udg_Location[1])
- Unit - Remove Song book from (Triggering unit)
- Unit - Remove Hymn book from (Triggering unit)
- Unit - Remove Aria book from (Triggering unit)
- Unit - Add Hymn book to (Triggering unit)
- Unit - Set level of Hymn book for (Triggering unit) to (Level of Aria of Preserverance [|cffffcc00W|r] - [|cffffcc00Level %d|r] for (Triggering unit))
-
Events
-
Aria of Preserverance
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Aria of Preserverance [|cffffcc00W|r] - [|cffffcc00Level %d|r]
-
Actions
- Set Location[1] = (Position of (Triggering unit))
- Custom script: set bj_wantDestroyGroup = true
-
Unit Group - Pick every unit in (Units within 500.00 of Location[1] matching (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to False)) and do (Actions)
-
Loop - Actions
- Unit - Set life of (Picked unit) to ((Life of (Picked unit)) + (((0.65 x (Real((Intelligence of (Triggering unit) (Include bonuses))))) x 1.00) + (55.00 x (Real((Level of Aria of Preserverance [|cffffcc00W|r] - [|cffffcc00Level %d|r] for (Triggering unit)))))))
- Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Undead\VampiricAura\VampiricAuraTarget.mdl
- Special Effect - Destroy (Last created special effect)
-
Loop - Actions
- Custom script: call RemoveLocation(udg_Location[1])
- Unit - Remove Song book from (Triggering unit)
- Unit - Remove Aria book from (Triggering unit)
- Unit - Remove Hymn book from (Triggering unit)
- Wait 0.50 seconds
- Unit - Add Aria book to (Triggering unit)
- Unit - Set level of Aria book for (Triggering unit) to (Level of Aria of Preserverance [|cffffcc00W|r] - [|cffffcc00Level %d|r] for (Triggering unit))
-
Events