- Joined
- Oct 7, 2014
- Messages
- 2,209
Hello so I have this spell which is a Racial Skill called Gift of Naaru - It is a passive skill that has a 30% chance to activate when a unit is attacked, then the unit is healed based on the amount of damage taken. It have a 20 second cooldown.
For this spell I used Bribe's DDS to compute the damage taken after considering damage deductions and Flux's Passive Cooldown System.
I tried to run some test and it feels weird. I feel like I didn't make a functioning trigger. I am using this spell for my altered melee and a lot of units will be using this passive skill
Then I recently saw Bribe's GUI Spell System, I am trying to use and understand it but my problem is I am having a hard time trying to transform my spell to use his system so that it runs smoothly and right. Also, I am not sure if it checks if the damage comes from a spell or not(It should only activate when damage is from a 'normal' attack) and I don't know how to check if a unit has the passive skill on cooldown.
For this spell I used Bribe's DDS to compute the damage taken after considering damage deductions and Flux's Passive Cooldown System.
I tried to run some test and it feels weird. I feel like I didn't make a functioning trigger. I am using this spell for my altered melee and a lot of units will be using this passive skill
Then I recently saw Bribe's GUI Spell System, I am trying to use and understand it but my problem is I am having a hard time trying to transform my spell to use his system so that it runs smoothly and right. Also, I am not sure if it checks if the damage comes from a spell or not(It should only activate when damage is from a 'normal' attack) and I don't know how to check if a unit has the passive skill on cooldown.
-
Gift of Naaru
-
Events
- Game - DamageModifierEvent becomes Equal to 4.00
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- IsDamageSpell Equal to False
- (Level of Gift of Naaru (Faction Skill) for DamageEventTarget) Greater than or equal to 1
- (Random integer number between 1 and 10) Less than 3
-
Then - Actions
- Set PCD_Unit = DamageEventTarget
- Set PCD_Ability = Gift of Naaru (Faction Skill)
- Set PCD_DummyAbility = Gift of Naaru (PCD System)
- Set PCD_Time = 20.00
- Set PCD_Manacost = 0.00
- Set DamageEventAmount = (0.00 - DamageEventAmount)
- Set DamageEventType = DamageTypeHeal
- Special Effect - Create a special effect attached to the overhead of DamageEventTarget using HolyAwakening.mdx
- Special Effect - Destroy (Last created special effect)
- Trigger - Run Passive Cooldown System <gen> (checking conditions)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events