mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Changed the mode 1 of NPC combat control mod
* now requires sfall debugging mode to control all critters.
This commit is contained in:
@@ -33,7 +33,7 @@ MotionScanner=0
|
|||||||
[CombatControl]
|
[CombatControl]
|
||||||
;Allows you to directly control other critters in combat
|
;Allows you to directly control other critters in combat
|
||||||
;Set to 0 to disable
|
;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 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
|
;Set to 3 to let you order party members to attack specified targets after your first attack instead of controlling them directly
|
||||||
Mode=0
|
Mode=0
|
||||||
|
|||||||
Binary file not shown.
@@ -178,7 +178,10 @@ procedure start begin
|
|||||||
if (controlMode >= 3) then 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
|
if (controlMode == 3) then metarule3(999, 0, 0, 0); // enable feature: order party members to attack a specified target
|
||||||
controlMode := 0;
|
controlMode := 0;
|
||||||
|
end else if (controlMode == 1 and GetIniConfig("Debugging", "Enable", 0, "ddraw.ini") == 0) then begin
|
||||||
|
controlMode := 2;
|
||||||
end
|
end
|
||||||
|
|
||||||
if (controlMode > 0) then begin
|
if (controlMode > 0) then begin
|
||||||
displayName := GetConfig("CombatControl", "DisplayName", 0);
|
displayName := GetConfig("CombatControl", "DisplayName", 0);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user