HUGE +1 Max HP Bug

ImmortaL_GoD

New Member
Reaction score
4
I have some crazy weird random bug in my map where one hero will randomly gain 1 HP per second on their MAX HP. I guess this doesn't happen often, but it has and will, does anyone have any idea?
 

Heresme

Member
Reaction score
4
I can only guess that it's a trigger or a bug, but since it's the latest version a bug is less likely, so maybe a trigger.
 

Builder Bob

Live free or don't
Reaction score
249
Do you have any triggers which adds and/or removed abilities which grants increased max life? If you do, please post them along with which abilities.
 

ImmortaL_GoD

New Member
Reaction score
4
Do you have any triggers which adds and/or removed abilities which grants increased max life? If you do, please post them along with which abilities.
Nope. =/

http://rapidshare.com/files/221704783/Maptriggers.wtg.html

EDIT: Oh btw, could someone please by any chance look at that Bilbo/Bilbo Book triggers in Events as well. It keeps spawning books even though he's dead at the center of the map (or so). I even have another trigger to destroy trigger if he's dead =/. Think I might have something to do with the temp points and custom scripts, but dunno.
 

ImmortaL_GoD

New Member
Reaction score
4
I found the problem, btw. It was the IsenUpgrade+1 action in the Death Events trigger under dying unit = Helms Deep. But I have no idea how to fix it/why it is happening. =/

Ok, ALL IsenUpgrades (Gandalf and Theoden are the other ones on there, and more for simply unit kills) seem to cause it, hmmm.
 

ImmortaL_GoD

New Member
Reaction score
4
Ok, found the issue. Oddly this was somehow fucking up the upgrades, I don't even know.
Trigger:
  • Repel of Saruman
    • Events
      • Time - Every 2.00 seconds of game time
    • Conditions
      • ((Triggering unit) is A structure) Equal to False
    • Actions
      • Set temp_group = (Units within 750.00 of (Position of Saruman the White 0116 <gen>) matching (((Matching unit) has buff Repel of Saruman ) Equal to True))
      • Unit Group - Pick every unit in temp_group and do (Actions)
        • Loop - Actions
          • Unit - Add Spell Damage Reduction (Saruman) to (Picked unit)
      • Set temp_group = temp_group
      • Trigger - Turn on Repel of Saruman Off <gen>
      • Trigger - Destroy (This trigger)

Trigger:
  • Repel of Saruman Off
    • Events
      • Time - Every 2.00 seconds of game time
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Saruman the White 0116 <gen> is dead) Equal to True
        • Then - Actions
          • Unit Group - Pick every unit in temp_group and do (Actions)
            • Loop - Actions
              • Unit - Remove Spell Damage Reduction (Saruman) from (Picked unit)
          • Custom script: call DestroyGroup (udg_temp_group)
          • Trigger - Destroy (This trigger)
        • Else - Actions
          • Unit Group - Pick every unit in temp_group and do (Actions)
            • Loop - Actions
              • Unit - Remove Spell Damage Reduction (Saruman) from (Picked unit)
          • Custom script: call DestroyGroup (udg_temp_group)
          • Set temp_group = (Units within 750.00 of (Position of Saruman the White 0116 <gen>) matching (((Matching unit) belongs to an ally of Player 7 (Green)) Equal to True))
          • Unit Group - Pick every unit in temp_group and do (Actions)
            • Loop - Actions
              • Unit - Add Spell Damage Reduction (Saruman) to (Picked unit)


Any ideas what's wrong with it? Works fine.

Oh, and also:
Trigger:
  • Barrier of Sauron
    • Events
      • Unit - Gothmog 0687 <gen> Learns a skill
      • Conditions
        • (Learned Hero Skill) Equal to Protection of Sauron
      • Actions
        • Set temp_group = (Units within 750.00 of (Position of Gothmog 0687 <gen>) matching ((((Matching unit) has buff Barrier of Sauron ) Equal to True) or (((Triggering unit) is A structure) Equal to False)))
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Level of Protection of Sauron for Gothmog 0687 <gen>) Equal to 1
          • Then - Actions
            • Unit Group - Pick every unit in temp_group and do (Actions)
              • Loop - Actions
                • Unit - Add Spell Damage Reduction to (Picked unit)
                • Custom script: call DestroyGroup (udg_temp_group)
          • Else - Actions
            • Do nothing
        • Set temp_group = (Units within 750.00 of (Position of Gothmog 0687 <gen>) matching ((((Matching unit) has buff Barrier of Sauron ) Equal to True) or (((Triggering unit) is A structure) Equal to False)))
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Level of Protection of Sauron for Gothmog 0687 <gen>) Equal to 2
          • Then - Actions
            • Unit Group - Pick every unit in temp_group and do (Actions)
              • Loop - Actions
                • Unit - Add Spell Damage Reduction to (Picked unit)
                • Unit - Set level of Spell Damage Reduction for (Picked unit) to 2
                • Custom script: call DestroyGroup (udg_temp_group)
          • Else - Actions
            • Do nothing
        • Set temp_group = (Units within 750.00 of (Position of Gothmog 0687 <gen>) matching ((((Matching unit) has buff Barrier of Sauron ) Equal to True) or (((Triggering unit) is A structure) Equal to False)))
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Level of Protection of Sauron for Gothmog 0687 <gen>) Equal to 3
          • Then - Actions
            • Unit Group - Pick every unit in temp_group and do (Actions)
              • Loop - Actions
                • Unit - Add Spell Damage Reduction to (Picked unit)
                • Unit - Set level of Spell Damage Reduction for (Picked unit) to 3
                • Custom script: call DestroyGroup (udg_temp_group)
          • Else - Actions
            • Do nothing
        • Trigger - Turn on Barrier of Sauron Off <gen>

Trigger:
  • Barrier of Sauron Off
    • Events
      • Time - Every 2.00 seconds of game time
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Gothmog 0687 <gen> is dead) Equal to True
        • Then - Actions
          • Unit Group - Pick every unit in temp_group and do (Actions)
            • Loop - Actions
              • Unit - Remove Spell Damage Reduction from (Picked unit)
          • Custom script: call DestroyGroup (udg_temp_group)
          • Trigger - Destroy (This trigger)
        • Else - Actions
          • Unit Group - Pick every unit in temp_group and do (Actions)
            • Loop - Actions
              • Unit - Remove Spell Damage Reduction from (Picked unit)
          • Custom script: call DestroyGroup (udg_temp_group)
          • Set temp_group = (Units within 750.00 of (Position of Saruman the White 0116 <gen>) matching (((Matching unit) belongs to an ally of Player 7 (Green)) Equal to True))
          • Unit Group - Pick every unit in temp_group and do (Actions)
            • Loop - Actions
              • Unit - Add Spell Damage Reduction to (Picked unit)
              • Unit - Set level of Spell Damage Reduction for (Picked unit) to (Level of Spell Damage Reduction for Gothmog 0687 <gen>)
          • Unit Group - Destroy unit group OldUnitGroup
 
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