• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[General] Set Unit Weapon Integer Field bugged since last patch?

Status
Not open for further replies.
Level 12
Joined
May 16, 2020
Messages
660
Hi guys

This trigger is supposed to increase the HP, attack and bounty of specific creeps as the game progresses. The entire trigger worked correctly prior to the last patch. But I just noticed that "attack" is no longer behaving correctly.

Currently, the "at Index:0" does nothing; it doesn't increase the attack as it should. The "at Index:1" works, but it just adds the values instead of adjusting them.

Can anyone confirm they have the same issue?


  • Spawn 19 Mud Golem
    • Events
    • Conditions
    • Actions
      • Wait Creep_Wait seconds
      • Set VariableSet TempPoint[0] = (Center of Creeps 19 Scourge Golem <gen>)
      • -------- --------
      • Unit - Create 1 Mud Golem for Neutral Hostile at TempPoint[0] facing 315.00 degrees
      • Set VariableSet Creep_UnitTemp = (Last created unit)
      • Unit Group - Add Creep_UnitTemp to Creep_Group[19]
      • Unit - Add Creep Classification to Creep_UnitTemp
      • Unit - Set Max HP of Creep_UnitTemp to (Integer(((Max life of Creep_UnitTemp) x Creep_Multiplier)))
      • Unit - Set Unit: Creep_UnitTemp's Real Field: Hit Points ('uhpc') to Value: (Max life of Creep_UnitTemp)
      • Unit - Set Unit: Creep_UnitTemp's Weapon Integer Field: Attack Damage Base ('ua1b')at Index:0 to Value: (Integer(((Real((Base Damage of Creep_UnitTemp for weapon index 0))) x Creep_Multiplier)))
      • Unit - Set Unit: Creep_UnitTemp's Weapon Integer Field: Attack Damage Number Of Dice ('ua1d')at Index:0 to Value: (Integer(((Real((Dice Number of Creep_UnitTemp for weapon index 0))) x Creep_Multiplier)))
      • Unit - Set Unit: Creep_UnitTemp's Weapon Integer Field: Attack Damage Sides Per Die ('ua1s')at Index:0 to Value: (Integer(((Real((Dice Sides of Creep_UnitTemp for weapon index 0))) x Creep_Multiplier)))
      • Unit - Set Unit: Creep_UnitTemp's Integer Field: Gold Bounty Awarded - Base ('ubba') to Value: (Integer(((Real((Unit: Creep_UnitTemp's Integer Field: Gold Bounty Awarded - Base ('ubba')))) x Creep_Multiplier)))
      • Unit - Set Unit: Creep_UnitTemp's Integer Field: Gold Bounty Awarded - Number of Dice ('ubdi') to Value: (Integer(((Real((Unit: Creep_UnitTemp's Integer Field: Gold Bounty Awarded - Number of Dice ('ubdi')))) x Creep_Multiplier)))
      • Unit - Set Unit: Creep_UnitTemp's Integer Field: Gold Bounty Awarded - Sides per Die ('ubsi') to Value: (Integer(((Real((Unit: Creep_UnitTemp's Integer Field: Gold Bounty Awarded - Sides per Die ('ubsi')))) x Creep_Multiplier)))
      • Custom script: call RemoveLocation (udg_TempPoint[0])
 
Last edited:
Status
Not open for further replies.
Top