Fixed batteries starting off empty in frag counter.
This commit is contained in:
parent
7a0d71863b
commit
bdf02090a5
2
TODO.md
2
TODO.md
@ -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
|
|
||||||
|
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user