Skip to content

Commit d50d9e4

Browse files
authored
Merge pull request Dawn-of-Light#386 from DigitalBox98/improved
Adjustment on keep lord auto-heal for low level BG
2 parents ded98ab + c69136a commit d50d9e4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

GameServer/ai/brain/Guards/Lord.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ public LordBrain() : base()
1515

1616
public override void Think()
1717
{
18-
if (Body != null && Body.Spells.Count == 0)
18+
// Add auto heal for lord above level 15
19+
if (Body != null && Body.Spells.Count == 0 && Body.Level>=15)
1920
{
2021
switch (Body.Realm)
2122
{

GameServer/keeps/Gameobjects/Guards/GameKeepGuard.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1269,7 +1269,7 @@ private static DBSpell LordBaseHealSpell
12691269
DBSpell spell = BaseHealSpell;
12701270
spell.CastTime = 2;
12711271
spell.Target = "Self";
1272-
spell.Value = 225;
1272+
spell.Value = -2.5; // 2.5% of caster health instead of constant value
12731273
if (GameServer.Instance.Configuration.ServerType != eGameServerType.GST_PvE)
12741274
spell.Uninterruptible = true;
12751275
return spell;

0 commit comments

Comments
 (0)