// Constructor public NPCParam() { privateParams = PrivateParam.Default(); param = Param.Default(); abilitys = Abilitys.Default(); resistance = Resistance.Default(); regeneration = Regeneration.Default(); itemInventory = new ItemInventory(float.MaxValue, float.MaxValue); skillInventory = new SkillInventory(); buffInventory = new BuffInventory(); }
public static void SetDefault() { privateParams = PrivateParam.Default(); param = Param.Default(); abilitys = Abilitys.Default(); resistance = Resistance.Default(); regeneration = Regeneration.Default(); itemInventory = new ItemInventory(float.MaxValue, float.MaxValue); equipInventory = new EquipInventory(); skillInventory = new SkillInventory(); buffInventory = new BuffInventory(); professionInventory = new ProfessionInventory(); recipeInventory = new RecipeInventory(); hotBarInventory = new HotBarInventory(); }