mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Fixed a bug in NPC combat control that caused Gecko Skinning to appear in the perk selection window.
This commit is contained in:
Binary file not shown.
@@ -43,6 +43,7 @@ end
|
|||||||
procedure start begin
|
procedure start begin
|
||||||
if game_loaded and (sfall_ver_major >= 4) then begin
|
if game_loaded and (sfall_ver_major >= 4) then begin
|
||||||
set_perk_ranks(PERK_gecko_skinning_perk, 1);
|
set_perk_ranks(PERK_gecko_skinning_perk, 1);
|
||||||
|
set_perk_level(PERK_gecko_skinning_perk, 999); // prevent it from appearing in the perk selection window
|
||||||
controlMode := GetConfig("CombatControl", "Mode", 0);
|
controlMode := GetConfig("CombatControl", "Mode", 0);
|
||||||
if (controlMode > 2) then controlMode := 0;
|
if (controlMode > 2) then controlMode := 0;
|
||||||
if (controlMode > 0) then begin
|
if (controlMode > 0) then begin
|
||||||
|
|||||||
Reference in New Issue
Block a user