• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

atributos nao funciona

BobbyHawk

New Member
Joined
Mar 2, 2017
Messages
12
Reaction score
1
I have created the Items but the Attributes does not work at all .. Help!
Exemplo:
Dados / Itens
<Item id = "2474" article = "a" name = "Dodge Helmet">
<Attribute key = "description" value = "+ 5% de Physical." -benzóico.
<Attribute key = "weight" value = "1000" />
<Attribute key = "armor" value = "15" />
<Attribute key = "slotType" value = "head" />
<Attribute key = "absorbPercentPhysical" value = "5" />
<Attribute key = "skillClub" value = "4" />
<Attribute key = "skillaxe" value = "4" />
<Attribute key = "skillsword" value = "4" />
</ Item>

Dados / Movimentos
<Movevent type = "Equip" itemid = "2474" slot = "head" level = "100" evento = "função" value = "onEquipItem">
<Vocation name = "Knight" />
<Vocation name = "Elite Knight" showInDescription = "0" />
</ Movevent>
<Movevent type = "DeEquip" itemid = "2474" slot = "head" evento = "função" value = "onDeEquipItem" />

23:09 Você vê um capacete de Dodge (braço: 15, luta de clube +4, luta de espada +4, luta de machado +4, proteção física + 5%).
Ele pesa 10,00 oz.
+ 5% de Física.
 
Last edited:
Solution
try
Code:
<movevent event="DeEquip" itemid="2474" slot="head" function="onDeEquipItem" />
    <movevent event="Equip" itemid="2474" slot="head" level="100" function="onEquipItem">
       <vocation name="Knight" />
      <vocation name="Elite Knight" showInDescription="0" />
    </movevent>
try
Code:
<movevent event="DeEquip" itemid="2474" slot="head" function="onDeEquipItem" />
    <movevent event="Equip" itemid="2474" slot="head" level="100" function="onEquipItem">
       <vocation name="Knight" />
      <vocation name="Elite Knight" showInDescription="0" />
    </movevent>
 
Solution
try
Code:
<movevent event="DeEquip" itemid="2474" slot="head" function="onDeEquipItem" />
    <movevent event="Equip" itemid="2474" slot="head" level="100" function="onEquipItem">
       <vocation name="Knight" />
      <vocation name="Elite Knight" showInDescription="0" />
    </movevent>
Thank you for everything, it worked.
 
Back
Top