Changed the mode 1 of NPC combat control mod

* now requires sfall debugging mode to control all critters.
This commit is contained in:
NovaRain
2022-06-24 09:36:45 +08:00
parent cd91355896
commit dee28843ae
3 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ MotionScanner=0
[CombatControl]
;Allows you to directly control other critters in combat
;Set to 0 to disable
;Set to 1 to control all critters in combat
;Set to 1 to control all critters in combat (allowed only in sfall debugging mode)
;Set to 2 to control all party members
;Set to 3 to let you order party members to attack specified targets after your first attack instead of controlling them directly
Mode=0
Binary file not shown.
+3
View File
@@ -178,7 +178,10 @@ procedure start begin
if (controlMode >= 3) then begin
if (controlMode == 3) then metarule3(999, 0, 0, 0); // enable feature: order party members to attack a specified target
controlMode := 0;
end else if (controlMode == 1 and GetIniConfig("Debugging", "Enable", 0, "ddraw.ini") == 0) then begin
controlMode := 2;
end
if (controlMode > 0) then begin
displayName := GetConfig("CombatControl", "DisplayName", 0);