Skip to content

Commit

Permalink
fix: stability just workstm (#505)
Browse files Browse the repository at this point in the history
  • Loading branch information
MCPO-Spartan-117 authored Feb 23, 2025
1 parent 38c4c2d commit 9f5a49c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/scr_marine_struct/scr_marine_struct.gml
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,7 @@ function TTRPG_stats(faction, comp, mar, class = "marine", other_spawn_data={})
var mutation_names = struct_get_names(gene_seed_mutations)
for (var mute =0; mute <array_length(mutation_names); mute++){
if (gene_seed_mutations[$ mutation_names[mute]] == 0){
if(irandom(999)-10<obj_ini.stability){
if(irandom(999)<=(10-obj_ini.stability)){
gene_seed_mutations[$ mutation_names[mute]] = 1;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ function SpecialistPointHandler() constructor{
_cur_slave = _slaves[i];
if (_cur_slave.num>0){
_cur_slave.eta--;
if (irandom(100000)<obj_ini.stability*_cur_slave.num){
if (irandom(100000)<=(10-obj_ini.stability)*_cur_slave.num){
_cur_slave.num--;
_lost_gene_slaves++;
scr_add_item("Gene Pod Incubator");
Expand Down

0 comments on commit 9f5a49c

Please sign in to comment.