Update flavor text and balance some stuff
This commit is contained in:
@@ -158,10 +158,10 @@ namespace KernelPanic.Combat
|
||||
if (operation == PythonOperation.Update && python.automation) low = high = 5;
|
||||
if (operation != PythonOperation.Zip) repeats = python.repeats;
|
||||
}
|
||||
if (operation is PythonOperation.Loop or PythonOperation.Cinnamon or PythonOperation.Unattended)
|
||||
if (operation is PythonOperation.Loop or PythonOperation.Cinnamon or PythonOperation.Unattended or PythonOperation.Shield)
|
||||
{
|
||||
int shieldBase = operation == PythonOperation.Cinnamon && python.damageBefore ? 5 : effect.Amount;
|
||||
int shieldRepeats = operation == PythonOperation.Cinnamon ? python.repeats : 1;
|
||||
int shieldRepeats = operation is PythonOperation.Cinnamon or PythonOperation.Shield ? python.repeats : 1;
|
||||
hasShield = true;
|
||||
int shieldValue = ScaledShield(shieldBase, sourceFlat, magnitude, lazy, combat);
|
||||
for (int i = 0; i < shieldRepeats; i++) targetShield = CardScaling.Add(targetShield, shieldValue);
|
||||
|
||||
Reference in New Issue
Block a user