System Heal

tooltiperror

Super Moderator
Reaction score
231
Why not try to make it an independent library of Event?
 

tooltiperror

Super Moderator
Reaction score
231
I`ve, personally, always found more requirements as a turn off.
 

Lyerae

I keep popping up on this site from time to time.
Reaction score
105
Yeah. It's a little annoying sometimes to have to import a system you weren't originally planning on using
 

quraji

zap
Reaction score
144
There's no reason that this shouldn't use Event. It should however note that it requires it in the post and provide a link.
 

tooltiperror

Super Moderator
Reaction score
231
Also.

JASS:
//
//      @@   @@   @@@@@@    @@@    @    
//      @@   @@   @@       @   @   @
//      @@@@@@@   @@@@@   @ @@@ @  @
//      @@   @@   @@      @     @  @
//      @@   @@   @@@@@@  @     @  @@@@@@@@


The L looks a bit long.
 

tooltiperror

Super Moderator
Reaction score
231
I suggest you re-realease a healing snippet, with just a global heal with no healer, and one that uses a healer and a healed unit. Then, you can just add to that over time, and it may be approved quicker.
 

kingkingyyk3

Visitor (Welcome to the Jungle, Baby!)
Reaction score
216
I suggest you re-realease a healing snippet, with just a global heal with no healer,
JASS:
call HealUnit(target,target,1.,HEAL_TYPE_NORMAL)
 

Kenny

Back for now.
Reaction score
202
I think you really need to change your:

JASS:
public function GetTriggerUnit takes nothing returns unit


To:

JASS:
public function GetTarget takes nothing returns unit


To match the rest of the system.

And maybe change:

JASS:
static method make takes nothing returns thistype
    set Counter = Counter + 1
    return Counter
endmethod


To:

JASS:
static method register takes nothing returns thistype
    set Counter = Counter + 1
    return Counter
endmethod


To me, register makes much more sense, and looks nicer.
 

tooltiperror

Super Moderator
Reaction score
231
I think you really need to change your:
JASS:

static method register takes nothing returns thistype
    set Counter = Counter + 1
    return Counter
endmethod

To me, register makes much more sense, and looks nicer.

Can`t that be inlined?

JASS:

static method register takes nothing returns thistype
     return Counter + 1
endmethod
 

tooltiperror

Super Moderator
Reaction score
231
JASS:

 function colorString takes string whichString returns string
     return |CFFFF0000+whichString+|R
 endfunction


Returns red, though.
 

BRUTAL

I'm working
Reaction score
118
So?
Thats because there is a colour code in front of it.
Counter+1 will just return the value of counters plus one, not increase it by one.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top