Restore fireballs going through fire

This commit is contained in:
Eevee (Evelyn Woods) 2020-09-19 23:32:00 -06:00
parent ec8992a0fc
commit 9e66bc46bb

View File

@ -318,7 +318,9 @@ const TILE_TYPES = {
// Hazards
fire: {
draw_layer: LAYER_TERRAIN,
blocks_monsters: true,
blocks(me, level, other) {
return (other.type.is_monster && other.type.name !== 'fireball');
},
on_arrive(me, level, other) {
if (other.type.name === 'ice_block') {
level.remove_tile(other);