Draphoelix
It's not the wintercold that's killing me
- Reaction score
- 132
GUI
Non-MUI - I really tried, but I found it impossible to refer the right bone dummy, and making it non-stackable.
Lagless
Bone Armor
This spell summons a barrier created from the bones of fallen warriors. The armor revolves around the Necromancer, protecting him against all attacks for 240 damage. Although enchanted, the armor does take damage and will eventually crumble.
Triggers
Non-MUI - I really tried, but I found it impossible to refer the right bone dummy, and making it non-stackable.
Lagless
Bone Armor
This spell summons a barrier created from the bones of fallen warriors. The armor revolves around the Necromancer, protecting him against all attacks for 240 damage. Although enchanted, the armor does take damage and will eventually crumble.
Triggers
Code:
Referr
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Set G_2 = (Units in (Entire map))
Unit Group - Pick every unit in G_2 and do (Actions)
Loop - Actions
Trigger - Add to Store <gen> the event (Unit - (Picked unit) Takes damage)
Custom script: call DestroyGroup(udg_G_2)
Code:
Refer
Events
Unit - A unit enters (Entire map)
Conditions
Actions
Trigger - Add to Store <gen> the event (Unit - (Triggering unit) Takes damage)
Code:
Cast
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Bone Armor
Actions
Set Life = (Life of (Triggering unit))
Set Damage = 0.00
For each (Integer A) from 1 to 3, do (Actions)
Loop - Actions
Unit - Kill Bone[(Integer A)]
Set Bone_Loc = (Position of (Triggering unit))
Set Caster = (Triggering unit)
For each (Integer A) from 1 to 3, do (Actions)
Loop - Actions
Set Boolean[(Integer A)] = True
Set Bone_Loc2 = (Bone_Loc offset by 100.00 towards (120.00 x (Real((Integer A)))) degrees)
Unit - Create 1 Bone for (Owner of (Triggering unit)) at Bone_Loc2 facing Default building facing degrees
Set Bone[(Integer A)] = (Last created unit)
Custom script: call RemoveLocation(udg_Bone_Loc2)
Custom script: call RemoveLocation(udg_Bone_Loc)
Code:
Store
Events
Conditions
(Triggering unit) Equal to Caster
Actions
Set Damage = (Damage + (Damage taken))
For each (Integer B) from 1 to 3, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Boolean[(Integer B)] Equal to True
Damage Greater than or equal to ((120.00 x (Real((Level of Bone Armor for Caster)))) / (Real((Integer B))))
Then - Actions
Unit - Kill Bone[(Integer B)]
Set Boolean[(Integer B)] = False
Else - Actions
Code:
Spin
Events
Time - Every 0.05 seconds of game time
Conditions
Boolean[1] Equal to True
Actions
Unit - Set life of Caster to Life
Set Distance = (Distance + 10.00)
For each (Integer B) from 1 to 3, do (Actions)
Loop - Actions
Set Bone_Loc = (Position of Caster)
Set Bone_Loc2 = (Bone_Loc offset by 100.00 towards ((120.00 x (Real((Integer B)))) + Distance) degrees)
Unit - Move Bone[(Integer B)] instantly to Bone_Loc2
Custom script: call RemoveLocation(udg_Bone_Loc2)
Custom script: call RemoveLocation(udg_Bone_Loc)