Ejemplo n.º 1
0
    /// <summary>
    /// 簡易リセット
    /// </summary>
    public void Clear()
    {
#if DEMO
        this.format_  = Storage.FORMAT.BINARY;
        this.encrypt_ = false;
        this.backup_  = false;
#endif

        this.date           = System.DateTime.MinValue.ToBinary();
        this.count          = 0;
        this.saveAllyStatus = new SaveAllyStatus();
    }
Ejemplo n.º 2
0
    /// <summary>
    /// 簡易リセット
    /// </summary>
    public void Clear()
    {
#if DEMO
        this.format_  = Storage.FORMAT.BINARY;
        this.encrypt_ = false;
        this.backup_  = false;
#endif

        // キャラクターの名前
        this.SetCharacterName("");
        // 毒状態かどうか
        this.isPoisonState = this.IsPoisonState();
        // 痺れ状態かどうか
        this.isNumbnessState = this.IsNumbnessState();
        // キャラクターのレベル
        this.SetLevel(1);
        // 素早さ
        this.SetAgility(5);
        // 力
        this.SetPower(10);
        // 打たれ強さ
        this.SetStrikingStrength(10);
        // 魔法力
        this.SetMagicPower(10);
        // 攻撃力
        this.SetAttackPower(10);
        // 守備力
        this.SetDefencePower(10);
        // 最大HP
        this.SetMaxHp();
        // HP
        this.SetHp(1);
        // 最大MP
        this.SetMaxMp();
        // MP
        this.SetMp(1);
        //属性カット率
        this.SetCutFlame(0);
        this.SetCutThunder(0);
        this.SetCutIce(0);
        // 獲得経験値
        this.SetEarnedExperience(0);
        // 装備している武器
        this.SetEquipWeapon(null);
        // 装備している鎧
        this.SetEquipArmor(null);
        //装備しているアクセサリ
        this.SetEquipAccessory1(null);
        this.SetEquipAccessory2(null);
    }