This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
item_meter_charge_type: 2-bit bitmask | |
bit 0 [0x1] | |
- if set: CTFPlayerShared::UpdateItemChargeMeters will passively recharge | |
- only if item has IHasGenericMeter as a base class | |
- only when item->ShouldUpdateMeter() returns true | |
- rate is based on: item_meter_charge_rate * mult_item_meter_charge_rate | |
- rate is also affected by item->GetMeterMultiplier() | |
bit 1 [0x2] | |
- if set: CTFPlayer::OnDealtDamage will recharge when dealing damage | |
- but not if: playing MvM mode and playing as pyro and weapon is in secondary slot |