Modernization Fixes & Updates to Default Values (#3)
This commit is contained in:
parent
445eddff68
commit
dcf64091b1
768 changed files with 10507 additions and 14196 deletions
|
|
@ -377,7 +377,7 @@ namespace Server.Mobiles
|
|||
public void Stop()
|
||||
{
|
||||
m_Stop = true;
|
||||
Disturb(DisturbType.Hurt, false, false);
|
||||
Disturb(DisturbType.Hurt, false);
|
||||
}
|
||||
|
||||
public override bool CheckDisturb(DisturbType type, bool checkFirst, bool resistable)
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ namespace Server.Mobiles
|
|||
[Constructible]
|
||||
public FrenziedOstard(string name) : base(name, 0xDA, 0x3EA4, AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
{
|
||||
Hue = Utility.RandomHairHue() | 0x8000;
|
||||
Hue = Race.Human.RandomHairHue() | 0x8000;
|
||||
|
||||
BaseSoundID = 0x275;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using Server.Engines.Plants;
|
||||
using Server.Items;
|
||||
|
||||
|
|
@ -7,7 +8,7 @@ namespace Server.Mobiles
|
|||
{
|
||||
public class Hiryu : BaseMount
|
||||
{
|
||||
private static Hashtable m_Table = new Hashtable();
|
||||
private static Dictionary<Mobile, ExpireTimer> m_Table = new Dictionary<Mobile, ExpireTimer>();
|
||||
|
||||
[Constructible]
|
||||
public Hiryu()
|
||||
|
|
@ -175,7 +176,7 @@ namespace Server.Mobiles
|
|||
* Effect: Type: "3" - From: "0x57D4F5B" (player) - To: "0x0" - ItemId: "0x37B9" - ItemIdName: "glow" - FromLocation: "(1149 808, 32)" - ToLocation: "(1149 808, 32)" - Speed: "10" - Duration: "5" - FixedDirection: "True" - Explode: "False"
|
||||
*/
|
||||
|
||||
ExpireTimer timer = (ExpireTimer)m_Table[defender];
|
||||
ExpireTimer timer = m_Table[defender];
|
||||
|
||||
if (timer != null)
|
||||
{
|
||||
|
|
@ -257,4 +258,4 @@ namespace Server.Mobiles
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using Server.Engines.Plants;
|
||||
using Server.Items;
|
||||
|
||||
|
|
@ -7,7 +8,7 @@ namespace Server.Mobiles
|
|||
{
|
||||
public class LesserHiryu : BaseMount
|
||||
{
|
||||
private static Hashtable m_Table = new Hashtable();
|
||||
private static Dictionary<Mobile, ExpireTimer> m_Table = new Dictionary<Mobile, ExpireTimer>();
|
||||
|
||||
[Constructible]
|
||||
public LesserHiryu()
|
||||
|
|
@ -102,7 +103,7 @@ namespace Server.Mobiles
|
|||
|
||||
public override bool OverrideBondingReqs()
|
||||
{
|
||||
if (ControlMaster.Skills[SkillName.Bushido].Base >= 90.0)
|
||||
if (ControlMaster.Skills.Bushido.Base >= 90.0)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
|
@ -169,7 +170,7 @@ namespace Server.Mobiles
|
|||
* Effect: Type: "3" - From: "0x57D4F5B" (player) - To: "0x0" - ItemId: "0x37B9" - ItemIdName: "glow" - FromLocation: "(1149 808, 32)" - ToLocation: "(1149 808, 32)" - Speed: "10" - Duration: "5" - FixedDirection: "True" - Explode: "False"
|
||||
*/
|
||||
|
||||
ExpireTimer timer = (ExpireTimer)m_Table[defender];
|
||||
ExpireTimer timer = m_Table[defender];
|
||||
|
||||
if (timer != null)
|
||||
{
|
||||
|
|
@ -251,4 +252,4 @@ namespace Server.Mobiles
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,9 +11,9 @@ namespace Server.Mobiles
|
|||
public SeaHorse(string name) : base(name, 0x90, 0x3EB3, AIType.AI_Animal, FightMode.Aggressor, 10, 1, 0.2, 0.4)
|
||||
{
|
||||
InitStats(Utility.Random(50, 30), Utility.Random(50, 30), 10);
|
||||
Skills[SkillName.MagicResist].Base = 25.0 + Utility.RandomDouble() * 5.0;
|
||||
Skills[SkillName.Wrestling].Base = 35.0 + Utility.RandomDouble() * 10.0;
|
||||
Skills[SkillName.Tactics].Base = 30.0 + Utility.RandomDouble() * 15.0;
|
||||
Skills.MagicResist.Base = 25.0 + Utility.RandomDouble() * 5.0;
|
||||
Skills.Wrestling.Base = 35.0 + Utility.RandomDouble() * 10.0;
|
||||
Skills.Tactics.Base = 30.0 + Utility.RandomDouble() * 15.0;
|
||||
}
|
||||
|
||||
public SeaHorse(Serial serial) : base(serial)
|
||||
|
|
|
|||
|
|
@ -11,9 +11,9 @@ namespace Server.Mobiles
|
|||
public SilverSteed(string name) : base(name, 0x75, 0x3EA8, AIType.AI_Animal, FightMode.Aggressor, 10, 1, 0.2, 0.4)
|
||||
{
|
||||
InitStats(Utility.Random(50, 30), Utility.Random(50, 30), 10);
|
||||
Skills[SkillName.MagicResist].Base = 25.0 + Utility.RandomDouble() * 5.0;
|
||||
Skills[SkillName.Wrestling].Base = 35.0 + Utility.RandomDouble() * 10.0;
|
||||
Skills[SkillName.Tactics].Base = 30.0 + Utility.RandomDouble() * 15.0;
|
||||
Skills.MagicResist.Base = 25.0 + Utility.RandomDouble() * 5.0;
|
||||
Skills.Wrestling.Base = 35.0 + Utility.RandomDouble() * 10.0;
|
||||
Skills.Tactics.Base = 30.0 + Utility.RandomDouble() * 15.0;
|
||||
|
||||
ControlSlots = 1;
|
||||
Tamable = true;
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ namespace Server.Mobiles
|
|||
|
||||
if (p != null)
|
||||
{
|
||||
int chanceToCure = 10000 + (int)(Skills[SkillName.Magery].Value * 75) -
|
||||
int chanceToCure = 10000 + (int)(Skills.Magery.Value * 75) -
|
||||
(p.Level + 1) * (Core.AOS ? p.Level < 4 ? 3300 : 3100 : 1750);
|
||||
chanceToCure /= 100;
|
||||
|
||||
|
|
|
|||
|
|
@ -11,10 +11,10 @@ namespace Server.Mobiles
|
|||
|
||||
InitStats(Utility.Random(22, 13), Utility.Random(16, 6), Utility.Random(16, 5));
|
||||
|
||||
Skills[SkillName.Wrestling].Base = Utility.Random(24, 17);
|
||||
Skills[SkillName.Tactics].Base = Utility.Random(18, 14);
|
||||
Skills[SkillName.MagicResist].Base = Utility.Random(15, 6);
|
||||
Skills[SkillName.Poisoning].Base = Utility.Random(31, 20);
|
||||
Skills.Wrestling.Base = Utility.Random(24, 17);
|
||||
Skills.Tactics.Base = Utility.Random(18, 14);
|
||||
Skills.MagicResist.Base = Utility.Random(15, 6);
|
||||
Skills.Poisoning.Base = Utility.Random(31, 20);
|
||||
|
||||
Fame = Utility.Random(0, 1249);
|
||||
Karma = Utility.Random(0, -624);
|
||||
|
|
|
|||
|
|
@ -10,9 +10,9 @@ namespace Server.Mobiles
|
|||
|
||||
InitStats(10, Utility.Random(25, 16), 10);
|
||||
|
||||
Skills[SkillName.Wrestling].Base = 6;
|
||||
Skills[SkillName.Tactics].Base = 6;
|
||||
Skills[SkillName.MagicResist].Base = 5;
|
||||
Skills.Wrestling.Base = 6;
|
||||
Skills.Tactics.Base = 6;
|
||||
Skills.MagicResist.Base = 5;
|
||||
|
||||
Fame = Utility.Random(0, 1249);
|
||||
Karma = Utility.Random(0, -624);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue