<A00G:AOwk,DataC1> codes as trigger damage?

X-maul

AKA: Demtrod
Reaction score
201
(^ Tooltip Codes)
Is this possible in any way?
Code:
Unit - Cause (Triggering unit) to damage (Picked unit), dealing (Real((<A00G:AOwk,DataC + ((String((Level of Arctic Circle (Ice Mage) for (Triggering unit)))) + >)))) damage of attack type Spells and damage type Cold
(This does not work, but I'm looking for something similar)
 

X-maul

AKA: Demtrod
Reaction score
201
might not be that well described, I got a spell that should deal:
Code:
[B]Level 1[/B] - 150 damage
[B]Level 2[/B] - 325 Damage
[B]Level 3[/B] - 587.50 Damage
[B]Level 4[/B] - 981.25 Damage
[B]Level 5[/B] - 1571.88 Damage
[B]Level 6[/B] - 2457.81 Damage
[B]Level 7[/B] - 3786.72 Damage
[B]Level 8[/B] - 5780.08 Damage
[B]Level 9[/B] - 8770.12 Damage
[B]Level 10[/B] - 13255.18 Damage
Cant think of a math code that could do that, and then i thought of using the code i use in my tooltip:
Code:
Summons an arctic circle dealing [B]<A00G:AOwk,DataC1>[/B] damage to all 
units in a range of 300 to 500 from the caster.
but that wont work, wonder why:rolleyes:
and now i want to know if it possible to just deal value "DataC1" from spell "A00G:AOwk" in damage to a target?
 

Murre

New Member
Reaction score
14
Tbh, I'm curious why you'd use these weird numbers for damaging? Why not just create a pattern and do the regular calculation when dealing x dmg times y level + z extra? Anyway, this is how the different numbers are connected... (if that would help in any kind of way, lol)
Code:
150 x 2.16666667 = 325
325 x 1.80769231 = 587.5
587.5 x 1.67021277 = 981.25
981.25 x 1.60191592 = 1571.88
1571.88 x 1.56361173 = 2457.81
2457.81 x 1.54068866 = 3786.72
3786.72 x 1.52640808 = 5780.08
5780.08 x 1.5173008 = 8770.12
8770.12 x 1.51140235 = 13255.18

I'd say, using tons of elseifs would be a lot easier.

Edit: Note that most of the answers aren't completely accurate, I removed the (most commonly occurring) 4 zeros and the number after those.
 

X-maul

AKA: Demtrod
Reaction score
201
ty, eslif would probably be the solution /: just thought that if I was able to just use the value from the spell, it would be so damn easy to change values:rolleyes: ty anyway

EDIT: I did this instead:
Code:
        Set AC_Damage[1] = 150.00
        Set AC_Damage[2] = 325.00
        Set AC_Damage[3] = 587.50
        Set AC_Damage[4] = 981.25
        Set AC_Damage[5] = 1571.88
        Set AC_Damage[6] = 2457.81
        Set AC_Damage[7] = 3786.72
        Set AC_Damage[8] = 5780.08
        Set AC_Damage[9] = 8770.12
        Set AC_Damage[10] = 13255.18


Unit - Cause (Triggering unit) to damage (Picked unit), dealing AC_Damage[(Level of Arctic Circle (Ice Mage) for (Triggering unit))] damage of attack type Spells and damage type Cold

If anyone knows of a way to get a the above mentioned numbers with an mathmatical function (possible to use in WE) I would apriciate ^^
 
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