//回家 public virtual void OnEnterGoHome(NPCScriptBase _this, ObjNPC npc) { if (npc.TableNpc.LeaveFightAddBlood != 0) { npc.ResetAttribute(); } npc.RemoveCantMoveBuff(); }