• 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!

Amulets= Arm:0?

swevaman

New Member
Joined
Jun 18, 2013
Messages
38
Reaction score
0
bODgEpK.png


where in sources do I remove this?

using avesta

here is the part of the code this pertains to i think, if you need more let me know
else if(it.armor != 0 || it.abilities.absorb.any()){
if(it.showCharges){
if(subType > 1){
s << " that has " << (int32_t)subType << " charges left";
}
else{
s << " that has 1 charge left";
}
}

s << " (Arm:" << it.armor;

if(it.abilities.absorb.any()){
s << ", protection";
it.abilities.absorb.getDescription(s);
}
s << ").";
}
 
Last edited:
The fuck are you doing with that lol? You want armor on that shit? change from items.xml
example
XML:
<item id="2197" article="a" name="stone skin amulet">
		<attribute key="weight" value="760" />
		<attribute key="slotType" value="necklace" />
		<attribute key="charges" value="5" />
		<attribute key="showcharges" value="1" />
		<attribute key="absorbPercentPhysical" value="10" />
		<attribute key="absorbPercentDeath" value="10" />
		<attribute key="showattributes" value="1" />
	</item>
Add this and you are fine :P
XML:
<attribute key="armor" value="2" />
^ The armor is set to 0 here probably :P just delete the line and it should be fine :P
 
The fuck are you doing with that lol? You want armor on that shit? change from items.xml
example
XML:
<item id="2197" article="a" name="stone skin amulet">
		<attribute key="weight" value="760" />
		<attribute key="slotType" value="necklace" />
		<attribute key="charges" value="5" />
		<attribute key="showcharges" value="1" />
		<attribute key="absorbPercentPhysical" value="10" />
		<attribute key="absorbPercentDeath" value="10" />
		<attribute key="showattributes" value="1" />
	</item>
Add this and you are fine :P
XML:
<attribute key="armor" value="2" />
^ The armor is set to 0 here probably :P just delete the line and it should be fine :P
<item id="2197" article="a" name="stone skin amulet">
<attribute key="weight" value="760"/>
<attribute key="slotType" value="necklace"/>
<attribute key="charges" value="5"/>
<attribute key="showcharges" value="1"/>
<attribute key="absorbPercentPhysical" value="80"/>
</item>

It's a source code error and I don't know where to look!

- - - Updated - - -

fixed pls close
 
Back
Top