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.
  • jonas jonas:
    Oh, I see. I thought Chinese version of A-levels :D
  • jonas jonas:
    I've been using the translate app a lot on my phone. take a photo, translate. take another photo, translate again :D
  • jonas jonas:
    it also has voice translation, my colleagues sometimes use that
  • jonas jonas:
    You came during the 0 covid policy right? How'd you get through quarantine? Did you have some help with the apps and green codes?
  • tom_mai78101 tom_mai78101:
    If you have any Chinese you need help with, let me know.
    +1
  • vypur85 vypur85:
    @jonas Those were the things I did too. Translate app and VPN are always the most important things to have to survive. Lol.
  • vypur85 vypur85:
    Yea I came last year. I was quarantined for about 30 days. Fml. The first day of my quarantine was the eve of Chinese new year last year. Fml again... Lol.
  • vypur85 vypur85:
    @tom_mai78101 IIRC you're from Taiwan right.
  • The Helper The Helper:
    I thought China had cracked down on having any foreign teachers?
  • vypur85 vypur85:
    Yeah I've heard of the news before. My school is still actively hiring foreign teachers. Not sure how things work now.
  • The Helper The Helper:
    yeah it is hard to get reliable information about that kind of stuff
  • The Helper The Helper:
    but you are doing it so it is still doable
  • vypur85 vypur85:
    I think it doesn't affect existing foreign teachers. Then again, its still weird that my school is hiring.
  • The Helper The Helper:
    Happy Monday people hope everyone has a fantastic week!
  • Ghan Ghan:
    Happy Monday?! That's a contradiction.
  • jonas jonas:
  • jonas jonas:
    please put this in the news section, it's crazy
  • tom_mai78101 tom_mai78101:
    Technically, you can post in the Headline News. Just posted your news there.
  • tom_mai78101 tom_mai78101:
    I'm not aware of you not being able to post news.
  • jonas jonas:
    I think technically I can I just forget how
    +1
  • The Helper The Helper:
    Happy Thursday!
  • The Helper The Helper:
    Happy Friday Night!
    +1
  • V-SNES V-SNES:
    Happy Friday night!
    +1
  • vypur85 vypur85:
    Happy Sunday. Sigh. Work day tomorrow.
    +1

    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