#W# Craft: Arms Lore now gives execptional armor 5 more resists. Weapons now cap at 25% DI, but Arms Lore can push it up to 35%. 1% Per 10 skill points.
This commit is contained in:
parent
0c1cf1b50f
commit
cc59a8ca72
5 changed files with 76 additions and 41 deletions
|
|
@ -608,7 +608,41 @@ namespace Server.Items
|
|||
|
||||
if (Core.AOS)
|
||||
{
|
||||
var bonus = (int)(from.Skills.ArmsLore.Value / 20);
|
||||
|
||||
for (var i = 0; i < bonus; i++)
|
||||
{
|
||||
switch (Utility.Random(5))
|
||||
{
|
||||
case 0:
|
||||
{
|
||||
PhysicalBonus++;
|
||||
break;
|
||||
}
|
||||
case 1:
|
||||
{
|
||||
FireBonus++;
|
||||
break;
|
||||
}
|
||||
case 2:
|
||||
{
|
||||
ColdBonus++;
|
||||
break;
|
||||
}
|
||||
case 3:
|
||||
{
|
||||
EnergyBonus++;
|
||||
break;
|
||||
}
|
||||
case 4:
|
||||
{
|
||||
PoisonBonus++;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
(tool as BaseRunicTool)?.ApplyAttributesTo(this);
|
||||
from.CheckSkill(SkillName.ArmsLore, 0, 100);
|
||||
}
|
||||
|
||||
return quality;
|
||||
|
|
|
|||
|
|
@ -670,7 +670,8 @@ public abstract partial class BaseWeapon
|
|||
|
||||
if (Quality == WeaponQuality.Exceptional)
|
||||
{
|
||||
Attributes.WeaponDamage = 35;
|
||||
Attributes.WeaponDamage = 25 + (int)(from.Skills.ArmsLore.Value / 10);
|
||||
from.CheckSkill(SkillName.ArmsLore, 0, 100);
|
||||
|
||||
if (Core.ML)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue