mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-02-09 03:37:49 +03:00
Add Katina Friendly Fire Penalty tweak
This commit is contained in:
parent
fbc101958b
commit
7e53e72246
@ -993,6 +993,9 @@ void ActorAllRange_ApplyDamage(ActorAllRange* this) {
|
||||
if (gKaAllyKillCount < 2) {
|
||||
ActorAllRange_PlayMessage(gMsg_ID_18018, RCID_BILL);
|
||||
}
|
||||
if (CVarGetInteger("gKatinaPunishFF", 0) == 1 && gHitCount > 0) {
|
||||
gHitCount--;
|
||||
}
|
||||
gKaAllyKillCount++;
|
||||
}
|
||||
switch (this->aiType) {
|
||||
|
@ -446,6 +446,10 @@ void DrawEnhancementsMenu() {
|
||||
.tooltip = "Character heads are displayed inside Arwings in all cutscenes",
|
||||
.defaultValue = true
|
||||
});
|
||||
UIWidgets::CVarCheckbox("Score penalty on Katina Friendly Fire", "gKatinaPunishFF", {
|
||||
.tooltip = "Shooting down a friendly fighter on Katina reduces your score.",
|
||||
.defaultValue = false
|
||||
});
|
||||
|
||||
ImGui::EndMenu();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user