diff --git a/GameServer/ai/brain/Guards/Lord.cs b/GameServer/ai/brain/Guards/Lord.cs index 0c0f229d48..a7c6215c4c 100644 --- a/GameServer/ai/brain/Guards/Lord.cs +++ b/GameServer/ai/brain/Guards/Lord.cs @@ -15,26 +15,23 @@ public LordBrain() : base() public override void Think() { - if (GS.ServerProperties.Properties.KEEP_LORD_HEAL_ITSELF == true) - { - if (Body != null && Body.Spells.Count == 0) + // Add auto heal for lord above level 15 + if (Body != null && Body.Spells.Count == 0 && Body.Level>=15) + { + switch (Body.Realm) { - switch (Body.Realm) - { - case eRealm.None: - case eRealm.Albion: - Body.Spells.Add(GuardSpellDB.AlbLordHealSpell); - break; - case eRealm.Midgard: - Body.Spells.Add(GuardSpellDB.MidLordHealSpell); - break; - case eRealm.Hibernia: - Body.Spells.Add(GuardSpellDB.HibLordHealSpell); - break; - } + case eRealm.None: + case eRealm.Albion: + Body.Spells.Add(GuardSpellDB.AlbLordHealSpell); + break; + case eRealm.Midgard: + Body.Spells.Add(GuardSpellDB.MidLordHealSpell); + break; + case eRealm.Hibernia: + Body.Spells.Add(GuardSpellDB.HibLordHealSpell); + break; } } - base.Think(); } diff --git a/GameServer/keeps/Gameobjects/Guards/GameKeepGuard.cs b/GameServer/keeps/Gameobjects/Guards/GameKeepGuard.cs index 0c99345dfb..e4eeb131f5 100644 --- a/GameServer/keeps/Gameobjects/Guards/GameKeepGuard.cs +++ b/GameServer/keeps/Gameobjects/Guards/GameKeepGuard.cs @@ -1269,7 +1269,7 @@ private static DBSpell LordBaseHealSpell DBSpell spell = BaseHealSpell; spell.CastTime = 2; spell.Target = "Self"; - spell.Value = 225; + spell.Value = -2.5; // 2.5% of caster health instead of constant value if (GameServer.Instance.Configuration.ServerType != eGameServerType.GST_PvE) spell.Uninterruptible = true; return spell; diff --git a/GameServer/serverproperty/ServerProperties.cs b/GameServer/serverproperty/ServerProperties.cs index 38dad0c9f9..5d22ec1e3f 100644 --- a/GameServer/serverproperty/ServerProperties.cs +++ b/GameServer/serverproperty/ServerProperties.cs @@ -1479,13 +1479,6 @@ public static void InitProperties() #endregion #region KEEPS - - /// - /// Possibility for the Keep Lord to heal itself - /// - [ServerProperty("keeps", "keep_lord_heal_itself", "Possibility for the Keep Lord to heal itself", true)] - public static bool KEEP_LORD_HEAL_ITSELF; - /// /// Number of seconds between allowed LOS checks for keep guards ///