Skip to content

Commit 776b73f

Browse files
fix: Daemon artifact ship battle crash and a tip about destroying (#699)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent ba9fce0 commit 776b73f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/scr_arti_descr/scr_arti_descr.gml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ function scr_arti_descr() {
146146

147147
if (has_tag("MINOR")){other_data+="It is more crude and utilitarian than one might expect from an artifact.";}
148148
if (has_tag("chaos")){p4="It bears the taint of Chaos.";}
149-
if (has_tag("daemonic")){p4="It is infested with a Daemonic entity.";}
149+
if (has_tag("daemonic")){p4="It is infested with a Daemonic entity. Destroying it, may cause the entity to materialize.";}
150150

151151
final_description+=mission_data;
152152
if (basic_asthetic!="") then final_description+=$" {basic_asthetic}";

scripts/scr_ship_battle/scr_ship_battle.gml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ function scr_ship_battle(target_ship_id, cooridor_width) {
139139
}
140140
}
141141

142-
if ((unit.role() == obj_ini.role[100][5]) || (unit.role() == obj_ini.role[100][11]) || (obj_ncombat.role[cooh, va] == obj_ini.role[100][7])) {
142+
if ((unit.role() == obj_ini.role[100][5]) || (unit.role() == obj_ini.role[100][11]) || (unit.role() == obj_ini.role[100][7])) {
143143
if (unit.role() == obj_ini.role[100][5]) {
144144
obj_ncombat.captains += 1;
145145
if (obj_ncombat.big_mofo > 5) {

0 commit comments

Comments
 (0)