Example #1
0
    // 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();
    }
Example #2
0
    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();
    }