NDEquipmentTemplates

From Legends of Aria Admin and Modding Wiki
Jump to: navigation, search

[Main] [Templates]

Example Equipment Template

Below is a sample armor template file.

<ObjectTemplate>
  <Name>[d9d9d9]Bone Helm[-]</Name>
	<ClientId>813</ClientId>
	<SharedStateEntry name="Variation" type="string" value="NoHue"/>
	<SharedStateEntry name="Weight" type="int" value="3"/>
	<ObjectVariableComponent>			
    		<DoubleVariable Name="MaxDurability">40</DoubleVariable>
    		<StringVariable Name="ArmorType">Bone</StringVariable>
    		<DoubleVariable Name="ArmorBonus">1</DoubleVariable>
	</ObjectVariableComponent>					
	<ScriptEngineComponent>
	        <LuaModule Name="set_initializer_variables">
	            <Initializer>
	            {
	                Enchants = { 
	                { essenceName = "CharredBones", essenceModifier = 5 },
	                }
	            }
	            </Initializer>
	        </LuaModule>
	    </ScriptEngineComponent>
</ObjectTemplate>