Skip to content

Commit f9e4bc2

Browse files
Update scr_battle_count.gml
1 parent e7f5175 commit f9e4bc2

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

scripts/scr_battle_count/scr_battle_count.gml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ function scr_battle_count(){
55
exit; // Exit the function if the counter doesn't exist
66
}
77

8-
// Check if the count is positive and a multiple of 5
9-
if (global.enemies_cleared_count > 0 && (global.enemies_cleared_count mod 2 == 0)) {
8+
// Check if the count is positive and a multiple of 4
9+
if (global.enemies_cleared_count > 0 && (global.enemies_cleared_count mod 4 == 0)) {
1010

11-
// --- ACTION TO PERFORM EVERY 5 CLEARS ---
11+
// --- ACTION TO PERFORM EVERY 4 CLEARS ---
1212

1313
// --- Randomly Choose Flavor Text ---
1414
var _num_options = 5; // <<< SET THIS to the number of text options below
@@ -58,9 +58,10 @@ function scr_battle_count(){
5858

5959
// --- Apply disposition bonuses (without clamping - as requested previously) ---
6060
if (instance_exists(obj_controller)) {
61-
obj_controller.disposition[eFACTION.Mechanicus] += 50;
62-
obj_controller.disposition[eFACTION.Ecclesiarchy] += 50;
63-
obj_controller.disposition[eFACTION.Inquisition] += 50;
61+
obj_controller.disposition[eFACTION.Imperium] += 8;
62+
obj_controller.disposition[eFACTION.Mechanicus] += 5;
63+
obj_controller.disposition[eFACTION.Ecclesiarchy] += 6;
64+
obj_controller.disposition[eFACTION.Inquisition] += 4;
6465
} else {
6566
log_error("obj_controller not found in check_purge_milestone!");
6667
}

0 commit comments

Comments
 (0)