Skip to content

Commit 3049303

Browse files
committed
Server Cleric cleanup
1 parent 8e67c4b commit 3049303

File tree

3 files changed

+0
-7
lines changed

3 files changed

+0
-7
lines changed

Assembly-CSharp/ClericAreaBuff.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,6 @@ public int GetPerTurnTechPointCost()
423423
// public override void Run(List<AbilityTarget> targets, ActorData caster, ServerAbilityUtils.AbilityRunData additionalData)
424424
// {
425425
// m_syncComp.Networkm_turnsAreaBuffActive++; // m_turnsAreaBuffActive in rogues
426-
// Log.Info($"ClericAreaBuff run: {m_syncComp.Networkm_turnsAreaBuffActive}");
427426
// }
428427

429428
// custom

Assembly-CSharp/ClericAreaBuffEffect.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ public override void OnTurnEnd()
6969
if (m_syncComp != null)
7070
{
7171
m_syncComp.Networkm_turnsAreaBuffActive++;
72-
Log.Info($"ClericAreaBuffEffect on turn end: {m_syncComp.Networkm_turnsAreaBuffActive}");
7372
}
7473
}
7574

@@ -97,7 +96,6 @@ public override void GatherEffectResults(ref EffectResults effectResults, bool i
9796
if (m_syncComp.m_turnsAreaBuffActive > 0)
9897
{
9998
// initial cast cost is handled by the ability itself
100-
Log.Info($"ClericAreaBuff effect cost: {m_ability.GetPerTurnTechPointCost()}");
10199
casterHitResults.AddTechPointLoss(m_ability.GetPerTurnTechPointCost());
102100
}
103101
if (m_ability.IncludeCaster())

Assembly-CSharp/Passive_Cleric.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ public override void OnResolveStart(bool hasAbilities, bool hasMovement)
3030

3131
if (!ServerActionBuffer.Get().HasStoredAbilityRequestOfType(Owner, typeof(ClericAreaBuff)))
3232
{
33-
Log.Info($"ClericAreaBuff cancelled, removing");
3433
RemoveAreaBuff(m_buffAbility.GetCooldownWhenBuffLapses());
3534
}
3635
}
@@ -42,7 +41,6 @@ public override void OnTurnStart()
4241

4342
if (!Owner.GetAbilityData().ValidateActionIsRequestableDisregardingQueuedActions(m_buffAbilityActionType))
4443
{
45-
Log.Info($"ClericAreaBuff depleted, removing");
4644
// It doesn't makes sense to check requestability before Cleric got his per-turn tech point regen
4745
RemoveAreaBuff(m_buffAbility.GetCooldownWhenBuffLapses());
4846
}
@@ -57,7 +55,6 @@ public override void OnTurnEnd()
5755
foreach (ActorData actorData in m_enemiesHitByBoneShatter)
5856
{
5957
float x = actorData.GetActorBehavior().GetMovementDeniedByActorThisTurn(Owner, true, false);
60-
Log.Info($"CLERIC denied {x} movement for {actorData}");
6158
movementDenied += x;
6259
}
6360
if (movementDenied > 0)
@@ -94,7 +91,6 @@ private void RemoveAreaBuff(int cooldown)
9491
if (m_syncComp != null)
9592
{
9693
m_syncComp.Networkm_turnsAreaBuffActive = 0;
97-
Log.Info($"ClericAreaBuff ended, reset to {m_syncComp.Networkm_turnsAreaBuffActive}");
9894
}
9995
}
10096
#endif

0 commit comments

Comments
 (0)