Spell help please~

geniuscb

New Member
Reaction score
1
I'm creating a spell, which deals base damage + bonus damage multiply a percentage.

Example:
Base damage: 100
Bonus damage from items: 30
Multiplier: 600%
So, the damage dealt would be (100+30)*600%

How do I make this spell? :(
 

Emu.Man00

New Member
Reaction score
41
By 600% multiplier, you mean deals 600% chance of 130 at a random chance?

E- unit starts effect of ability
C- ability being cast == your ability
A-set dmg = 130
If- random integer between 1 and 100 <= 25 (this is % chance to use multiplier)
Then- set dmg = dmg + (dmg * 6)
damage (target of ability being cast) by (dmg) of type pure
 

geniuscb

New Member
Reaction score
1
By 600% multiplier, you mean deals 600% chance of 130 at a random chance?

E- unit starts effect of ability
C- ability being cast == your ability
A-set dmg = 130
If- random integer between 1 and 100 <= 25 (this is % chance to use multiplier)
Then- set dmg = dmg + (dmg * 6)
damage (target of ability being cast) by (dmg) of type pure

at Action, set dmg = 130
How can I get 130? What I want is base damage of the unit + bonus damage from other ability or items.
And 600%, erm, its 6x the base dmg + bonus dmg (since 600% = 6x)
 

Emu.Man00

New Member
Reaction score
41
Well, you can make a replica of that unit off somewhere and make it attack another unit with 999999 hp and 0 regen, and check the amount of damage it took.

Alternativly, you can set the base damage of each unit to its custom value, and use that as a refrence.

Not much of a choice past that..
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      • Ghan
        Administrator - Servers are fun

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top