Exemple #1
0
    public void SetValues(MonsterData monsterData)
    {
        StatusValue statusValue = MonsterStatusData.GetStatusValue(monsterData.userMonster.monsterId, monsterData.userMonster.level);
        StatusValue status      = monsterData.GetStatus();

        this.SetPlusParameter(this.hpLabel, status.hp - statusValue.hp);
        this.SetPlusParameter(this.attackLabel, status.attack - statusValue.attack);
        this.SetPlusParameter(this.defenseLabel, status.defense - statusValue.defense);
        this.SetPlusParameter(this.magicAttackLabel, status.magicAttack - statusValue.magicAttack);
        this.SetPlusParameter(this.magicDefenseLabel, status.magicDefense - statusValue.magicDefense);
        this.SetPlusParameter(this.speedLabel, status.speed - statusValue.speed);
    }