Skip to content

Commit 9624468

Browse files
committed
Rebalance tutorial enemies health
Rebalance player hp and damage taken
1 parent 2d293e6 commit 9624468

4 files changed

Lines changed: 12 additions & 12 deletions

File tree

Globals/Scribe.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public partial class Scribe : Node
1919
"Basic enemy note, deals damage to player.",
2020
null,
2121
null,
22-
4,
22+
1,
2323
(director, note, timing) =>
2424
{
2525
int dmg = (3 - (int)timing) * note.GetBaseVal();
@@ -60,7 +60,7 @@ public partial class Scribe : Node
6060
"Basic player note, heals player.",
6161
GD.Load<Texture2D>("res://Classes/Notes/Assets/Note_PlayerHeal.png"),
6262
null,
63-
4,
63+
1,
6464
(director, note, timing) =>
6565
{
6666
if (timing == Timing.Miss)
@@ -79,9 +79,9 @@ public partial class Scribe : Node
7979
{
8080
if (timing == Timing.Miss)
8181
return;
82-
int dmg = (int)timing * note.GetBaseVal();
82+
int dmg = (int)timing;
8383
director.Player.Heal(dmg);
84-
director.DealDamage(note, dmg, director.Player);
84+
director.DealDamage(note, dmg * note.GetBaseVal(), director.Player);
8585
}
8686
),
8787
new Note(
@@ -172,7 +172,7 @@ public partial class Scribe : Node
172172
{
173173
new RelicEffect(
174174
BattleEffectTrigger.OnPickup,
175-
10,
175+
15,
176176
(e, self, val) =>
177177
{
178178
StageProducer.PlayerStats.MaxHealth += val;
@@ -304,10 +304,10 @@ public partial class Scribe : Node
304304
{
305305
new RelicEffect(
306306
BattleEffectTrigger.OnBattleEnd,
307-
10,
307+
20,
308308
(e, self, val) =>
309309
{
310-
StageProducer.PlayerStats.CurrentHealth += val;
310+
e.BD.Player.Heal(val);
311311
}
312312
),
313313
}

Scenes/Puppets/Enemies/Effigy/P_Effigy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public partial class P_Effigy : EnemyPuppet
99

1010
public override void _Ready()
1111
{
12-
MaxHealth = 99;
12+
MaxHealth = 124;
1313
BaseMoney = 99;
1414
CurrentHealth = MaxHealth;
1515
base._Ready();

Scenes/Puppets/Enemies/Strawman/P_Strawman.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ public partial class P_Strawman : EnemyPuppet
1111

1212
public override void _Ready()
1313
{
14-
CurrentHealth = 15;
15-
MaxHealth = 15;
14+
CurrentHealth = 40;
15+
MaxHealth = 40;
1616
BaseMoney = 1;
1717
base._Ready();
1818

Scenes/Puppets/Scripts/PlayerStats.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ public partial class PlayerStats : Resource
77
{
88
public int Money = 0;
99

10-
public int MaxHealth = 125;
11-
public int CurrentHealth = 125;
10+
public int MaxHealth = 100;
11+
public int CurrentHealth = 100;
1212
public int MaxComboBar = 60;
1313
public int MaxComboMult = 25;
1414
public int NotesToIncreaseCombo = 4;

0 commit comments

Comments
 (0)