Ayanami
칼리
- Reaction score
- 288
Introduction
Well, I was bored and decided to make Earthshaker's spells from DoTA.
Requirements
- Friendly-GUI Damage Detection by Weep
The spells:
Details
- The spells are GUI like I stated above.
- They are leakless (hope so) and lagless (at least for me).
- It is MUI, meaning can be cast many times at the same instance.
- Easy to import.
- It's an Earthshaker from DoTA!
Spells
Fissure
Description:
Slams the ground with the Raigor's mighty totem, causing the ground to crack open front of him, damaging opponents and leaving an impassable crevasse for a period of time.
Level 1 - Deals 125 damage and stun lasts for 1.00 second.
Level 2 - Deals 175 damage and stun lasts for 1.25 seconds.
Level 3 - Deals 225 damage and stun lasts for 1.50 seconds.
Level 4 - Deals 275 damage and stun lasts for 1.75 seconds.
Cooldown - 15 seconds
Screenshot:
Code:
Enchant Totem
Description:
Empowers the totem resting on Raigor's back, causing it to deal extra damage on the next attack. Lasts for 14 seconds or 1 attack.
Level 1 - Increases Damage by 50%.
Level 2 - Increases Damage by 100%.
Level 3 - Increases Damage by 150%.
Level 4 - Increases Damage by 200%.
Cooldown - 7 seconds
Screenshot:
Code:
Aftershock
Description:
The power of Raigor casting a spell causes the earth to shake below him, dealing additional damage and stunning.
Level 1 - Deals 25 damage and 0.3 seconds stun.
Level 2 - Deals 45 damage and 0.7 seconds stun.
Level 3 - Deals 75 damage and 1.2 seconds stun
Level 4 - Deals 225 damage and 1.5 seconds stun
Passive
Code:
Echo Slam
Description:
Raigor sends shockwaves shooting through the ground, dealing damage ricocheting to nearby targets for additional damage.
Level 1 - 200 Initial Damage and 35 Echo Damage.
Level 2 - 275 Initial Damage and 45 Echo Damage.
Level 3 - 350 Initial Damage and 65 Echo Damage.
Cooldown - Cooldown: 150/130/110 seconds
Screenshot:
Code:
Credits
Changelogs
Any comments, flame or any kind of encouragement will be appreciated. Just give me a feedback
Well, I was bored and decided to make Earthshaker's spells from DoTA.
Requirements
- Friendly-GUI Damage Detection by Weep
The spells:
- Fissure [Active]
- Enchant Totem [Active]
- Aftershock [Passive]
- Echo Slam [Active]
Details
- The spells are GUI like I stated above.
- They are leakless (hope so) and lagless (at least for me).
- It is MUI, meaning can be cast many times at the same instance.
- Easy to import.
- It's an Earthshaker from DoTA!
Spells
Fissure
Description:
Slams the ground with the Raigor's mighty totem, causing the ground to crack open front of him, damaging opponents and leaving an impassable crevasse for a period of time.
Level 1 - Deals 125 damage and stun lasts for 1.00 second.
Level 2 - Deals 175 damage and stun lasts for 1.25 seconds.
Level 3 - Deals 225 damage and stun lasts for 1.50 seconds.
Level 4 - Deals 275 damage and stun lasts for 1.75 seconds.
Cooldown - 15 seconds
Screenshot:
Code:
Trigger:
- Fissure
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to FiAbilityMain
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- FiCustomValue Less than 100
- Then - Actions
- Set FiCustomValue = (FiCustomValue + 1)
- Else - Actions
- Set FiCustomValue = 1
- If - Conditions
- Set FiRealDuration[FiCustomValue] = 8.00
- Set TempPoint = (Position of (Triggering unit))
- Set FiTargetPoint = (Target point of ability being cast)
- Set FiRealDistance = 0.00
- Set TempReal = (Angle from TempPoint to FiTargetPoint)
- For each (Integer A) from 1 to 19, do (Actions)
- Loop - Actions
- Set FiRealDistance = (FiRealDistance + 64.00)
- Set TempOffset = (TempPoint offset by FiRealDistance towards TempReal degrees)
- Special Effect - Create a special effect at TempOffset using Objects\Spawnmodels\Undead\ImpaleTargetDust\ImpaleTargetDust.mdl
- Special Effect - Destroy (Last created special effect)
- Special Effect - Create a special effect at TempOffset using Abilities\Spells\Other\Volcano\VolcanoDeath.mdl
- Special Effect - Destroy (Last created special effect)
- Destructible - Create a FissureDestructible at TempOffset facing (Random angle) with scale 0.50 and variation (Integer(TempReal))
- Set FiDestructible[((FiCustomValue x 20) + (Integer A))] = (Last created destructible)
- Custom script: call RemoveLocation(udg_TempOffset)
- Loop - Actions
- Unit - Create 1 HiddenDummy for (Owner of (Triggering unit)) at TempPoint facing Default building facing degrees
- Unit - Set the custom value of (Last created unit) to FiCustomValue
- Unit Group - Add (Last created unit) to FiDummyGroup
- Custom script: call RemoveLocation(udg_FiTargetPoint)
- Custom script: call RemoveLocation(udg_TempPoint)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
Trigger:
- Fissure Periodic
- Events
- Unit - A unit Dies
- Conditions
- ((Triggering unit) is in FiDummyGroup) Equal to True
- Actions
- Set TempInt = (Custom value of (Triggering unit))
- For each (Integer A) from 1 to 19, do (Actions)
- Loop - Actions
- Destructible - Remove FiDestructible[((TempInt x 20) + (Integer A))]
- Loop - Actions
- Unit - Remove (Picked unit) from the game
- Events
Enchant Totem
Description:
Empowers the totem resting on Raigor's back, causing it to deal extra damage on the next attack. Lasts for 14 seconds or 1 attack.
Level 1 - Increases Damage by 50%.
Level 2 - Increases Damage by 100%.
Level 3 - Increases Damage by 150%.
Level 4 - Increases Damage by 200%.
Cooldown - 7 seconds
Screenshot:
Code:
Trigger:
- Enchant Totem
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to EnAbilityMain
- Actions
- Unit - Add EnAbilitySpellBook to (Triggering unit)
- Unit Group - Add (Triggering unit) to EnUnitGroup
- Events
Trigger:
- Enchant Totem Damage
- Events
- Game - GDD_Event becomes Equal to 0.00
- Conditions
- Or - Any (Conditions) are true
- Conditions
- (GDD_DamagedUnit has buff Enchant Totem (Non-stacking)) Equal to True
- (GDD_DamagedUnit has buff Enchant Totem (Stacking)) Equal to True
- Conditions
- Or - Any (Conditions) are true
- Actions
- Unit - Remove EnAbilitySpellBook from GDD_DamageSource
- Unit - Remove Enchant Totem buff from GDD_DamageSource
- Unit - Remove Enchant Totem (Non-stacking) buff from GDD_DamagedUnit
- Unit - Remove Enchant Totem (Stacking) buff from GDD_DamagedUnit
- Unit Group - Remove (Picked unit) from EnUnitGroup
- Events
Trigger:
- Enchant Totem Periodic
- Events
- Time - Every 0.10 seconds of game time
- Conditions
- Actions
- Unit Group - Pick every unit in EnUnitGroup and do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ((Picked unit) has buff Enchant Totem ) Equal to False
- Then - Actions
- Unit - Remove EnAbilitySpellBook from (Picked unit)
- Unit Group - Remove (Picked unit) from EnUnitGroup
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
- Unit Group - Pick every unit in EnUnitGroup and do (Actions)
- Events
Aftershock
Description:
The power of Raigor casting a spell causes the earth to shake below him, dealing additional damage and stunning.
Level 1 - Deals 25 damage and 0.3 seconds stun.
Level 2 - Deals 45 damage and 0.7 seconds stun.
Level 3 - Deals 75 damage and 1.2 seconds stun
Level 4 - Deals 225 damage and 1.5 seconds stun
Passive
Code:
Trigger:
- Aftershock
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- Or - Any (Conditions) are true
- Conditions
- (Ability being cast) Equal to FiAbilityMain
- (Ability being cast) Equal to EnAbilityMain
- (Ability being cast) Equal to ESAbilityMain
- Conditions
- (Level of AfAbilityMain for (Triggering unit)) Greater than 0
- Or - Any (Conditions) are true
- Actions
- Set TempPoint = (Position of (Triggering unit))
- Special Effect - Create a special effect at TempPoint using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
- Special Effect - Destroy (Last created special effect)
- Unit - Create 1 CasterDummy for (Owner of (Triggering unit)) at TempPoint facing Default building facing degrees
- Unit - Add AfAbilityStun to (Last created unit)
- Unit - Set level of AfAbilityStun for (Last created unit) to (Level of AfAbilityMain for (Triggering unit))
- Unit - Order (Last created unit) to Orc Tauren Chieftain - War Stomp
- Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
- Custom script: call RemoveLocation(udg_TempPoint)
- Events
Echo Slam
Description:
Raigor sends shockwaves shooting through the ground, dealing damage ricocheting to nearby targets for additional damage.
Level 1 - 200 Initial Damage and 35 Echo Damage.
Level 2 - 275 Initial Damage and 45 Echo Damage.
Level 3 - 350 Initial Damage and 65 Echo Damage.
Cooldown - Cooldown: 150/130/110 seconds
Screenshot:
Code:
Trigger:
- Echo Slam
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to ESAbilityMain
- Actions
- Set TempPoint = (Position of (Triggering unit))
- Set TempUnitGroup = (Units within 500.00 of TempPoint matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True))))
- Set ESUnitGroup = (Units within 500.00 of TempPoint matching ((((Matching unit) is A structure) Equal to False) and (((Matching unit) is A flying unit) Equal to False)))
- Unit Group - Pick every unit in ESUnitGroup and do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ((Picked unit) is alive) Equal to True
- Then - Actions
- Set TempOffset = (Position of (Picked unit))
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ((Picked unit) is in TempUnitGroup) Equal to True
- Then - Actions
- Unit Group - Remove (Picked unit) from TempUnitGroup
- Unit Group - Pick every unit in TempUnitGroup and do (Actions)
- Loop - Actions
- Unit - Create 1 CasterDummy for (Owner of (Triggering unit)) at TempOffset facing Default building facing degrees
- Unit - Add ESAbilityDamageAlive to (Last created unit)
- Unit - Set level of ESAbilityDamageAlive for (Last created unit) to (Level of AfAbilityMain for (Triggering unit))
- Unit - Order (Last created unit) to Neutral - Firebolt (Picked unit)
- Unit - Add a 0.50 second Generic expiration timer to (Last created unit)
- Loop - Actions
- Unit Group - Add (Picked unit) to TempUnitGroup
- Else - Actions
- Unit Group - Pick every unit in TempUnitGroup and do (Actions)
- Loop - Actions
- Unit - Create 1 CasterDummy for (Owner of (Triggering unit)) at TempOffset facing Default building facing degrees
- Unit - Add ESAbilityDamageAlive to (Last created unit)
- Unit - Set level of ESAbilityDamageAlive for (Last created unit) to (Level of AfAbilityMain for (Triggering unit))
- Unit - Order (Last created unit) to Neutral - Firebolt (Picked unit)
- Unit - Add a 0.50 second Generic expiration timer to (Last created unit)
- Loop - Actions
- Unit Group - Pick every unit in TempUnitGroup and do (Actions)
- If - Conditions
- Custom script: call RemoveLocation(udg_TempOffset)
- Else - Actions
- Set TempOffset = (Position of (Picked unit))
- Unit Group - Pick every unit in TempUnitGroup and do (Actions)
- Loop - Actions
- Unit - Create 1 CasterDummy for (Owner of (Triggering unit)) at TempOffset facing Default building facing degrees
- Unit - Add ESAbilityDamageDead to (Last created unit)
- Unit - Set level of ESAbilityDamageDead for (Last created unit) to (Level of AfAbilityMain for (Triggering unit))
- Unit - Order (Last created unit) to Neutral - Firebolt (Picked unit)
- Unit - Add a 0.50 second Generic expiration timer to (Last created unit)
- Loop - Actions
- Custom script: call RemoveLocation(udg_TempOffset)
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
- Unit Group - Pick every unit in TempUnitGroup and do (Actions)
- Loop - Actions
- Unit - Cause (Triggering unit) to damage (Picked unit), dealing (125.00 + (75.00 x (Real((Level of ESAbilityMain for (Triggering unit)))))) damage of attack type Spells and damage type Magic
- Loop - Actions
- Custom script: call DestroyGroup(udg_ESUnitGroup)
- Custom script: call DestroyGroup(udg_TempUnitGroup)
- Custom script: call RemoveLocation(udg_TempPoint)
- Events
Credits
Code:
[COLOR="Red"]GUI-Friendly Damage Detection[/COLOR] - Weep @ [URL="www.thehelper.net"]TheHelper[/URL]
Changelogs
Code:
Version 1.0
- Initial relase
Version 1.1
- Changed the base spell of Echo Slam from Channel to Fan of Knives
Version 1.2
- Fixed the issue where Aftershock occurs even though it is not learned.
- Removed unecessary conditions in the triggers: "Fissure Periodic" and "Enchant Totem Perodic"
- "Fissure Periodic" no longer uses periodic trigger. Instead uses a death detection event.
- Enchant Totem now correctly removes the Buff Placer ability when duration of the spell is over.
Any comments, flame or any kind of encouragement will be appreciated. Just give me a feedback