Alright well, my other post had like 10 spells on it and I think no one was posting because the list was too long. So, i'm gonna slowly break it up.
This first spell is called "Blessing" and what it does is heal allies around the caster, and also has a 20% chance of making the caster invulnerable and healing him to full.
As of right now, the only thing that works is healing the casters allies.
Also there are no SFX. I was told to use a dummy caster with a buff to cast the SFX and thats what I did.
One last thing, the "Blessing Buff" dummy spell you see is modified inner fire that gives the target 9999 armor so they are pretty much invuln.
Here's the trigger
This first spell is called "Blessing" and what it does is heal allies around the caster, and also has a 20% chance of making the caster invulnerable and healing him to full.
As of right now, the only thing that works is healing the casters allies.
Also there are no SFX. I was told to use a dummy caster with a buff to cast the SFX and thats what I did.
One last thing, the "Blessing Buff" dummy spell you see is modified inner fire that gives the target 9999 armor so they are pretty much invuln.
Here's the trigger
Trigger:
- Blessing
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to (==) Blessing
- Actions
- Set UnitVarCaster12 = (Triggering unit)
- Set TempLoc49 = (Position of UnitVarCaster12)
- Set BlessingOwner[(Player number of (Owner of (Triggering unit)))] = (Casting unit)
- Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Random integer number between 1 and 100) Less than or equal to (<=) 20
- Then - Actions
- Unit - Set life of UnitVarCaster12 to 100.00%
- Unit - Create 1 Dummy Missile for (Owner of (Triggering unit)) at TempLoc49 facing Default building facing (270.0) degrees
- Unit - Add a 4.00 second Generic expiration timer to (Last created unit)
- Unit - Add Blessing Buff to (Last created unit)
- Unit - Order (Last created unit) to Human Priest - Inner Fire UnitVarCaster12
- Else - Actions
- If - Conditions
- Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Unit - Set life of UnitVarCaster12 to ((Life of UnitVarCaster12) + (2.00 x (Real((Intelligence of UnitVarCaster12 (Exclude bonuses))))))
- Unit - Remove Negative buffs from UnitVarCaster12
- Set GroupVar13 = (Units within 400.00 of TempLoc49 matching ((((Owner of (Matching unit)) is an ally of (Owner of UnitVarCaster12)) Equal to (==) True) and (((Matching unit) is alive) Equal to (==) True)))
- Unit Group - Pick every unit in GroupVar13 and do (Actions)
- Loop - Actions
- Unit - Set life of (Picked unit) to ((Life of (Picked unit)) + ((Real((Intelligence of UnitVarCaster12 (Exclude bonuses)))) x 2.50))
- Floating Text - Create floating text that reads ((String((Integer((Real(((Intelligence of UnitVarCaster12 (Include bonuses)) x 2))))))) + !) above (Target unit of ability being cast) with Z offset 0.00, using font size 10.00, color (50.00%, 33.00%, 80.00%), and 0.00% transparency
- Set BlessingFloatingText[3] = (Last created floating text)
- Floating Text - Show (Last created floating text) for (All players)
- Floating Text - Change the lifespan of (Last created floating text) to 1.50 seconds
- Floating Text - Set the velocity of (Last created floating text) to 80.00 towards 90.00 degrees
- Floating Text - Destroy BlessingFloatingText[3]
- Special Effect - Create a special effect attached to the chest of (Picked unit) using Abilities\Weapons\FaerieDragonMissile\FaerieDragonMissile.mdl
- Special Effect - Destroy (Last created special effect)
- Special Effect - Create a special effect attached to the chest of (Picked unit) using Abilities\Spells\Other\Transmute\GoldBottleMissile.mdl
- Special Effect - Destroy (Last created special effect)
- Loop - Actions
- Custom script: call RemoveLocation (udg_TempLoc49)
- Custom script: call DestroyGroup (udg_GroupVar13)
- Events