the statud effect burning affects tiles

This commit is contained in:
Leonwang4234
2020-08-02 13:31:16 -07:00
parent f97d1eedee
commit d2bc2b07a9
3 changed files with 9 additions and 1 deletions

View File

@@ -131,6 +131,9 @@ public abstract class BulletType extends Content{
}
public void hitTile(Bullet b, Building tile){
if(status == StatusEffects.burning) {
Damage.createIncend(b.x, b.y, damage/10f, (int) damage/10);
}
hit(b);
}