NPC Code: if (weaponfired) { this.tilesid={2047,116}; if (tiles[playerx,playery] in this.tilesid) { setplayerprop #c,this works; } }
if (weaponfired) { this.tilesid={2047,116}; if (tiles[playerx,playery] in this.tilesid) { setplayerprop #c,this works; } }