Сообщений: 9 
	Тем: 4 
	Зарегистрирован: Apr 2015
	
 Репутация: 
 0
	 
 
	
	
		не моуг никак понять, как работают статы dex, _int, con, win, men.  
Возьмем в пример:
 Цитата:    private static final double[] STRCompute = new double[]{1.036, 34.845}; //{1.016, 28.515}; for C1 
    private static final double[] INTCompute = new double[]{1.020, 31.375}; //{1.020, 31.375}; for C1 
    private static final double[] DEXCompute = new double[]{1.009, 19.360}; //{1.009, 19.360}; for C1 
    private static final double[] WITCompute = new double[]{1.050, 20.000}; //{1.050, 20.000}; for C1 
    private static final double[] CONCompute = new double[]{1.030, 27.632}; //{1.015, 12.488}; for C1 
    private static final double[] MENCompute = new double[]{1.010, -0.060}; //{1.010, -0.060}; for C1 
1.036, 34.845 
1.009, 19.360 
1.050, 20.000 
1.030, 27.632 
1.010, -0.060 что это такое? И как идёт вычисление? Меняю значения, ничего не происходит. К примеру поставил С1, чтобы проверить, тоже самое, никаких изменений. 
 
Подскажите, как правильно менять значения и как они работают? Спасибо.
 
Тоже самое и в таблице char_templates. Меняю pAtk на 5000, получаю 2680. (Это у Хуман файтера). Пока этот базовый класс беру в пример.
	  
	
	
	
	
 
 
	
	
	
		
	Сообщений: 240 
	Тем: 21 
	Зарегистрирован: Apr 2008
	
 Репутация: 
 109
	 
 
	
	
		pindossia Написал:не моуг никак понять, как работают статы dex, _int, con, win, men.  
 
Возьмем в пример: 
 
 
 
1.036, 34.845 
1.009, 19.360 
1.050, 20.000 
1.030, 27.632 
1.010, -0.060 что это такое? И как идёт вычисление? Меняю значения, ничего не происходит. К примеру поставил С1, чтобы проверить, тоже самое, никаких изменений.  
 
 
Подскажите, как правильно менять значения и как они работают? Спасибо. 
 
 
Тоже самое и в таблице char_templates. Меняю pAtk на 5000, получаю 2680. (Это у Хуман файтера). Пока этот базовый класс беру в пример. 
формула видимо там где-то есть
	  
	
	
	
	
 
 
	
	
	
		
	Сообщений: 2,454 
	Тем: 53 
	Зарегистрирован: Apr 2010
	
 Репутация: 
 19,728
	 
 
	
	
		Код: //STR bonus 
str_bonus_begin 
    attribute_1 = -70 
    attribute_2 = -69 
    attribute_3 = -68 
    attribute_4 = -66 
    attribute_5 = -65 
    attribute_6 = -64 
    attribute_7 = -63 
    attribute_8 = -61 
    attribute_9 = -60 
    attribute_10 = -58 
    attribute_11 = -57 
    attribute_12 = -55 
    attribute_13 = -54 
    attribute_14 = -52 
    attribute_15 = -50 
    attribute_16 = -49 
    attribute_17 = -47 
    attribute_18 = -45 
    attribute_19 = -43 
    attribute_20 = -41 
    attribute_21 = -39 
    attribute_22 = -37 
    attribute_23 = -34 
    attribute_24 = -32 
    attribute_25 = -29 
    attribute_26 = -27 
    attribute_27 = -24 
    attribute_28 = -22 
    attribute_29 = -19 
    attribute_30 = -16 
    attribute_31 = -13 
    attribute_32 = -10 
    attribute_33 = -6 
    attribute_34 = -3 
    attribute_35 = 1 
    attribute_36 = 4 
    attribute_37 = 8 
    attribute_38 = 12 
    attribute_39 = 16 
    attribute_40 = 20 
    attribute_41 = 24 
    attribute_42 = 29 
    attribute_43 = 33 
    attribute_44 = 38 
    attribute_45 = 43 
    attribute_46 = 48 
    attribute_47 = 54 
    attribute_48 = 59 
    attribute_49 = 65 
    attribute_50 = 71 
    attribute_51 = 77 
    attribute_52 = 83 
    attribute_53 = 90 
    attribute_54 = 97 
    attribute_55 = 104 
    attribute_56 = 111 
    attribute_57 = 119 
    attribute_58 = 127 
    attribute_59 = 135 
    attribute_60 = 143 
    attribute_61 = 152 
    attribute_62 = 161 
    attribute_63 = 171 
    attribute_64 = 180 
    attribute_65 = 191 
    attribute_66 = 201 
    attribute_67 = 212 
    attribute_68 = 223 
    attribute_69 = 235 
    attribute_70 = 247 
    attribute_71 = 259 
    attribute_72 = 272 
    attribute_73 = 286 
    attribute_74 = 299 
    attribute_75 = 314 
    attribute_76 = 329 
    attribute_77 = 344 
    attribute_78 = 360 
    attribute_79 = 377 
    attribute_80 = 394 
    attribute_81 = 412 
    attribute_82 = 430 
    attribute_83 = 449 
    attribute_84 = 469 
    attribute_85 = 489 
    attribute_86 = 511 
    attribute_87 = 533 
    attribute_88 = 555 
    attribute_89 = 579 
    attribute_90 = 603 
    attribute_91 = 629 
    attribute_92 = 655 
    attribute_93 = 682 
    attribute_94 = 710 
    attribute_95 = 739 
    attribute_96 = 770 
    attribute_97 = 801 
    attribute_98 = 833 
    attribute_99 = 867 
str_bonus_end 
 
//INT bonus 
int_bonus_begin 
    attribute_1 = -45 
    attribute_2 = -44 
    attribute_3 = -43 
    attribute_4 = -42 
    attribute_5 = -41 
    attribute_6 = -39 
    attribute_7 = -38 
    attribute_8 = -37 
    attribute_9 = -36 
    attribute_10 = -35 
    attribute_11 = -33 
    attribute_12 = -32 
    attribute_13 = -31 
    attribute_14 = -29 
    attribute_15 = -28 
    attribute_16 = -26 
    attribute_17 = -25 
    attribute_18 = -23 
    attribute_19 = -22 
    attribute_20 = -20 
    attribute_21 = -19 
    attribute_22 = -17 
    attribute_23 = -15 
    attribute_24 = -14 
    attribute_25 = -12 
    attribute_26 = -10 
    attribute_27 = -8 
    attribute_28 = -6 
    attribute_29 = -5 
    attribute_30 = -3 
    attribute_31 = -1 
    attribute_32 = 1 
    attribute_33 = 3 
    attribute_34 = 5 
    attribute_35 = 7 
    attribute_36 = 10 
    attribute_37 = 12 
    attribute_38 = 14 
    attribute_39 = 16 
    attribute_40 = 19 
    attribute_41 = 21 
    attribute_42 = 23 
    attribute_43 = 26 
    attribute_44 = 28 
    attribute_45 = 31 
    attribute_46 = 34 
    attribute_47 = 36 
    attribute_48 = 39 
    attribute_49 = 42 
    attribute_50 = 45 
    attribute_51 = 47 
    attribute_52 = 50 
    attribute_53 = 53 
    attribute_54 = 57 
    attribute_55 = 60 
    attribute_56 = 63 
    attribute_57 = 66 
    attribute_58 = 69 
    attribute_59 = 73 
    attribute_60 = 76 
    attribute_61 = 80 
    attribute_62 = 83 
    attribute_63 = 87 
    attribute_64 = 91 
    attribute_65 = 95 
    attribute_66 = 99 
    attribute_67 = 102 
    attribute_68 = 107 
    attribute_69 = 111 
    attribute_70 = 115 
    attribute_71 = 119 
    attribute_72 = 124 
    attribute_73 = 128 
    attribute_74 = 133 
    attribute_75 = 137 
    attribute_76 = 142 
    attribute_77 = 147 
    attribute_78 = 152 
    attribute_79 = 157 
    attribute_80 = 162 
    attribute_81 = 167 
    attribute_82 = 173 
    attribute_83 = 178 
    attribute_84 = 184 
    attribute_85 = 189 
    attribute_86 = 195 
    attribute_87 = 201 
    attribute_88 = 207 
    attribute_89 = 213 
    attribute_90 = 219 
    attribute_91 = 226 
    attribute_92 = 232 
    attribute_93 = 239 
    attribute_94 = 246 
    attribute_95 = 253 
    attribute_96 = 260 
    attribute_97 = 267 
    attribute_98 = 274 
    attribute_99 = 282 
int_bonus_end 
 
//CON Bonus 
con_bonus_begin 
    attribute_1 = -54 
    attribute_2 = -53 
    attribute_3 = -52 
    attribute_4 = -50 
    attribute_5 = -49 
    attribute_6 = -47 
    attribute_7 = -46 
    attribute_8 = -44 
    attribute_9 = -42 
    attribute_10 = -41 
    attribute_11 = -39 
    attribute_12 = -37 
    attribute_13 = -35 
    attribute_14 = -33 
    attribute_15 = -31 
    attribute_16 = -29 
    attribute_17 = -27 
    attribute_18 = -25 
    attribute_19 = -23 
    attribute_20 = -20 
    attribute_21 = -18 
    attribute_22 = -15 
    attribute_23 = -13 
    attribute_24 = -10 
    attribute_25 = -7 
    attribute_26 = -5 
    attribute_27 = -2 
    attribute_28 = 1 
    attribute_29 = 4 
    attribute_30 = 7 
    attribute_31 = 10 
    attribute_32 = 14 
    attribute_33 = 17 
    attribute_34 = 21 
    attribute_35 = 24 
    attribute_36 = 28 
    attribute_37 = 32 
    attribute_38 = 36 
    attribute_39 = 40 
    attribute_40 = 44 
    attribute_41 = 48 
    attribute_42 = 53 
    attribute_43 = 58 
    attribute_44 = 62 
    attribute_45 = 67 
    attribute_46 = 72 
    attribute_47 = 77 
    attribute_48 = 83 
    attribute_49 = 88 
    attribute_50 = 94 
    attribute_51 = 100 
    attribute_52 = 106 
    attribute_53 = 112 
    attribute_54 = 118 
    attribute_55 = 125 
    attribute_56 = 131 
    attribute_57 = 138 
    attribute_58 = 145 
    attribute_59 = 153 
    attribute_60 = 160 
    attribute_61 = 168 
    attribute_62 = 176 
    attribute_63 = 184 
    attribute_64 = 193 
    attribute_65 = 202 
    attribute_66 = 211 
    attribute_67 = 220 
    attribute_68 = 230 
    attribute_69 = 240 
    attribute_70 = 250 
    attribute_71 = 260 
    attribute_72 = 271 
    attribute_73 = 282 
    attribute_74 = 294 
    attribute_75 = 306 
    attribute_76 = 318 
    attribute_77 = 330 
    attribute_78 = 343 
    attribute_79 = 356 
    attribute_80 = 370 
    attribute_81 = 384 
    attribute_82 = 399 
    attribute_83 = 414 
    attribute_84 = 429 
    attribute_85 = 445 
    attribute_86 = 461 
    attribute_87 = 478 
    attribute_88 = 496 
    attribute_89 = 513 
    attribute_90 = 532 
    attribute_91 = 551 
    attribute_92 = 570 
    attribute_93 = 590 
    attribute_94 = 611 
    attribute_95 = 633 
    attribute_96 = 654 
    attribute_97 = 677 
    attribute_98 = 700 
    attribute_99 = 724 
con_bonus_end 
 
//MEN bonus 
men_bonus_begin 
    attribute_1 = 1 
    attribute_2 = 2 
    attribute_3 = 3 
    attribute_4 = 4 
    attribute_5 = 5 
    attribute_6 = 6 
    attribute_7 = 7 
    attribute_8 = 8 
    attribute_9 = 9 
    attribute_10 = 11 
    attribute_11 = 12 
    attribute_12 = 13 
    attribute_13 = 14 
    attribute_14 = 15 
    attribute_15 = 16 
    attribute_16 = 17 
    attribute_17 = 19 
    attribute_18 = 20 
    attribute_19 = 21 
    attribute_20 = 22 
    attribute_21 = 23 
    attribute_22 = 25 
    attribute_23 = 26 
    attribute_24 = 27 
    attribute_25 = 28 
    attribute_26 = 30 
    attribute_27 = 31 
    attribute_28 = 32 
    attribute_29 = 34 
    attribute_30 = 35 
    attribute_31 = 36 
    attribute_32 = 38 
    attribute_33 = 39 
    attribute_34 = 40 
    attribute_35 = 42 
    attribute_36 = 43 
    attribute_37 = 45 
    attribute_38 = 46 
    attribute_39 = 48 
    attribute_40 = 49 
    attribute_41 = 50 
    attribute_42 = 52 
    attribute_43 = 53 
    attribute_44 = 55 
    attribute_45 = 57 
    attribute_46 = 58 
    attribute_47 = 60 
    attribute_48 = 61 
    attribute_49 = 63 
    attribute_50 = 65 
    attribute_51 = 66 
    attribute_52 = 68 
    attribute_53 = 70 
    attribute_54 = 71 
    attribute_55 = 73 
    attribute_56 = 75 
    attribute_57 = 76 
    attribute_58 = 78 
    attribute_59 = 80 
    attribute_60 = 82 
    attribute_61 = 84 
    attribute_62 = 85 
    attribute_63 = 87 
    attribute_64 = 89 
    attribute_65 = 91 
    attribute_66 = 93 
    attribute_67 = 95 
    attribute_68 = 97 
    attribute_69 = 99 
    attribute_70 = 101 
    attribute_71 = 103 
    attribute_72 = 105 
    attribute_73 = 107 
    attribute_74 = 109 
    attribute_75 = 111 
    attribute_76 = 113 
    attribute_77 = 115 
    attribute_78 = 117 
    attribute_79 = 120 
    attribute_80 = 122 
    attribute_81 = 124 
    attribute_82 = 126 
    attribute_83 = 129 
    attribute_84 = 131 
    attribute_85 = 133 
    attribute_86 = 135 
    attribute_87 = 138 
    attribute_88 = 140 
    attribute_89 = 143 
    attribute_90 = 145 
    attribute_91 = 147 
    attribute_92 = 150 
    attribute_93 = 152 
    attribute_94 = 155 
    attribute_95 = 158 
    attribute_96 = 160 
    attribute_97 = 163 
    attribute_98 = 165 
    attribute_99 = 168 
men_bonus_end 
 
//DEX bonus 
dex_bonus_begin 
    attribute_1 = -15 
    attribute_2 = -14 
    attribute_3 = -14 
    attribute_4 = -13 
    attribute_5 = -12 
    attribute_6 = -11 
    attribute_7 = -10 
    attribute_8 = -10 
    attribute_9 = -9 
    attribute_10 = -8 
    attribute_11 = -7 
    attribute_12 = -6 
    attribute_13 = -6 
    attribute_14 = -5 
    attribute_15 = -4 
    attribute_16 = -3 
    attribute_17 = -2 
    attribute_18 = -1 
    attribute_19 = 0 
    attribute_20 = 1 
    attribute_21 = 1 
    attribute_22 = 2 
    attribute_23 = 3 
    attribute_24 = 4 
    attribute_25 = 5 
    attribute_26 = 6 
    attribute_27 = 7 
    attribute_28 = 8 
    attribute_29 = 9 
    attribute_30 = 10 
    attribute_31 = 11 
    attribute_32 = 12 
    attribute_33 = 13 
    attribute_34 = 14 
    attribute_35 = 15 
    attribute_36 = 16 
    attribute_37 = 17 
    attribute_38 = 18 
    attribute_39 = 19 
    attribute_40 = 20 
    attribute_41 = 21 
    attribute_42 = 22 
    attribute_43 = 24 
    attribute_44 = 25 
    attribute_45 = 26 
    attribute_46 = 27 
    attribute_47 = 28 
    attribute_48 = 29 
    attribute_49 = 30 
    attribute_50 = 32 
    attribute_51 = 33 
    attribute_52 = 34 
    attribute_53 = 35 
    attribute_54 = 36 
    attribute_55 = 38 
    attribute_56 = 39 
    attribute_57 = 40 
    attribute_58 = 41 
    attribute_59 = 43 
    attribute_60 = 44 
    attribute_61 = 45 
    attribute_62 = 47 
    attribute_63 = 48 
    attribute_64 = 49 
    attribute_65 = 51 
    attribute_66 = 52 
    attribute_67 = 53 
    attribute_68 = 55 
    attribute_69 = 56 
    attribute_70 = 57 
    attribute_71 = 59 
    attribute_72 = 60 
    attribute_73 = 62 
    attribute_74 = 63 
    attribute_75 = 65 
    attribute_76 = 66 
    attribute_77 = 68 
    attribute_78 = 69 
    attribute_79 = 71 
    attribute_80 = 72 
    attribute_81 = 74 
    attribute_82 = 75 
    attribute_83 = 77 
    attribute_84 = 78 
    attribute_85 = 80 
    attribute_86 = 82 
    attribute_87 = 83 
    attribute_88 = 85 
    attribute_89 = 87 
    attribute_90 = 88 
    attribute_91 = 90 
    attribute_92 = 92 
    attribute_93 = 93 
    attribute_94 = 95 
    attribute_95 = 97 
    attribute_96 = 99 
    attribute_97 = 100 
    attribute_98 = 102 
    attribute_99 = 104 
dex_bonus_end 
 
//WIT bonus 
wit_bonus_begin 
    attribute_1 = -60 
    attribute_2 = -58 
    attribute_3 = -56 
    attribute_4 = -54 
    attribute_5 = -52 
    attribute_6 = -49 
    attribute_7 = -47 
    attribute_8 = -44 
    attribute_9 = -42 
    attribute_10 = -39 
    attribute_11 = -36 
    attribute_12 = -32 
    attribute_13 = -29 
    attribute_14 = -25 
    attribute_15 = -22 
    attribute_16 = -18 
    attribute_17 = -14 
    attribute_18 = -9 
    attribute_19 = -5 
    attribute_20 = 0 
    attribute_21 = 5 
    attribute_22 = 10 
    attribute_23 = 16 
    attribute_24 = 22 
    attribute_25 = 28 
    attribute_26 = 34 
    attribute_27 = 41 
    attribute_28 = 48 
    attribute_29 = 55 
    attribute_30 = 63 
    attribute_31 = 71 
    attribute_32 = 80 
    attribute_33 = 89 
    attribute_34 = 98 
    attribute_35 = 108 
    attribute_36 = 118 
    attribute_37 = 129 
    attribute_38 = 141 
    attribute_39 = 153 
    attribute_40 = 165 
    attribute_41 = 179 
    attribute_42 = 193 
    attribute_43 = 207 
    attribute_44 = 223 
    attribute_45 = 239 
    attribute_46 = 256 
    attribute_47 = 273 
    attribute_48 = 292 
    attribute_49 = 312 
    attribute_50 = 332 
    attribute_51 = 354 
    attribute_52 = 376 
    attribute_53 = 400 
    attribute_54 = 425 
    attribute_55 = 452 
    attribute_56 = 479 
    attribute_57 = 508 
    attribute_58 = 539 
    attribute_59 = 570 
    attribute_60 = 604 
    attribute_61 = 639 
    attribute_62 = 676 
    attribute_63 = 715 
    attribute_64 = 756 
    attribute_65 = 799 
    attribute_66 = 843 
    attribute_67 = 891 
    attribute_68 = 940 
    attribute_69 = 992 
    attribute_70 = 1047 
    attribute_71 = 1104 
    attribute_72 = 1164 
    attribute_73 = 1227 
    attribute_74 = 1294 
    attribute_75 = 1364 
    attribute_76 = 1437 
    attribute_77 = 1514 
    attribute_78 = 1594 
    attribute_79 = 1679 
    attribute_80 = 1768 
    attribute_81 = 1861 
    attribute_82 = 1959 
    attribute_83 = 2062 
    attribute_84 = 2170 
    attribute_85 = 2284 
    attribute_86 = 2403 
    attribute_87 = 2528 
    attribute_88 = 2660 
    attribute_89 = 2798 
    attribute_90 = 2943 
    attribute_91 = 3095 
    attribute_92 = 3255 
    attribute_93 = 3422 
    attribute_94 = 3598 
    attribute_95 = 3783 
    attribute_96 = 3977 
    attribute_97 = 4181 
    attribute_98 = 4395 
    attribute_99 = 4620 
wit_bonus_end
 
Данные значения дают бонус к некоторым характеристикам персонажа, например:
 Код:     public static double getLevelBonus(L2Character actor) { 
        //if(!actor.isPlayable()) 
        //    return 1; 
         
        int mod = actor.getLevel() - 11; 
        return (mod + 100.d) / 100.d; 
    } 
 
    public static double getParameterBonus(Parameter parameter, L2Character actor) { 
        return (getRawParameterBonus(parameter, actor) + 100.d) / 100.d; 
    } 
     
    public static double getRawParameterBonus(Parameter parameter, L2Character actor) { 
        int level = Math.min(99, Math.max(1, parameter.getLevel(actor))); 
        return ParameterData.getInstance().getParameterInt(parameter, level); 
    }
 
Пример бонуса:
 Код: public class FuncMoveSpeed extends Func { 
    @Getter(lazy=true) private final static FuncMoveSpeed instance = new FuncMoveSpeed(); 
    private FuncMoveSpeed() { 
        super(Stats.RUN_SPEED, 0x30, null); 
    } 
     
    @Override 
    protected void calc(Env env) { 
        env.value *= Formulas.getParameterBonus(Parameter.DEX, env.player); 
    } 
}
 
Или:
 Код: public class FuncPAtkMod extends Func { 
    @Getter(lazy=true) private final static FuncPAtkMod instance = new FuncPAtkMod(); 
     
    private FuncPAtkMod() { 
        super(Stats.POWER_ATTACK, 0x30, null); 
    } 
     
    @Override 
    protected void calc(Env env) { 
        env.value *= Formulas.getParameterBonus(Parameter.STR, env.player) * Formulas.getLevelBonus(env.player); 
    } 
}
 
Распространение бонусов: 
STR: patk 
INT: matk 
CON: max cp, max hp, max load 
MEN: max mp, mdef 
DEX: atk crit, move spd, patk spd 
WIT: matk crit, matk spd
	  
	
	
m0nster.art - clear client patches, linkz to utils & code. 
Гадаю по капче.
  
	
	
 
 
	
	
	
		
	Сообщений: 9 
	Тем: 4 
	Зарегистрирован: Apr 2015
	
 Репутация: 
 0
	 
 
	
	
		Это то я понял, но как расшифровать эти данные: 
1.036, 34.845  STR 
1.009, 19.360  INT 
1.050, 20.000  CON 
1.030, 27.632  MEN 
1.010, -0.060   DEX 
                       WIT
 
Но, вроде бы не сходится( В таблице есть уже готовые значения dex, _int, con, win, men, но как-то не сходятся они, или я просто не понимаю. 
 
В общем к чему я это всё? Вот, если сравнить статы персонажа с Java и PTS видим вот такую разницу:
 
JAVA -  PTS
 ![[Изображение: d354c238a421.jpg]](http://s020.radikal.ru/i708/1509/9c/d354c238a421.jpg)  
Это базовые статы без экипировки (вообще без ничего) при создание персонажа Human Fighter к примеру. Они отличаются не много. И я  никак не могу их сравнять с PTS.
	  
	
	
	
	
 
 
	
	
	
		
	Сообщений: 9 
	Тем: 4 
	Зарегистрирован: Apr 2015
	
 Репутация: 
 0
	 
 
 
	 
 |