attack of Npc

addpart of tickAttackNpc function