JustinFreitas
January 7th, 2022, 01:06
Hi.
One of my extension uses reported a bug with code that hasn't changed yet its behavior has broken in the past few days. I'm wondering if something in the update is affecting ActorManager5E.getAbilityScore() and ActorManager5E.getAbilityBonus() such that they no longer return the value in the NPC sheet for the CT node? Here's a screenshot:
50811
Here's the lines of code... the nodeCT in this case is an Air Elemental:
local nDexterity = ActorManager5E.getAbilityScore(nodeCT, "dexterity")
Debug.chat("ActorManager5E.getAbilityScore(nodeCT, 'dexterity')", nDexterity)
local nBonus = ActorManager5E.getAbilityBonus(nodeCT, "dexterity")
Debug.chat("ActorManager5E.getAbilityBonus(nodeCT, 'dexterity')", nBonus)
If something has changed that I need to take a different approach, please let me know.
Thanks,
Justin
One of my extension uses reported a bug with code that hasn't changed yet its behavior has broken in the past few days. I'm wondering if something in the update is affecting ActorManager5E.getAbilityScore() and ActorManager5E.getAbilityBonus() such that they no longer return the value in the NPC sheet for the CT node? Here's a screenshot:
50811
Here's the lines of code... the nodeCT in this case is an Air Elemental:
local nDexterity = ActorManager5E.getAbilityScore(nodeCT, "dexterity")
Debug.chat("ActorManager5E.getAbilityScore(nodeCT, 'dexterity')", nDexterity)
local nBonus = ActorManager5E.getAbilityBonus(nodeCT, "dexterity")
Debug.chat("ActorManager5E.getAbilityBonus(nodeCT, 'dexterity')", nBonus)
If something has changed that I need to take a different approach, please let me know.
Thanks,
Justin