CSCommon: MQuestFormula.h 소스 파일

MAIET

MQuestFormula.h

00001 #ifndef _MQUEST_FORMULA_H
00002 #define _MQUEST_FORMULA_H
00003 
00004 
00005 #include "winsock2.h"
00006 #include "MXml.h"
00007 
00010 class MQuestFormula
00011 {
00012 private:
00013 
00014 public:
00016     static bool Create(void);
00017 
00020     static int CalcQL(int nMinPlayerLevel);
00021 
00024     static int CalcQLD(int nQuestLevel);
00025 
00028     static int CalcLMT(int nQuestLevel);
00029 
00030     // NPC 난이도 조절 계수(TC, Toughness Coefficient)를 구한다.
00032     static float CalcTC(int nQuestLevel);
00033 
00034     // 경험치 보상 비율
00041     static void CalcRewardRate(float& foutXPRate, 
00042                                float& foutBPRate,
00043                                int nScenarioQL,
00044                                int nPlayerQL,
00045                                int nDeathCount,
00046                                int nUsedPageSacriItemCount,
00047                                int nUsedExtraSacriItemCount);
00048 };
00049 
00050 
00051 
00052 
00053 
00054 #endif


MAIET entertainment