Spell damage +%?

aki15

New Member
Reaction score
5
Need help to do this:
-When mage have Buff -X-
-And if mage casts Spell -X-
-How to make this:
-Deals 20% more damage with that spell?
 

tommerbob

Minecraft. :D
Reaction score
110
You'd need a damage detection system, and have a dummy caster cast the spell. Then detect when that dummy caster deals damage. If mage has buff, than cause the dummy caster to deal 20% bonus damage.
 

aki15

New Member
Reaction score
5
You'd need a damage detection system, and have a dummy caster cast the spell. Then detect when that dummy caster deals damage. If mage has buff, than cause the dummy caster to deal 20% bonus damage.

:D Yes i know what to do, and i tried it but it's not working ...
 

luorax

Invasion in Duskwood
Reaction score
67
If your -X- spell is triggered, then just use an if/endif, and it will work.
 

aki15

New Member
Reaction score
5
Code:
Aqua Spirit
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Gush 
    Actions
        -------- Setting Variables --------
        Set Caster = (Casting unit)
        Set Target = (Target unit of ability being cast)
        Set Skill_Level = (Level of Aqua Spirit  for Caster)
        Set Skill_level_Gush = (Level of Gush  for Caster)
        Set Damage = (65.00 x (Real(Skill_level_Gush)))
        Set Damage2 = (Damage + (Damage / (20.00 / (Real(Skill_Level)))))
        -------- Checking if Buff is Present --------
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Caster has buff Aqua Spirit ) Equal to True
            Then - Actions
                Unit - Cause Caster to damage Target, dealing Damage2 damage of attack type Spells and damage type Normal
            Else - Actions
                Unit - Cause Caster to damage Target, dealing Damage damage of attack type Spells and damage type Normal

This is working but not so good...
It's dealing *DAMAGE* only when i learn Aqua spirit spell... And i think it's made good...
 

tommerbob

Minecraft. :D
Reaction score
110
This is working but not so good...
It's dealing *DAMAGE* only when i learn Aqua spirit spell... And i think it's made good...

I'm confused. It is working or its not? What isn't working exactly?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top