• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Setting Boolean Level Field crash

Level 5
Joined
Mar 18, 2023
Messages
56
  • Lu Bu Presence percent
    • Events
      • Unit - A unit Gains a level
    • Conditions
      • (Level of "Who else seeks death?" Armor (Lu Bu) for (Triggering unit)) Greater than 0
      • (Hero level of (Triggering unit)) Equal to 12
    • Actions
      • Ability - Set Ability: (Unit: (Triggering unit)'s Ability with Ability Code: "Who else seeks death?" Armor (Lu Bu))'s Real Level Field: Armor Bonus ('Had1') of Level: 0 to (-1.00 x 0.33)
      • Ability - Set Ability: (Unit: (Triggering unit)'s Ability with Ability Code: "Who else seeks death?" Armor (Lu Bu))'s Boolean Level Field: Percent Bonus ('Had2') of Level: 0 to True
      • Unit - Increase level of "Who else seeks death?" Armor (Lu Bu) for (Triggering unit)
      • Unit - Decrease level of "Who else seeks death?" Armor (Lu Bu) for (Triggering unit)
This is just a negative armor aura but changing the Boolean for percentage makes it crash. I tried moving the Change Boolean Action to last and first for ordering and it still crashes. This thread is just curiosity on why it crashes. I know a simple fix would be having a copy of the aura, then make that one percentage base, and then swap the two once the condition is met. I'm assuming this is on blizzard end but it'd be nice if someone who is more experienced can confirm. Thank you ahead of time
 
it crashs because the game does not accept Ability Boolean Level Field. Use Set Integer Level Field instead with a integer level field for DataB/'xxx2' field like "Number of Targets Hit 'Ocl2'". DataB/'xxx2' field because the field you want to set is also a DataB/'xxx2' field
0 -> false
1 -> true
 
Last edited:
Top