Skip to content

Commit b33d0ca

Browse files
committed
- Fixed buster charged damage.
- Fixed Snow Shooter hp. - Retweeked Penguin RNG. - Fixed several shot projectile types.
1 parent 050c49c commit b33d0ca

File tree

8 files changed

+217
-111
lines changed

8 files changed

+217
-111
lines changed

XSharp/Engine/Consts.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public class Consts
160160

161161
public const int LEMON_DAMAGE = 2;
162162
public const int SEMI_CHARGED_DAMAGE = 4;
163-
public const int CHARGED_DAMAGE = 8;
163+
public const int CHARGED_DAMAGE = 6;
164164

165165
// Render
166166

XSharp/Engine/Entities/Enemies/Bosses/Penguin/Penguin.cs

Lines changed: 210 additions & 108 deletions
Large diffs are not rendered by default.

XSharp/Engine/Entities/Enemies/Bosses/Penguin/PenguinSnow.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ protected override void OnSpawn()
5757
Direction = Shooter.Direction;
5858
Origin = Shooter.Origin + (Shooter.Direction == Shooter.DefaultDirection ? -PENGUIN_SHOT_ORIGIN_OFFSET.X : PENGUIN_SHOT_ORIGIN_OFFSET.X, PENGUIN_SHOT_ORIGIN_OFFSET.Y);
5959
Invincible = true;
60+
ContactDamage = 0;
6061

6162
frameCounter = 0;
6263

XSharp/Engine/Entities/Enemies/Flammingle/FlammingleShot.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ protected override void OnSpawn()
4545

4646
CheckCollisionWithWorld = false;
4747
ContactDamage = Flammingle.SHOT_DAMAGE;
48+
Invincible = true;
4849
}
4950

5051
protected override void OnContactDamage(Player player)

XSharp/Engine/Entities/Enemies/RayBit/RayBitShot.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ protected override void OnSpawn()
6565

6666
CheckCollisionWithWorld = false;
6767
ContactDamage = 0;
68+
Invincible = true;
6869

6970
SetCurrentAnimationByName("Shot");
7071
}

XSharp/Engine/Entities/Enemies/SnowShooter/SnowShooter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class SnowShooter : Enemy, IStateEntity<SnowShooterState>
3737
Color.FromBgra(0xFF183028) // F
3838
};
3939

40-
public const int HEALTH = 10;
40+
public const int HEALTH = 8;
4141
public static readonly FixedSingle CONTACT_DAMAGE = 3;
4242
public static readonly Box HITBOX = ((0, 32), (-7, -17), (7, 17));
4343

XSharp/Engine/Entities/Enemies/SnowShooter/SnowShooterShot.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,6 @@ protected override void OnSpawn()
4545

4646
CheckCollisionWithWorld = false;
4747
ContactDamage = SnowShooter.SHOT_DAMAGE;
48+
Invincible = true;
4849
}
4950
}

XSharp/Engine/Entities/Enemies/Snowball/SnowballDebrisEffect.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ protected override void OnSpawn()
6565
KillOnOffscreen = true;
6666
Blinking = false;
6767

68-
SetCurrentAnimationByName(ANIMATION_NAMES[(int) debrisType]);
68+
SetCurrentAnimationByName(ANIMATION_NAMES[(int) debrisType]);
6969
}
7070

7171
protected override void OnThink()

0 commit comments

Comments
 (0)