Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
Joined: Sep 2017
Location: Brazil
Zerd Offline OP
journeyman
OP Offline
journeyman
Joined: Sep 2017
Location: Brazil
I'd like to make a simple request for Queries on Behaviour script that give access to maximum armor values. Currently, the only way to get those values is through using
Code
IF "c1&c2"
    CharacterGetStat(_Absolute, __Me, PhysicalArmorPoints)
    CharacterGetStat(_Percentage, __Me, PhysicalArmor)
THEN
   Set(_Maximum,_Absolute)
   Divide(_Maximum,_Percentage)

However, when the current armor is zero, a complex workaround using status might be used, but still, it looks like a simple characterstat parameter to add considering there already exists one that return the current absolute value.

Last edited by Zerd; 05/02/18 12:01 AM.
Joined: Nov 2017
Location: Ukraine
apprentice
Offline
apprentice
Joined: Nov 2017
Location: Ukraine
+1 to topic

Joined: Sep 2017
Location: Brazil
Zerd Offline OP
journeyman
OP Offline
journeyman
Joined: Sep 2017
Location: Brazil
About 2 years from that, but PhysicalArmorMax and MagicArmorMax are now a thing on Behavior. I'm not sure in which patch this was added, but I'm happy it was.

Code
CharacterGetStat(_MaxPA, __Me, PhysicalArmorMax)
CharacterGetStat(_MaxMA, __Me, MagicArmorMax)


Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.5