HELP ON ABILITY [JASS or GUI]

MaaxeEvid

New Member
Reaction score
8
Hi, im here again to ask for JASS pros...

I want make a ability called:

-Focus Sonic.
Charges the power of sonic waves, giving 1 counter of rage.
Level 1: Can charges 2 times
Level 2: Can charge 3 times
Level 3: Can charge 4 times
Mana Cost : 40 for charge

-Triple Sonic Slash
Slashs the enemy 3 times (Fast), and deals damage this way:
Each attack (of 3) gives damage equal to:

Level 1: Each attack deals 50 x Number of charges in Focus Sonic
Level 2: Each attack deals 60 x Number of charges in Focus Soninc
Level 3: Each attack deals 70 x Number of charges in Focus Soninc

Its a spell based on a game, i only have the idea, but i dont know how to do it, u can tell me in JASS or GUI too, but i preffer jass :) bye
 

MaaxeEvid

New Member
Reaction score
8
hum, focus sonic is a "Do nothing ability", it will only increase your "Charges" on it. When u have more charges on it, TSS will do more damage, if less, less damage.

simplyfing, it only increase your force for u do more damage with triple sonic slash, it is like a box, that stores ur charges for realese later on.

understand?
 

Arkan

Nobody rides for free
Reaction score
92
Well as I see it you need to have some kind of tracker to keep track of the "charges" of the unit.

If each player only has one of that specific unit, you could create an integer array variable to store the charges.

If you can have several of that unit-type, you could change the custom value of the unit when he uses the spell.

I suggest basing the ability on Channel which does nothing.

So whenever the Channel ability is used you increase the integer tracker or the custom value of the unit. Use this value in your damage formula for the other spell.
 
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