Wc3 closes by using this?

aki15

New Member
Reaction score
5
I made some item that is this way triggered:
-It should give damage back to attacker
Trigger:
Code:
Counter
    Events
        Game - GDD_Event becomes Equal to 0.00
    Conditions
        (GDD_DamagedUnit has buff Counter Bones ) Equal to True
    Actions
        Unit - Cause GDD_DamagedUnit to damage GDD_DamageSource, dealing (1.50 x GDD_Damage) damage of attack type Spells and damage type Normal
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                GDD_Damage Greater than 50.00
            Then - Actions
                Unit - Set life of GDD_DamagedUnit to ((Life of GDD_DamagedUnit) + 5.00)
            Else - Actions

My wc3 turn off when i use this and someone hit me... ?? WHY? And how to fix?
 

Parsival

Active Member
Reaction score
6
Hi,

You gave us incomplete info. I would need initialization of variables: 'GDD_DamagedUnit', 'GDD_DamageSource' and 'GDD_Event'

This event looks really weird:
Trigger:
  • Game - GDD_Event becomes Equal to 0.00
 

HydraRancher

Truth begins in lies
Reaction score
197
Hi,

You gave us incomplete info. I would need initialization of variables: 'GDD_DamagedUnit', 'GDD_DamageSource' and 'GDD_Event'

This event looks really weird:
Trigger:
  • Game - GDD_Event becomes Equal to 0.00

No, this is WEEP's Damage Detection System. It uses those variables.



Also, your problem is you're creating a fatal error. Try turning the trigger off before you damage them, and turn it back on afterwards.
 

Parsival

Active Member
Reaction score
6
Nonono, this is WEEP's Damage Detection System. It uses those variables.
Lol.

aki15, I think You shall try to find help here.

HydraRancher, why do You send incomplete posts and then edit it after minutes?:(
 

aki15

New Member
Reaction score
5
No, this is WEEP's Damage Detection System. It uses those variables.



Also, your problem is you're creating a fatal error. Try turning the trigger off before you damage them, and turn it back on afterwards.

Hmm, are you sure that this will work?
 

HydraRancher

Truth begins in lies
Reaction score
197
I just posted the problem.

Turn the trigger off before you damage them then turn it back off.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top