Spell help

Kikac_NNGK

Well-Known Member
Reaction score
33
hey can some 1 tell me how to make a passive spell which gains strength on every killed unit (butchers - flash heap) i made it but cos it's an integer it doesent works with decimals it has to be real. So can some1 tell me how to make that spell?
 

allen204

New Member
Reaction score
1
Event
---->Unit - A unit Learns a skill
Condition
---->(Level of Flesh Heap for (Triggering unit)) Equal to 1
Action
---->Trigger - Turn on Flesh Heap 1 <gen>


Flesh Heap 1
Event
----> Unit- A unit Dies
Condition
---->((Unit-type of (Dying unit)) is A ground unit) Equal to ((Unit-type of (Killing unit)) is A Hero)
Action
---->Set Flesh_Heap = (0 + (5 / 2)) ----> Use Arithmetic for this...
---->Hero - Modify Strength of (Paladin): Add (Abs(Flesh_Heap))


I'm not sure in the event and condition but the action might work:p
5 divided by 2 is equal to 2.5 so it might give 2.5 per kill.:D
 

Bloodcount

Starcraft II Moderator
Reaction score
297
Event
---->Unit - A unit Learns a skill
Condition
---->(Level of Flesh Heap for (Triggering unit)) Equal to 1
Action
---->Trigger - Turn on Flesh Heap 1 <gen>


Flesh Heap 1
Event
----> Unit- A unit Dies
Condition
---->((Unit-type of (Dying unit)) is A ground unit) Equal to ((Unit-type of (Killing unit)) is A Hero)
Action
---->Set Flesh_Heap = (0 + (5 / 2)) ----> Use Arithmetic for this...
---->Hero - Modify Strength of (Paladin): Add (Abs(Flesh_Heap))


I'm not sure in the event and condition but the action might work:p
5 divided by 2 is equal to 2.5 so it might give 2.5 per kill.:D

I think that you are sopposed to add "level of Flesh heap is not eaqual to 0" but not sure where...
 

Kazuga

Let the game begin...
Reaction score
110
If it is not jass, what do you use?
Besides JASS there is GUI and vJass.

Event
---->Unit - A unit Learns a skill
Condition
---->(Level of Flesh Heap for (Triggering unit)) Equal to 1
Action
---->Trigger - Turn on Flesh Heap 1 <gen>


Flesh Heap 1
Event
----> Unit- A unit Dies
Condition
---->((Unit-type of (Dying unit)) is A ground unit) Equal to ((Unit-type of (Killing unit)) is A Hero)
Action
---->Set Flesh_Heap = (0 + (5 / 2)) ----> Use Arithmetic for this...
---->Hero - Modify Strength of (Paladin): Add (Abs(Flesh_Heap))


I'm not sure in the event and condition but the action might work:p
5 divided by 2 is equal to 2.5 so it might give 2.5 per kill.:D
That's not mui, woudn't it be better to use something like this?
Code:
    Events
        Unit - A unit Dies
    Conditions
        ((Killing unit) has buff (Your buff) ) Equal to True
    Actions
(Your actions here)
 

Igor_Z

You can change this now in User CP.
Reaction score
61
Hey guys i'm Kikac_NNGK's friend and i'm gonna tell you we need it in GUI cuz we don't understand Jass..
 

saw792

Is known to say things. That is all.
Reaction score
280
Post your trigger please. It's easier to modify yours than create one from scratch not knowing exactly what you're after.
 
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