Skip to content

Commit

Permalink
Update objects/obj_p_assra/Step_0.gml
Browse files Browse the repository at this point in the history
Co-authored-by: Nelsonh <[email protected]>
  • Loading branch information
KRdaMystic and OH296 authored Dec 30, 2024
1 parent c7e5d8d commit 78edd89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion objects/obj_p_assra/Step_0.gml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ if (boarding=true) and (board_cooldown>=0) and (instance_exists(target)) and (in
marine_bonus+=unit.experience/20;
marine_bonus+=(1-(target.hp/target.maxhp))*33; // if wounded marine will perform worse

var _weapons = [gear_weapon_data("weapon", unit.weapon_one()), gear_weapon_data("weapon", unit.weapon_two())];
var _weapons = [unit.get_weapon_one_data(), unit.get_weapon_two_data()];
if (_weapons[0] == "" && _weapons[1] == "") {
gear_bonus -= 10;
} else {
Expand Down

0 comments on commit 78edd89

Please sign in to comment.