- changed title to [beta] Most NPCs that inherit from BaseHumanoid have identical stats
[beta] Most NPCs that inherit from BaseHumanoid have identical stats
Currently most characters that inherit from `BaseHumanoid` (most of the NPCs in the game) have the same stats. This is caused by the sValue
attribute of the <stat>
tag overriding any subsequent Value
attributes of tags in children.
Example from ObjectBlueprints.xml
:
<object Name="BaseHumanoid" Inherits="Humanoid">
<stat Name="Strength" sValue="14,1d3,(t)d1" />
<stat Name="Agility" sValue="14,1d3,(t)d1" />
<stat Name="Toughness" sValue="14,1d3,(t)d1" />
<stat Name="Intelligence" sValue="14,1d3,(t)d1" />
<stat Name="Willpower" sValue="14,1d3,(t)d1" />
<stat Name="Ego" sValue="14,1d3,(t)d1" />
</object>
<object Name="ElderBob" Inherits="NPC">
<stat Name="Intelligence" Value="26" />
<stat Name="Willpower" Value="32" />
<stat Name="Ego" Value="28" />
</object>
Loading a new character in Joppa and wishing swap
to Elder Irudad, then displaying his stats, shows stats derived from the first block of XML, not the second (stats are still boosted by level).
Comments (12)
-
reporter -
-
assigned issue to
-
assigned issue to
-
- changed status to open
-
repo owner -
assigned issue to
-
assigned issue to
-
repo owner Issue
#4185was marked as a duplicate of this issue. -
repo owner Issue
#4205was marked as a duplicate of this issue. -
repo owner Issue
#5263was marked as a duplicate of this issue. -
repo owner Issue
#5648was marked as a duplicate of this issue. -
repo owner Issue
#5753was marked as a duplicate of this issue. -
repo owner Issue
#5984was marked as a duplicate of this issue. -
repo owner - changed milestone to blueprints
-
repo owner - changed version to 1.0
- Log in to comment