Testing a 'iOS compatible' flag for script mods

This commit is contained in:
Anuken
2025-12-18 17:27:32 -05:00
parent 6a13f2ef08
commit 8e7eeb2573
7 changed files with 21 additions and 4 deletions

View File

@@ -636,6 +636,12 @@ public class BulletType extends Content implements Cloneable{
if(trailLength > 0 && b.trail != null && b.trail.size() > 0){
Fx.trailFade.at(b.x, b.y, trailWidth, trailColor, b.trail.copy());
}
//if the bullet never created any frags and is removed (probably by hitting something), it needs to spawn those
//TODO: disabled for now as this makes vanquish significantly more powerful
if(b.frags == 0 && !fragOnHit && fragBullet != null){
// createFrags(b, b.x, b.y);
}
}
public float buildingDamage(Bullet b){