Restore fireballs going through fire
This commit is contained in:
parent
ec8992a0fc
commit
9e66bc46bb
@ -318,7 +318,9 @@ const TILE_TYPES = {
|
|||||||
// Hazards
|
// Hazards
|
||||||
fire: {
|
fire: {
|
||||||
draw_layer: LAYER_TERRAIN,
|
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) {
|
on_arrive(me, level, other) {
|
||||||
if (other.type.name === 'ice_block') {
|
if (other.type.name === 'ice_block') {
|
||||||
level.remove_tile(other);
|
level.remove_tile(other);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user