Skip to content

Commit

Permalink
Update objects/obj_p_assra/Step_0.gml
Browse files Browse the repository at this point in the history
refactor: Add code suggestion to boarding

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
  • Loading branch information
KRdaMystic and sourcery-ai[bot] authored Dec 29, 2024
1 parent 8591580 commit c7e5d8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions objects/obj_p_assra/Step_0.gml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ if (boarding=true) and (board_cooldown>=0) and (instance_exists(target)) and (in
if ((target.owner = eFACTION.Chaos) and (obj_fleet.csm_exp=2)) or (target.owner = eFACTION.Tyranids) then boarding_disadvantage-=30;// Daemons, veteran CSM, tyranids

boarding_odds+=boarding_advantage+boarding_disadvantage;
boarding_odds=clamp(boarding_odds,0,100);
outcome_roll=floor(random(100))+1;


Expand Down

0 comments on commit c7e5d8d

Please sign in to comment.