animate noPass
This commit is contained in:
parent
b8c6a4fdf7
commit
c848ca8c13
@ -89,9 +89,7 @@ maps.prototype.addInfo = function (block) {
|
|||||||
block.event.trigger = 'getItem';
|
block.event.trigger = 'getItem';
|
||||||
}
|
}
|
||||||
if (!core.isset(block.event.noPass)) {
|
if (!core.isset(block.event.noPass)) {
|
||||||
if (block.event.cls.indexOf("enemy")==0 || block.event.cls.indexOf("npc")==0 || block.event.cls=='terrains' || block.event.cls=='autotile') {
|
block.event.noPass = true;
|
||||||
block.event.noPass = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if (!core.isset(block.event.animate)) {
|
if (!core.isset(block.event.animate)) {
|
||||||
if (block.event.cls=='enemys' || block.event.cls=='npcs') {
|
if (block.event.cls=='enemys' || block.event.cls=='npcs') {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user