Exemple #1
0
 public TensionBonus(int level, int threshold, BONUSTYPE bonus)
 {
     isActive     = false;
     barMulti     = level;
     barThreshold = threshold;
     type         = bonus;
 }
Exemple #2
0
 public TensionBonus()
 {
     isActive     = false;
     barMulti     = 1;
     barThreshold = 1;
     type         = BONUSTYPE.None;
 }
Exemple #3
0
    public TensionBonus(TensionBonus t)
    {
        isActive     = false;
        barMulti     = t.barMulti;
        barThreshold = t.barThreshold;
        type         = t.type;

        if (t.type == BONUSTYPE.NewWeapons)
        {
            newList          = t.newList;
            lowGradeRate     = t.lowGradeRate;
            midGradeRate     = t.midGradeRate;
            specialGradeRate = t.specialGradeRate;
        }
    }
Exemple #4
0
 public BonusDataInfo(BONUSTYPE type)
 {
     m_type = type;
 }
Exemple #5
0
    public static void InitBonusInfo(BONUSTYPE type)
    {
        BonusDataInfo curInfo = new BonusDataInfo(type);

        UIManager.ShowUI(UIInfo.BonusItemGetRoot, OnLoadBonusItemGetRoot, curInfo);
    }