optimize attack and summon animations