v2.2.0: removed old boss health bar automatic bleeding behaviour
This commit is contained in:
@@ -173,8 +173,6 @@ public class BossHealthBar extends Component {
|
|||||||
shieldedHP.scale.x = health/(float)max;
|
shieldedHP.scale.x = health/(float)max;
|
||||||
rawShielding.scale.x = shield/(float)max;
|
rawShielding.scale.x = shield/(float)max;
|
||||||
|
|
||||||
if (hp.scale.x < 0.25f) bleed( true );
|
|
||||||
|
|
||||||
if (bleeding != blood.on){
|
if (bleeding != blood.on){
|
||||||
if (bleeding) skull.tint( 0xcc0000, 0.6f );
|
if (bleeding) skull.tint( 0xcc0000, 0.6f );
|
||||||
else skull.resetColor();
|
else skull.resetColor();
|
||||||
|
|||||||
Reference in New Issue
Block a user