Mega Man 8-Bit Deathmatch Forum
[SUGGESTION] Power Generator + Buster Assists
MegaVile • October. 27, 2026, 8:47 PM
October. 27, 2026, 8:47 PM
Copy Link
Currently, assist icons for busters like Jet Adaptor and Rush Bike show their current ammo whenever you swap off of them, until they reach full.
This works fine, however with Power Generator, they disappear when they reach the pre-Generator ammo. I believe using GetAmmoCapacity would alleviate this.
OLD:
NEW:
This works fine, however with Power Generator, they disappear when they reach the pre-Generator ammo. I believe using GetAmmoCapacity would alleviate this.
OLD:
SetAssistBarBarAmount(idx, min(CheckActorInventory(tid, "JetMeter") + (CheckActorInventory(tid, "BoostFlag") * 1), 140), 140);
SetAssistBarBarAmount(idx, min(CheckActorInventory(tid, "RushBikeAmmo") + 1, 100), 100);
NEW:
SetAssistBarBarAmount(idx, min(CheckActorInventory(tid, "JetMeter") + (CheckActorInventory(tid, "BoostFlag") * 1), GetAmmoCapacity("JetMeter")), GetAmmoCapacity("JetMeter"));
SetAssistBarBarAmount(idx, min(CheckActorInventory(tid, "RushBikeAmmo") + 1, GetAmmoCapacity("RushBikeAmmo")), GetAmmoCapacity("RushBikeAmmo"));