Setting Boolean Level Field crash

Level 5
Joined
Mar 18, 2023
Messages
63
  • 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:
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
Ok it worked. Big thx!
 
Back
Top