Вот что имеем на официалке
Голый персонаж, Человек:
скиллы ни наодном уровне не изучались1 level OffP.atk = 4 (none) 6 (squire sword) 5 (dagger)
P.def =
72 (none) +1 (squire shirt) +1 (squire pants) --->
Overall=76Accuracy = 33
Critical =
33 (none) 88 (squire sword) 132 (dagger)
Atk.speed =
330 (none) 416 (squire sword) 476 (dagger)
M.atk = 3 (none) 2 (squire sword) 2 (dagger)
M.def = 47 (none)
Evasion = 33 (none)
Speed =
126 Casting speed = 213
Вот что имеем на Яве
1 level JavaP.atk = 4 (none) 6 (squire sword) 5 (dagger)
P.def =
64 (none) +30 (squire shirt p.def=33 ) +18 (squire pants p.def=20) --->
Overall=112Accuracy = 33
Critical =
0 (none) 88 (squire sword) 132 (dagger)
Atk.speed =
363 (none) 416 (squire sword) 476 (dagger)
M.atk = 1 (none) 2 (squire sword) 2 (dagger)
M.def = 47 (none)
Evasion = 33 (none)
Speed =
124 Casting speed = 213
Немного прокачались
3 level OffP.atk = 4 (none) 6 (squire sword) 5 (dagger)
P.def =
74 (none) +2 (squire shirt) +2 (squire pants) =
78Accuracy = 33
Critical =
36 (none) 88 (squire sword) 132 (dagger)
Atk.speed =
330 (none) 416 (squire sword) 476 (dagger)
M.atk = 3 (none) 2 (squire sword) 2 (dagger)
M.def = 48 (none)
Evasion = 36 (none)
Speed =
126 Casting speed = 213
3 level JavaP.atk = 4 (none) 6 (squire sword) 5 (dagger)
P.def =
66 (none) +30 (squire shirt) +18 (squire pants) =
115Accuracy = 35 (none)
Critical =
0 (none) 88 (squire sword) 132 (dagger)
Atk.speed =
363 (none) 416 (squire sword) 476 (dagger)
M.atk = 1 (none) 2 (squire sword) 2 (dagger)
M.def = 48 (none)
Evasion = 35 (none)
Speed =
124Casting speed = 213
Еще немного прокачаемся
7 level Off P.atk =??? (none) 6 (squire sword) 5 (dagger) 8 (bone dagger) 18 (short bow)
P.def =??? (none)
+2 (squire shirt) +2 (squire pants) +9 (leather pants) =
87Accuracy = 36 (39)
Critical =
33 (none) 88 (squire sword) 132 (dagger)
Atk.speed =
330 (none) 416 (squire sword) 476 (dagger)
M.atk = 3 (none) 3 (squire sword) 3 (dagger) 3 (bone dagger) 3 (short sword)
M.def = 50 (none) (apprentice ring) + (apprentice ring) + (apprentice necklace) =
66Evasion = 39 (none)
Speed =
126 Casting speed = 213
7 level JavaP.atk =??? (none) 6 (squire sword) 5 (dagger) 8 (bone dagger) 18 (short bow)
P.def =??? (none)
+2 (squire shirt) +2 (squire pants) +9 (leather pants) =
126Accuracy = 36 (39)
Critical =
0 (none) 88 (squire sword) 132 (dagger)
Atk.speed =
363 (none) 416 (squire sword) 476 (dagger)
M.atk = 3 (none) 3 (squire sword) 3 (dagger) 3 (bone dagger) 3 (short sword)
M.def = 50 (none) + (apprentice ring) + (apprentice ring) + (apprentice necklace) =
94Evasion = 39 (none)
Speed =
124 Casting speed = 213
КРАСНЫМ помечены расхождения ОФФ || ЯВА
Господа, неприятен тот факт, что никому это неинтересно, приходится подгонять параметры мобов в БД,
пропорционально дамагу. Или, попробовать подкорректировать формулы, собственно сейчас этим и занимаюсь.
Мне нужен саппорт, со стороны знатоков Явы.
netsfl2jgameservermodelactorstat <---- там есть файл CharStat.java, Я в нем не нашел формулы расчета P.def
Если, конечно, это оно и есть
но в комментарии этого кода написано
/** Return the PDef (base+modifier) of the L2Character. */
Вообще ничего непонимаю...
Буду рад любой поддержке.
public int getPDef(L2Character target) { return (int)calcStat(Stats.POWER_DEFENCE, (getActiveChar().isRaid()) ? getActiveChar().getTemplate().basePDef * Config.RAID_DEFENCE_MULTIPLIER : getActiveChar().getTemplate().basePDef, target, null); }