celestian
April 20th, 2020, 17:54
Okay... I am trying to get a value of a node "hitDice" and the return is "hitDice" not the value of the node.
if this:
local _, nodeNPC = ActorManager.getTypeAndNodeName(rSource);
Debug.console("manager_action_damage","getTable48HitDiceVsImmunity","nodeNPC",nodeNPC);
Runtime Notice: s'manager_action_damage' | s'getTable48HitDiceVsImmunity' | s'nodeNPC' | s'combattracker.list.id-00004'
..
<combattracker>
<public />
<list>
<public />
<id-00004>
...
<hitDice type="string">4+1</hitDice>
...
local sHitDiceString = DB.getValue(nodeNPC, "hitDice");
Debug.console("manager_action_damage","getTable48HitDiceVsImmunity","sHitDiceString",sHitDiceString);
How the heck can I get this:
Runtime Notice: s'manager_action_damage' | s'getTable48HitDiceVsImmunity' | s'sHitDiceString' | s'hitDice'
if this:
local _, nodeNPC = ActorManager.getTypeAndNodeName(rSource);
Debug.console("manager_action_damage","getTable48HitDiceVsImmunity","nodeNPC",nodeNPC);
Runtime Notice: s'manager_action_damage' | s'getTable48HitDiceVsImmunity' | s'nodeNPC' | s'combattracker.list.id-00004'
..
<combattracker>
<public />
<list>
<public />
<id-00004>
...
<hitDice type="string">4+1</hitDice>
...
local sHitDiceString = DB.getValue(nodeNPC, "hitDice");
Debug.console("manager_action_damage","getTable48HitDiceVsImmunity","sHitDiceString",sHitDiceString);
How the heck can I get this:
Runtime Notice: s'manager_action_damage' | s'getTable48HitDiceVsImmunity' | s'sHitDiceString' | s'hitDice'