| | |
| | | Redpoint activeValueRedpoint = new Redpoint(EVERYDAY_REDPOINTID, ACTIVEVALUE_REDPOINT);
|
| | | public Redpoint LivenessRewardRedPoint = new Redpoint(EVERYDAY_REDPOINTID, LIVENESSREWARD_REDPOINTID);
|
| | |
|
| | | PrayerModel modelPray { get { return ModelCenter.Instance.GetModel<PrayerModel>(); } }
|
| | |
|
| | | int m_DailyQuestTotalActiveValue = 150;
|
| | | public int dailyQuestTotalActiveValue {
|
| | | get { return m_DailyQuestTotalActiveValue; }
|
| | |
| | | {
|
| | | return false;
|
| | | }
|
| | | switch ((DailyQuestType)id)
|
| | | switch ((DailyQuestType) id)
|
| | | {
|
| | | case DailyQuestType.Prayer:
|
| | | case DailyQuestType.Auction:
|
| | |
| | | break;
|
| | | case DailyQuestType.AllianceBoss:
|
| | | return DailyQuestState.Normal;
|
| | | }
|
| | |
|
| | | case DailyQuestType.Prayer:
|
| | | if (modelPray.GetAllCoinPrayCnt() == modelPray.coinPrayerCnt && modelPray.GetAllExpPrayCnt() == modelPray.expPrayerCnt)
|
| | | {
|
| | | return DailyQuestState.Completed;
|
| | | }
|
| | | break;
|
| | | }
|
| | |
|
| | | var completedTimes = GetDailyQuestCompletedTimes(_dailyQuestId);
|
| | | var totalTimes = GetDailyQuestTotalTimes(_dailyQuestId);
|