May I ask here where do I find the character & class properties, whom determines the HP, ATK of a specific class type?
I found this by looking through the files and codes
then found this struct, which might get filled by the above entities.
Now, I'm wondering how this gets calculated - I can't find it in the source
some keywords I should definetly check out?
Firstly in touch with source since yesterday, but I should be fine with my C++ knowledge, just going to start a character simulator project to start with C# WPF
Edit:
I might found the calculation of MAX_HP but still looking for other attributes like Atk, Def, Blockrate,..
I found this by looking through the files and codes
Code:
// 직업에 따른 property를 설정하는 파일 // 공속 MaxHP관련 MaxMP관련 MaxFP관련 물리방어력관련 hp회복률관련 mp회복률관련 fp회복률관련 SWD AXE STAFF STICK KNUCKLE WAND BLOCKING YOYO CRITICAL JOB_VAGRANT 75.0 0.9 0.3 0.3 1.0 1.2 0.5 0.5 4.5 5.5 0.8 3.0 5.0 6.0 0.2 4.2 1.0 JOB_MERCENARY 80.0 1.5 0.5 0.7 1.35 1.6 0.5 1.0 4.5 5.5 0.8 3.0 5.0 6.0 0.8 4.2 1.0 JOB_ACROBAT 75.0 1.4 0.5 0.5 1.4 1.7 0.5 0.5 4.5 5.5 0.8 3.0 5.0 6.0 0.5 4.2 1.0 JOB_ASSIST 70.0 1.4 1.3 0.6 1.2 1.6 0.5 1.0 4.5 5.5 0.8 3.0 5.0 6.0 0.5 4.2 1.0 JOB_MAGICIAN 65.0 1.4 1.7 0.3 1.2 1.5 1.75 0.6 4.5 5.5 0.8 3.0 5.0 6.0 0.2 4.2 1.0 JOB_PUPPETEER 75.0 1.6 0.5 0.5 1.2 1.2 0.5 0.5 4.5 5.5 0.8 3.0 5.0 6.0 0.2 4.2 1.0 JOB_KNIGHT 60.0 2.0 0.6 0.9 1.8 2.1 0.5 1.4 4.5 5.5 0.8 3.0 5.0 6.0 1.0 4.2 1.0 JOB_BLADE 90.0 1.6 0.6 0.8 1.5 1.7 0.5 1.2 4.5 5.5 0.8 3.0 5.0 6.0 1.5 4.2 1.0 JOB_JESTER 85.0 1.6 0.5 0.7 1.6 2.0 0.7 0.5 4.5 5.5 0.8 3.0 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1.0 0.7 1.7 1.9 1.6 1.3 4.5 5.5 0.8 3.0 5.0 6.0 0.7 4.2 1.0 JOB_PSYCHIKEEPER_MASTER 70.0 1.5 2.0 0.4 1.3 1.2 1.9 0.5 4.5 5.5 0.8 3.0 5.0 6.0 0.3 4.2 1.0 JOB_ELEMENTOR_MASTER 70.0 1.5 2.0 0.4 1.3 1.2 2.0 0.5 4.5 5.5 0.8 3.0 5.0 6.0 0.3 4.2 1.0 JOB_KNIGHT_HERO 60.0 2.0 0.6 0.9 1.8 2.1 0.5 1.4 4.5 5.5 0.8 3.0 5.0 6.0 1.0 4.2 1.0 JOB_BLADE_HERO 90.0 1.6 0.6 0.8 1.5 1.7 0.5 1.2 4.5 5.5 0.8 3.0 5.0 6.0 1.5 4.2 1.0 JOB_JESTER_HERO 85.0 1.6 0.5 0.7 1.6 2.0 0.7 0.5 4.5 5.5 0.8 3.0 5.0 6.0 0.7 4.2 4.0 JOB_RANGER_HERO 75.0 1.6 0.5 0.6 1.5 1.8 1.3 0.5 4.5 5.5 0.8 3.0 5.0 6.0 0.3 4.2 1.0 JOB_RINGMASTER_HERO 70.0 1.6 1.8 0.4 1.2 2.3 1.9 1.1 4.5 5.5 0.8 3.0 5.0 6.0 0.6 4.2 1.0 JOB_BILLPOSTER_HERO 85.0 1.8 1.0 0.7 1.7 1.9 1.6 1.3 4.5 5.5 0.8 3.0 5.0 6.0 0.7 4.2 1.0 JOB_PSYCHIKEEPER_HERO 70.0 1.5 2.0 0.4 1.3 1.2 1.9 0.5 4.5 5.5 0.8 3.0 5.0 6.0 0.3 4.2 1.0 JOB_ELEMENTOR_HERO 70.0 1.5 2.0 0.4 1.3 1.2 2.0 0.5 4.5 5.5 0.8 3.0 5.0 6.0 0.3 4.2 1.0
then found this struct, which might get filled by the above entities.
Code:
struct JobProp
{
float fAttackSpeed; //공속
float fFactorMaxHP; //최대 HP 계산에 사용되는 factor
float fFactorMaxMP; //최대 MP 계산에 사용되는 factor
float fFactorMaxFP; //최대 FP 계산에 사용되는 factor
float fFactorDef; //물리 방어력 계산에 사용되는 factor
float fFactorHPRecovery; //HP회복 factor
float fFactorMPRecovery; //MP회복 factor
float fFactorFPRecovery; //FP회복 factor
float fMeleeSWD; //WT_MELEE_SWD의 ATK factor
float fMeleeAXE; //WT_MELEE_AXE의 ATK factor
float fMeleeSTAFF; //WT_MELEE_STAFF의 ATK factor
float fMeleeSTICK; //WT_MELEE_STICK의 ATK factor
float fMeleeKNUCKLE; //WT_MELEE_KNUCKLE의 ATK factor
float fMagicWAND; //WT_MAGIC_WAND의 ATK factor
float fBlocking; //블록킹 factor
float fMeleeYOYO; //요요의 ATK factor
float fCritical; //크리티컬 처리
};
some keywords I should definetly check out?
Firstly in touch with source since yesterday, but I should be fine with my C++ knowledge, just going to start a character simulator project to start with C# WPF
Edit:
I might found the calculation of MAX_HP but still looking for other attributes like Atk, Def, Blockrate,..
Code:
float a = (pProperty->fFactorMaxHP*m_nLevel)/2.0f; float b = a * ((m_nLevel+1.0f)/4.0f) * (1.0f + nSta/50.0f) + (nSta*10.0f) ; float maxHP = b + 80.f; return (int)maxHP;