Open igroglaz opened 4 years ago
@igroglaz Can you provide more details, or maybe an example? I'm out of context of this problem and do not understand how it works and what is expected.
In data file: https://raw.githubusercontent.com/igroglaz/srvmgr/master/postbuild/world/data.xml there is no entries for 'stone curse' and 'vampirism' properties for items. Eg, we have there 'fire damage' property:
<name>damageFire</name>
<manaCost>15</manaCost>
<affectMin>5</affectMin>
<affectMax>50</affectMax>
<usableBy>1</usableBy>
<in_WarriorWeapon>140</in_WarriorWeapon>
<in_WarriorShield>220</in_WarriorShield>
<in_WarriorNotUsed3>0</in_WarriorNotUsed3>
<in_WarriorRing>375</in_WarriorRing>
<in_WarriorAmulet>375</in_WarriorAmulet>
<in_WarriorHelm>375</in_WarriorHelm>
<in_WarriorMail>275</in_WarriorMail>
<in_WarriorCuirass>275</in_WarriorCuirass>
<in_WarriorBracers>275</in_WarriorBracers>
<in_WarriorGauntlets>275</in_WarriorGauntlets>
<in_WarriorNotUsed11>0</in_WarriorNotUsed11>
<in_WarriorBoots>475</in_WarriorBoots>
<in_MageWeapon>100</in_MageWeapon>
<in_MageNotUsed2>0</in_MageNotUsed2>
<in_MageNotUsed3>0</in_MageNotUsed3>
<in_MageRing>375</in_MageRing>
<in_MageAmulet>355</in_MageAmulet>
<in_MageHat>295</in_MageHat>
<in_MageRobe>195</in_MageRobe>
<in_MageCloak>195</in_MageCloak>
<in_MageNotUsed9>0</in_MageNotUsed9>
<in_MageGloves>195</in_MageGloves>
<in_MageNotUsed11>0</in_MageNotUsed11>
<in_MageShoes>395</in_MageShoes>
By changing it we could assign bonus Fire damage on warrior's weapons.
But there is not entry to Vampirism spell.. and as vampirism is one of the most imba properties on weapons - we can not rebalance it.
Stone curse already implemented by @WarBeginner https://github.com/igroglaz/srvmgr/commit/9a21a497c8fbf73e7ed3d4269f65bef9beede6e5
So there is a problem only with vampirism
in data file there is no 'stone curse' and 'vampirism' item's volume.. so we can not change certain items properties. we need to add such function.. to add it in data or just add some formulas to server code