expand hidden def factors into item stats

This commit is contained in:
Hendrik Brummermann 2024-01-06 12:45:04 +01:00
parent 29c875b79c
commit 4bce49a8ce
7 changed files with 83 additions and 90 deletions

View file

@ -8,7 +8,7 @@
<description>You see a suit of barbarian armor. It's dirty and smelly, but still, rather strong.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="15"/>
<def value="30"/>
<min_level value="35"/>
</attributes>
<weight value="15.0"/>
@ -27,7 +27,7 @@
<description>You see a suit of black armor. Does it put you in a dark mood?</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="26"/>
<def value="52"/>
<min_level value="250"/>
</attributes>
<weight value="45.0"/>
@ -48,7 +48,7 @@
<description>You see a suit of blue armor. The colour is stunning azure.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="13"/>
<def value="26"/>
<min_level value="25"/>
</attributes>
<weight value="35.0"/>
@ -67,7 +67,7 @@
<description>You see a suit of chain armor. Perhaps even if you don't need it, you can sell it.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="6"/>
<def value="12"/>
<min_level value="7"/>
</attributes>
<weight value="45.0"/>
@ -86,7 +86,7 @@
<description>You see a suit of chaos armor. The reflecting contrasting colours make no sense to you.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="20"/>
<def value="40"/>
<min_level value="100"/>
</attributes>
<weight value="45.0"/>
@ -124,7 +124,7 @@
<description>You see a dwarvish armor. It's made with ingenuity and skill.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="17"/>
<def value="34"/>
<min_level value="50"/>
</attributes>
<weight value="40.0"/>
@ -143,7 +143,7 @@
<description>You see a suit of elvish armor. It's made from tree leaves! But somehow constructed to give strong defence.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="14"/>
<def value="28"/>
<min_level value="30"/>
</attributes>
<weight value="15.0"/>
@ -162,7 +162,7 @@
<description>You see a robust suit of enhanced chainmail. The links are closely spaced so even the sharpest point should not pierce it.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="7"/>
<def value="14"/>
<min_level value="7"/>
</attributes>
<weight value="45.0"/>
@ -181,7 +181,7 @@
<description>You see a suit of golden armor. It's made from the best materials with great attention to detail.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="16"/>
<def value="32"/>
<min_level value="40"/>
</attributes>
<weight value="45.0"/>
@ -200,7 +200,7 @@
<description>You see a valuable suit of golden chainmail. It is crafted from fine links of expensive metal.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="9"/>
<def value="18"/>
<min_level value="10"/>
</attributes>
<weight value="45.0"/>
@ -219,7 +219,7 @@
<description>You see a suit of ice armor, to protect even the coldest of hearts.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="19"/>
<def value="38"/>
<min_level value="85"/>
</attributes>
<weight value="35.0"/>
@ -240,7 +240,7 @@
<description>You see a suit of iron scale armor, whose rounded scales will protect you from many blows.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="8"/>
<def value="16"/>
<min_level value="10"/>
</attributes>
<weight value="45.0"/>
@ -259,7 +259,7 @@
<description>You see a worn suit of leather armor. It will provide only minimal protection.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="3"/>
<def value="6"/>
<undroppableondeath value="1"/>
<min_level value="0"/>
</attributes>
@ -279,7 +279,7 @@
<description>You see a leather cuirass, well made but still able to be pierced by sharp swords.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="4"/>
<def value="8"/>
<min_level value="1"/>
</attributes>
<weight value="15.0"/>
@ -298,7 +298,7 @@
<description>You see a suit of leather scale armor. The leather is toughened somehow for better protection.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="4"/>
<def value="8"/>
<min_level value="1"/>
</attributes>
<weight value="15.0"/>
@ -317,7 +317,7 @@
<description>You see a suit of magic plate armor. The steel is well tempered and the suit is very strong.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="24"/>
<def value="48"/>
<min_level value="160"/>
</attributes>
<weight value="45.0"/>
@ -340,7 +340,7 @@
<description>You see a strange suit of mainio armor. What it lacks in subtlety it makes up for with strength.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="22"/>
<def value="44"/>
<min_level value="130"/>
</attributes>
<weight value="45.0"/>
@ -360,7 +360,7 @@
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<unattainable/>
<attributes>
<def value="29"/>
<def value="58"/>
<min_level value="330"/>
</attributes>
<weight value="42.0"/>
@ -381,7 +381,7 @@
<description>You see a formidable pauldroned iron cuirass. The pauldrons (shoulder pieces) will protect your upper half.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="9"/>
<def value="18"/>
<min_level value="10"/>
</attributes>
<weight value="45.0"/>
@ -400,7 +400,7 @@
<description>You see a pauldroned leather cuirass. It was crafted to withstand minor attacks.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="5"/>
<def value="10"/>
<min_level value="5"/>
</attributes>
<weight value="15.0"/>
@ -419,7 +419,7 @@
<description>You see a suit of plate armor. You imagine it would be heavy but the steel is well tempered and the suit is very strong.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="10"/>
<def value="20"/>
<min_level value="13"/>
</attributes>
<weight value="45.0"/>
@ -438,7 +438,7 @@
<description>You see a suit of red armor. The colour is a striking crimson.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="12"/>
<def value="24"/>
<min_level value="20"/>
</attributes>
<weight value="45.0"/>
@ -457,7 +457,7 @@
<description>You see a suit of royal armor. This armor is fit for a king.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="25"/>
<def value="50"/>
<min_level value="250"/>
</attributes>
<weight value="45.0"/>
@ -480,7 +480,7 @@
<description>You see a suit of scale armor. It is not flexible like chain, but will be a better defense.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="7"/>
<def value="14"/>
<min_level value="7"/>
</attributes>
<weight value="45.0"/>
@ -499,7 +499,7 @@
<description>You see a scuba suit with a heavy helmet attached. It is dense enough to offer protection under the waves but of little use on land.</description>
<implementation class-name="games.stendhal.server.entity.item.LifeSupportGear"/>
<attributes>
<def value="15"/>
<def value="30"/>
<life_support value="water"/>
<min_level value="50"/>
</attributes>
@ -523,7 +523,7 @@
<description>You see a suit of shadow armor. It's hard to decide with what it is made, it is so dark.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="17"/>
<def value="34"/>
<min_level value="40"/>
</attributes>
<weight value="40.0"/>
@ -544,7 +544,7 @@
<description>You see a suit of stone armor. Swords will crumble if they try to pierce it.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="18"/>
<def value="36"/>
<min_level value="60"/>
</attributes>
<weight value="35.0"/>
@ -565,7 +565,7 @@
<description>You see a suit of studded armor. Some studs are loose or rusty but it is still fit for purpose.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="5"/>
<def value="10"/>
<min_level value="5"/>
</attributes>
<weight value="25.0"/>
@ -584,7 +584,7 @@
<description>You see a suit of xeno armor. The colours remind you of the xenocium hybrid creature.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="21"/>
<def value="42"/>
<min_level value="120"/>
</attributes>
<weight value="45.0"/>

View file

@ -8,7 +8,7 @@
<description>You see a black cloak. The last owner had black thoughts. Will you?</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="25"/>
<def value="37"/>
<min_level value="250"/>
</attributes>
<weight value="8.0"/>
@ -29,7 +29,7 @@
<description>You see a torn section from an enormous black dragon cloak. You're very lucky: the piece is just the right size for a human to wear.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="18"/>
<def value="27"/>
<min_level value="100"/>
</attributes>
<weight value="5.0"/>
@ -48,7 +48,7 @@
<description>You see a blue dragon cloak. The weave is tight and strong, though you wish the colour drew less attention.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="13"/>
<def value="19"/>
<min_level value="55"/>
</attributes>
<weight value="5.0"/>
@ -67,7 +67,7 @@
<description>You see a blue elf cloak. The material is thick and warm.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="8"/>
<def value="12"/>
<min_level value="15"/>
</attributes>
<weight value="5.0"/>
@ -86,7 +86,7 @@
<description>You see a fashionable blue striped cloak.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="7"/>
<def value="10"/>
<min_level value="10"/>
</attributes>
<weight value="5.0"/>
@ -105,7 +105,7 @@
<description>You see a bone dragon cloak. It's incredibly old, like its last owner.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="11"/>
<def value="16"/>
<min_level value="40"/>
</attributes>
<weight value="2.0"/>
@ -124,7 +124,7 @@
<description>You see a chaos cloak. The colours look like oil shimmering on a puddle.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="20"/>
<def value="30"/>
<min_level value="110"/>
</attributes>
<weight value="5.0"/>
@ -162,7 +162,7 @@
<description>You see a dwarf cloak. Apparently this passes for fashion in some parts, but to you it looks more functional than fashionable.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="4"/>
<def value="6"/>
<min_level value="3"/>
</attributes>
<weight value="5.0"/>
@ -181,7 +181,7 @@
<description>You see a white elf cloak. It doesn't look very warm.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="3"/>
<def value="4"/>
<min_level value="2"/>
</attributes>
<weight value="1.0"/>
@ -200,7 +200,7 @@
<description>You see an elvish cloak. The material is dark, but thick and warm.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="6"/>
<def value="9"/>
<min_level value="5"/>
</attributes>
<weight value="5.0"/>
@ -219,7 +219,7 @@
<description>You see a golden cloak. See how the light glistens off the gold, it is a prized possession.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="19"/>
<def value="28"/>
<min_level value="105"/>
</attributes>
<weight value="5.0"/>
@ -238,7 +238,7 @@
<description>You see a huge green dragon cloak. It's probably too big for you but, even dragging on the floor it will provide excellent protection.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="10"/>
<def value="15"/>
<min_level value="30"/>
</attributes>
<weight value="5.0"/>
@ -257,7 +257,7 @@
<description>You see a purple lich cloak. It's stained with blood - yours, from the previous undead owner, or perhaps the blood of his enemies...</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="11"/>
<def value="16"/>
<min_level value="40"/>
</attributes>
<weight value="2.0"/>
@ -276,7 +276,7 @@
<description>You see a magic cloak.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="23"/>
<def value="34"/>
<min_level value="175"/>
</attributes>
<weight value="8.0"/>
@ -299,7 +299,7 @@
<description>You see a mainio cloak. Its flashing colours are absurd! But you wear it because it's very well made.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="21"/>
<def value="31"/>
<min_level value="120"/>
</attributes>
<weight value="6.0"/>
@ -318,7 +318,7 @@
<description>You see a mithril cloak. Its weave is so fine and its looks are breathtaking.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="28"/>
<def value="42"/>
<min_level value="330"/>
</attributes>
<weight value="5.0"/>
@ -339,7 +339,7 @@
<description>You see a red cloak covered in polka dots. It's terribly snazzy.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="5"/>
<def value="7"/>
<min_level value="4"/>
</attributes>
<weight value="5.0"/>
@ -358,7 +358,7 @@
<description>You see a red dragon cloak. He didn't have one for a long time but finally caved in to peer pressure and got one.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="14"/>
<def value="21"/>
<min_level value="65"/>
</attributes>
<weight value="5.0"/>
@ -398,7 +398,7 @@
<description>You see a royal cloak. It will protect you against mighty foes.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="24"/>
<def value="36"/>
<min_level value="200"/>
</attributes>
<weight value="8.0"/>
@ -421,7 +421,7 @@
<description>You see a shadow cloak, in colours of the shadow armor.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="13"/>
<def value="19"/>
<min_level value="55"/>
</attributes>
<weight value="2.0"/>
@ -442,7 +442,7 @@
<description>You see a stone cloak. It's hard to tell how it was made, as the fibres look like narrow threads of mineral.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="9"/>
<def value="13"/>
<min_level value="18"/>
</attributes>
<weight value="5.0"/>
@ -463,7 +463,7 @@
<description>You see a vibrant red vampire cloak. Wearing it sends a shiver down your spine.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="12"/>
<def value="18"/>
<min_level value="50"/>
</attributes>
<weight value="2.0"/>
@ -482,7 +482,7 @@
<description>You see a xeno cloak. It's heavy and thick, giving you good protection.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="22"/>
<def value="33"/>
<min_level value="170"/>
</attributes>
<weight value="6.0"/>

View file

@ -269,7 +269,7 @@
<unattainable/>
<attributes>
<atk value="100"/>
<def value="100"/>
<def value="400"/>
<min_level value="0"/>
<rate value="2"/>
</attributes>

View file

@ -8,7 +8,7 @@
<description>You see a black shield. Its darkness will surely protect you.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="42"/>
<def value="168"/>
<min_level value="200"/>
</attributes>
<weight value="34.0"/>
@ -30,7 +30,7 @@
<description>You see a blue shield. It feels light in your hand but is strong enough for excellent protection.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="30"/>
<def value="120"/>
<min_level value="25"/>
</attributes>
<weight value="24.0"/>
@ -50,7 +50,7 @@
<description>You see a small buckler. It may protect you against swords and maces but against stronger weapons you do not trust it.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="6"/>
<def value="24"/>
<min_level value="0"/>
</attributes>
<weight value="12.0"/>
@ -70,7 +70,7 @@
<description>You see a chaos shield. Its charming appearance will fool your enemies.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="39"/>
<def value="156"/>
<min_level value="60"/>
</attributes>
<weight value="34.0"/>
@ -90,7 +90,7 @@
<description>You see a mighty crown shield. It is in perfect condition.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="24"/>
<def value="96"/>
<min_level value="15"/>
</attributes>
<weight value="24.0"/>
@ -110,7 +110,7 @@
<description>You see an elvish shield. It looks like one big tree leaf!</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="32"/>
<def value="128"/>
<min_level value="30"/>
</attributes>
<weight value="34.0"/>
@ -130,7 +130,7 @@
<description>An enhanced lion shield glints at you. It will defend you well.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="20"/>
<def value="80"/>
<min_level value="5"/>
</attributes>
<weight value="24.0"/>
@ -150,7 +150,7 @@
<description>You see a golden shield, could it be the ultimate in defence?</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="34"/>
<def value="136"/>
<min_level value="35"/>
</attributes>
<weight value="34.0"/>
@ -170,7 +170,7 @@
<description>You see a green dragon shield, scaly and strong.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="35"/>
<def value="140"/>
<min_level value="40"/>
</attributes>
<weight value="14.0"/>
@ -190,7 +190,7 @@
<description>You see a valuable lion shield. It is heavy enough to defend you against strong attacks.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="16"/>
<def value="64"/>
<min_level value="3"/>
</attributes>
<weight value="24.0"/>
@ -210,7 +210,7 @@
<description>You see a magic plate shield. It has a magical quality surrounding it.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="40"/>
<def value="160"/>
<min_level value="100"/>
</attributes>
<weight value="24.0"/>
@ -234,7 +234,7 @@
<description>You see a strange looking mainio shield. You have no idea what it's made of, but it seems to protect you well by distracting your enemies.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="37"/>
<def value="148"/>
<min_level value="50"/>
</attributes>
<weight value="34.0"/>
@ -254,7 +254,7 @@
<description>You see a mithril shield. You will most surely be protected.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="45"/>
<def value="180"/>
<min_level value="330"/>
</attributes>
<weight value="30.0"/>
@ -276,7 +276,7 @@
<description>You see a solid plate shield. It is in good condition, and might be worth a little.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="14"/>
<def value="56"/>
<min_level value="2"/>
</attributes>
<weight value="24.0"/>
@ -296,7 +296,7 @@
<description>You see a red shield. It is a stunning shade of scarlet.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="27"/>
<def value="108"/>
<min_level value="20"/>
</attributes>
<weight value="24.0"/>
@ -316,7 +316,7 @@
<description>You see a royal shield. It has a magical quality surrounding it.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="41"/>
<def value="164"/>
<min_level value="150"/>
</attributes>
<weight value="24.0"/>
@ -340,7 +340,7 @@
<description>You see a shadow shield. Rather than reflecting light, it seems to absorb it.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="36"/>
<def value="144"/>
<min_level value="45"/>
</attributes>
<weight value="34.0"/>
@ -362,7 +362,7 @@
<description>The face of a skull scowls at you from this fearsome skull shield.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="22"/>
<def value="88"/>
<min_level value="10"/>
</attributes>
<weight value="24.0"/>
@ -382,7 +382,7 @@
<description>You see a studded shield. It's a little dented but seems robust enough.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="12"/>
<def value="48"/>
<min_level value="1"/>
</attributes>
<weight value="15.0"/>
@ -402,7 +402,7 @@
<description>You see a unicorn shield. It's beautifully crafted and will give you excellent protection.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="18"/>
<def value="72"/>
<min_level value="4"/>
</attributes>
<weight value="24.0"/>
@ -424,7 +424,7 @@
<description>You see a wooden shield. It is made of cheap wood and heavily used. However, it still seems to offer you some kind of basic protection.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="10"/>
<def value="40"/>
<min_level value="0"/>
</attributes>
<weight value="12.0"/>
@ -444,7 +444,7 @@
<description>You see a lightweight but strong xeno shield, in the colours of the creature it was looted from.</description>
<implementation class-name="games.stendhal.server.entity.item.Item"/>
<attributes>
<def value="41"/>
<def value="164"/>
<min_level value="150"/>
</attributes>
<weight value="22.0"/>
@ -464,7 +464,7 @@
<description/>
<implementation class-name="games.stendhal.server.entity.item.StatusResistantItem"/>
<attributes>
<def value="40"/>
<def value="160"/>
<min_level value="100"/>
<statusresist slots="lhand;rhand;" type="poisoned" value="0.50"/>
</attributes>

View file

@ -527,7 +527,7 @@
<implementation class-name="games.stendhal.server.entity.item.Weapon"/>
<attributes>
<atk value="12"/>
<def value="2"/>
<def value="8"/>
<min_level value="80"/>
<rate value="3"/>
</attributes>
@ -655,7 +655,7 @@
<implementation class-name="games.stendhal.server.entity.item.Weapon"/>
<attributes>
<atk value="12"/>
<def value="2"/>
<def value="8"/>
<min_level value="80"/>
<rate value="3"/>
</attributes>

View file

@ -1,6 +1,10 @@
Changelog
---------
---------
1.45
*changes*
- look and website now show the effective def attribute (the hidden factors have been made transparent)
1.45

View file

@ -82,14 +82,6 @@ public abstract class RPEntity extends CombatEntity {
* The title attribute name.
*/
protected static final String ATTR_TITLE = "title";
private static final float WEAPON_DEF_MULTIPLIER = 4.0f;
private static final float BOOTS_DEF_MULTIPLIER = 1.0f;
private static final float LEG_DEF_MULTIPLIER = 1.0f;
private static final float HELMET_DEF_MULTIPLIER = 1.0f;
private static final float CLOAK_DEF_MULTIPLIER = 1.5f;
private static final float ARMOR_DEF_MULTIPLIER = 2.0f;
private static final float SHIELD_DEF_MULTIPLIER = 4.0f;
private static final float RING_DEF_MULTIPLIER = 1.0f;
private static Statistics stats;
protected static final int HIT_CHANCE_MULTIPLIER = 20;
@ -2826,10 +2818,7 @@ System.out.printf(" drop: %2d %2d\n", attackerRoll, defenderRoll);
weapon += weaponItem.getDefense() / getItemLevelModifier(weaponItem);
}
return SHIELD_DEF_MULTIPLIER * shield + ARMOR_DEF_MULTIPLIER * armor
+ CLOAK_DEF_MULTIPLIER * cloak + HELMET_DEF_MULTIPLIER * helmet
+ LEG_DEF_MULTIPLIER * legs + BOOTS_DEF_MULTIPLIER * boots
+ WEAPON_DEF_MULTIPLIER * weapon + RING_DEF_MULTIPLIER * ring;
return shield + armor + cloak + helmet + legs + boots + weapon + ring;
}
/**