Fixed batteries starting off empty in frag counter.

This commit is contained in:
Kiri 2023-09-08 18:42:45 -07:00
parent 7a0d71863b
commit bdf02090a5
2 changed files with 4 additions and 4 deletions

View File

@ -12,7 +12,7 @@
- ~~Brightmaps for caco plush~~ - ~~Brightmaps for caco plush~~
- ~~Set actual chance for caco plush spawn~~ - ~~Set actual chance for caco plush spawn~~
- ~~Caco plush sprite scaling~~ - ~~Caco plush sprite scaling~~
- ~~Frag counter in loadout starts with no battery~~
- Organize source_data - Organize source_data
- Frag counter in loadout starts with no battery

View File

@ -16,8 +16,8 @@ const HDLD_KIRI_GRETCHENCOUNTER = "kgc";
enum GretchenCounterStatus enum GretchenCounterStatus
{ {
KGC_BATTERY=0, KGC_BATTERY = 1,
KGC_ACTIVE=1 KGC_ACTIVE = 2
} }
class GretchenCounter : HDWeapon class GretchenCounter : HDWeapon
@ -316,9 +316,9 @@ class GretchenCounter : HDWeapon
override void InitializeWepStats(bool idfa) override void InitializeWepStats(bool idfa)
{ {
super.InitializeWepStats(idfa);
weaponstatus[KGC_BATTERY] = 20; weaponstatus[KGC_BATTERY] = 20;
weaponstatus[KGC_ACTIVE] = 0; weaponstatus[KGC_ACTIVE] = 0;
super.InitializeWepStats(idfa);
} }
override double WeaponBulk() override double WeaponBulk()