Feldzugkarte, Reise in 3D, Kampfstile der Gegner, Missio, inszenierte Heimkehr
Stand von main 8c62f0dd. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -479,7 +479,7 @@ namespace GladiatorIdle
|
||||
var a = Away!;
|
||||
Away = null;
|
||||
var r = RegionDef.Get(a.Region);
|
||||
bool ok = _rng.NextDouble() < a.Chance;
|
||||
bool ok = DevExpeditionOutcome ?? _rng.NextDouble() < a.Chance;
|
||||
// Lohn in "Siegen" der Region: weniger, als man in der Zeit selbst erkämpfen würde – Hauptlohn ist die Beute
|
||||
double fights = Adventures.Wins[a.Duration];
|
||||
double share = ok ? 1 : 0.5;
|
||||
@@ -605,6 +605,25 @@ namespace GladiatorIdle
|
||||
Emit(new GameEvent(won ? GameEventType.FightWon : GameEventType.FightLost, 0, 0, o.Enemy.NameKey));
|
||||
}
|
||||
|
||||
/// Gnadenstoß nach einem Sieg: Wahl wie das Publikum → +50 % Ruhm des Kampfs und Gunst +20;
|
||||
/// Gnade gegen den Wunsch → +10 % Ruhm, Gunst −15; Ende gegen den Wunsch → Gunst −15.
|
||||
/// Liefert den zusätzlichen Ruhm.
|
||||
public double ApplyMissio(bool mercy, bool crowdWanted, double fightFame)
|
||||
{
|
||||
double bonus = 0;
|
||||
if (mercy == crowdWanted) { bonus = fightFame * 0.5; Crowd = Math.Min(100, Crowd + 20); }
|
||||
else
|
||||
{
|
||||
if (mercy) bonus = fightFame * 0.1;
|
||||
Crowd = Math.Max(0, Crowd - 15);
|
||||
}
|
||||
FameRun += bonus;
|
||||
return bonus;
|
||||
}
|
||||
|
||||
/// Urteil des Publikums nach einer Niederlage: verschont → Erholung halbiert, sonst verdoppelt.
|
||||
public void ApplyVerdict(bool spared) => Recovery *= spared ? 0.5 : 2;
|
||||
|
||||
/// Lohn eines Sieges (Vorschau auf der Gegnerkarte).
|
||||
public (double Gold, double Fame, double Xp) RewardPreview(Offer o)
|
||||
{
|
||||
@@ -639,6 +658,9 @@ namespace GladiatorIdle
|
||||
/// Testlauf: direkt in Arena <paramref name="arena"/> (Kulisse prüfen).
|
||||
public void DevArena(int arena) { Arena = Math.Clamp(arena, 0, Balance.ARENA_COUNT - 1); Rank = 0; }
|
||||
|
||||
/// Testlauf: Ausgang der nächsten Expedition festlegen (null = Zufall).
|
||||
public bool? DevExpeditionOutcome { get; set; }
|
||||
|
||||
/// Testlauf: Freiheit sofort verdienen (Aufnahmen des Freiheits-Bildschirms).
|
||||
public void DevFreedom() => FreedomEarned = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user