- Joined
- Oct 23, 2016
- Messages
- 8
I'm using Bribe's Damage Engine (DE) to create On-hit Ability (Flak Cannon), i also create my own custom Auto-attack for Multishot Ability purpose, the problem is i only want Flak Cannon work it that damage is from Multishot Projectiles. So i'm using DamageEventType to archive that, but i don't know why my game freeze when using DamageEventType = DamageType...... from DE. Please help
P/S: Sorry for my bad english.... not my main langauge =~=
P/S: Passive Cooldown System is my system, it didn't deal anydamage
P/S: I know there are lot of leaks, this just temporary to know it is work or not...
P/S: The game freeze in this part
I attached the map in this post, please help...
P/S: Sorry for my bad english.... not my main langauge =~=
P/S: Passive Cooldown System is my system, it didn't deal anydamage
P/S: I know there are lot of leaks, this just temporary to know it is work or not...
P/S: The game freeze in this part
-
If - Conditions
-

DamageEventType Equal to (==) DamageTypeIsMultishots
-
-
Then - Actions
-
Else - Actions
-

Skip remaining actions
-
-
Flak Cannons
-

Events
-


Game - DamageEvent becomes Equal to 1.00
-
-

Conditions
-


(Level of Flak Cannons |cffffd700[Q]|r [P-Base] for DamageEventSource) Not equal to (!=) 0
-


IsDamageSpell Equal to (==) False
-
-

Actions
-


Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




(Level of Multishot Marker for DamageEventSource) Not equal to (!=) 0
-
-



Then - Actions
-




Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






DamageEventType Equal to (==) DamageTypeIsMultishots
-
-





Then - Actions
-





Else - Actions
-






Skip remaining actions
-
-
-
-



Else - Actions
-
-


Special Effect - Create a special effect at (Position of DamageEventTarget) using Abilities\Spells\Other\Transmute\GoldBottleMissile.mdl
-


Special Effect - Destroy (Last created special effect)
-


Set PCS_Caster = DamageEventSource
-


Set PCS_BaseAbility = Flak Cannons |cffffd700[Q]|r [P-Base]
-


Set PCS_DummyAbility = Flak Cannons |cffffd700[Q]|r [P-Cooldown]
-


Set PCS_AbilityLevel = (Level of PCS_BaseAbility for PCS_Caster)
-


Set PCS_AbilityCooldown = (7.00 - ((Real(PCS_AbilityLevel)) x 0.25))
-


Trigger - Run Passive Cooldown System <gen> (checking conditions)
-
-
-
Trigger 1
-

Events
-


Game - DamageModifierEvent becomes Equal to 1.00
-
-

Conditions
-


DamageEventSource Equal to (==) Ranger 0011 <gen>
-


IsDamageSpell Equal to (==) False
-


DamageEventType Not equal to (!=) DamageTypeIsMultishots
-


(Level of Multishot Marker for DamageEventSource) Not equal to (!=) 0
-
-

Actions
-


Unit Group - Pick every unit in (Units within 250.00 of (Position of DamageEventTarget)) and do (Actions)
-



Loop - Actions
-




Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






((Picked unit) belongs to an enemy of (Owner of DamageEventSource)) Equal to (==) True
-
-





Then - Actions
-






Unit - Create 1 MS Projectile Dummy [Ranger] for (Owner of DamageEventSource) at (Position of DamageEventSource) facing (Facing of Ranger 0011 <gen>) degrees
-







Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-








If - Conditions
-









(Successful: Order (Last created unit) to Attack (Picked unit)) Equal to (==) True
-
-








Then - Actions
-









Set TempInt = (Custom value of (Last created unit))
-









Set MS_DamageSource[TempInt] = DamageEventSource
-









Set MS_DamageAmount[TempInt] = DamageEventAmount
-









Unit - Add a 0.50 second Generic expiration timer to (Last created unit)
-
-








Else - Actions
-









Unit - Remove (Last created unit) from the game
-
-
-
-
-





Else - Actions
-
-
-
-


Set DamageEventAmount = 0.00
-
-
-
Trigger 2
-

Events
-


Game - DamageModifierEvent becomes Equal to 1.00
-
-

Conditions
-


(Unit-type of DamageEventSource) Equal to (==) Dummy
-
-

Actions
-


Set TempInt = (Custom value of DamageEventSource)
-


Set NextDamageType = DamageTypeIsMultishots
-


Unit - Cause MS_DamageSource[TempInt] to damage DamageEventTarget, dealing MS_DamageAmount[TempInt] damage of attack type Hero and damage type Normal
-


Trigger - Run ClearDamageEvent (checking conditions)
-


Set DamageEventAmount = 0.00
-
-
I attached the map in this post, please help...
Attachments
Last edited:






