Difference between revisions of "Scripting itemstat types"

From Divinity Engine Wiki
Jump to: navigation, search
 
Line 1: Line 1:
 
This list is purely for values that can be used in script. More information on these values can be found [[Scripting#Variables|here]].<br />
 
This list is purely for values that can be used in script. More information on these values can be found [[Scripting#Variables|here]].<br />
The following itemstat types can be used in script:
+
It is advised to use the enumeration value instead of the integer representation because this list is subject to change. The following itemstat types can be used in script:
<ul>
+
<ol>
 
<li>Weight</li>
 
<li>Weight</li>
 
<li>Value</li>
 
<li>Value</li>
 
<li>Vitality</li>
 
<li>Vitality</li>
 
<li>VitalityPoints</li>
 
<li>VitalityPoints</li>
</ul>
+
<li>VitalityMax</li>
 +
<li>Level</li>
 +
<li>Movement</li>
 +
<li>PhysicalArmor</li>
 +
<li>PhysicalArmorPoints</li>
 +
<li>FireResistance</li>
 +
<li>EarthResistance</li>
 +
<li>WaterResistance</li>
 +
<li>AirResistance</li>
 +
<li>PoisonResistance</li>
 +
<li>PiercingResistance</li>
 +
<li>PhysicalReistance</li>
 +
<li>CorrosiveResistance</li>
 +
<li>MagicResistance</li>
 +
<li>ShadowResistance</li>
 +
<li>Initiative</li>
 +
<li>Willpower</li>
 +
<li>Bodybuilding</li>
 +
</ol>

Latest revision as of 09:12, 4 April 2018

This list is purely for values that can be used in script. More information on these values can be found here.
It is advised to use the enumeration value instead of the integer representation because this list is subject to change. The following itemstat types can be used in script:

  1. Weight
  2. Value
  3. Vitality
  4. VitalityPoints
  5. VitalityMax
  6. Level
  7. Movement
  8. PhysicalArmor
  9. PhysicalArmorPoints
  10. FireResistance
  11. EarthResistance
  12. WaterResistance
  13. AirResistance
  14. PoisonResistance
  15. PiercingResistance
  16. PhysicalReistance
  17. CorrosiveResistance
  18. MagicResistance
  19. ShadowResistance
  20. Initiative
  21. Willpower
  22. Bodybuilding