in previous commit: add @var to npc and use temp only in fighting