diff --git a/src/npc/boss/sisters.rs b/src/npc/boss/sisters.rs index 81222f4..d5ac522 100644 --- a/src/npc/boss/sisters.rs +++ b/src/npc/boss/sisters.rs @@ -106,16 +106,16 @@ impl BossNPC { *actr2 -= 1; } else if self.parts[0].action_counter < 60 { *actr2 -= 2; - } else if self.parts[0].action_counter < self.parts[0].action_counter2 { + } else if self.parts[0].action_counter < self.parts[0].action_counter3 { *actr2 -= 4; - } else if self.parts[0].action_counter < self.parts[0].action_counter2 + 40 { + } else if self.parts[0].action_counter < self.parts[0].action_counter3 + 40 { *actr2 -= 2; - } else if self.parts[0].action_counter < self.parts[0].action_counter2 + 60 { + } else if self.parts[0].action_counter < self.parts[0].action_counter3 + 60 { *actr2 -= 1; } else if self.parts[0].life >= 300 { self.parts[0].action_counter = 0; self.parts[0].action_num = 100; - *actr2 = self.parts[0].rng.range(400..700) as i16; + self.parts[0].action_counter3 = self.parts[0].rng.range(400..700) as u16; } else { self.parts[0].action_counter = 0; self.parts[0].action_num = 400; diff --git a/src/npc/boss/undead_core.rs b/src/npc/boss/undead_core.rs index ed75e46..ee7fe04 100644 --- a/src/npc/boss/undead_core.rs +++ b/src/npc/boss/undead_core.rs @@ -395,7 +395,7 @@ impl BossNPC { self.parts[2].action_counter3 = 128; self.parts[6] = self.parts[1].clone(); - self.parts[6].action_counter3 = 1; + self.parts[6].action_counter2 = 1; self.parts[7] = self.parts[1].clone(); self.parts[7].action_counter2 = 1;