Можно сделать passive невидимость(или другое)для любой расы?
robert1davletov Дата: Вторник, 19.06.2012, 04:15 | Сообщение # 1
Сообщения: 14
Награды: 0
Замечания:
Можно сделать passive невидимость(или другое)для любой расы? куда вставляется это Code
if(p_data[id][P_RACE] == RACE_UNDEAD) entity_set_int( id, EV_INT_flTimeStepSound, 999 );
Skype: robert1davletov (Примечание редко в online )
KinD Дата: Вторник, 19.06.2012, 09:10 | Сообщение # 2
Сообщения: 1148
Награды: 22
Замечания:
Все возможно,Passive ability у нежити И расы,скилы и тд,возможно.Только ,кто за тебя их делать будет? Самое простое для тебя,сделать пустышку(скил),и просто добавить новую пасивку (если ты нежить,то будет выполнятся твое действие)
Skype:daywerok
Сообщение отредактировал KinD - Вторник, 19.06.2012, 09:12
robert1davletov Дата: Вторник, 19.06.2012, 10:48 | Сообщение # 3
Сообщения: 14
Награды: 0
Замечания:
В каком файле надо сделать пустышку(скил) не подскажешь, я покопаюсь.
Skype: robert1davletov (Примечание редко в online )
KinD Дата: Вторник, 19.06.2012, 11:00 | Сообщение # 4
Сообщения: 1148
Награды: 22
Замечания:
robert1davletov , skills_manager,constants,skills, только для пустышки,дальше просто добавляеш к примеру расе,какой -нибудь доп.скил. Добавляеш пасивку(будет с 1 уровня) если конешно догадаешся сделать умножение,плюсование p_passivka[iSkillLevel-1],то дальше легче будет.
Skype:daywerok
robert1davletov Дата: Вторник, 19.06.2012, 13:00 | Сообщение # 5
Сообщения: 14
Награды: 0
Замечания:
Спс KinD , будем дерзать
Skype: robert1davletov (Примечание редко в online )
robert1davletov Дата: Вторник, 19.06.2012, 14:04 | Сообщение # 6
Сообщения: 14
Награды: 0
Замечания:
В чем можыт быть ошибка я эти строки вообще не трогал / / War3ft/skill_manager.inl (47): Ошибка 032: Индекс массива выходит за пределы (переменная "g_SkillOwner") / / War3ft/skill_manager.inl (94): Ошибка 032: Индекс массива выходит за пределы (переменная "g_SkillType") / / War3ft/skill_manager.inl (141): Ошибка 032: Индекс массива выходит за пределы (variabl е "g_SkillOrder") / / / / 3 ошибки. / / Не удалось найти выход файл, скомпилированный \ cssbWar3ftMod.amx (компиляция не удалось). / / / / Время компиляции: 2,91 сек / / ---------------------------------------- Скрин: $IMAGE1$ $IMAGE2$ $IMAGE3$
Skype: robert1davletov (Примечание редко в online )
KinD Дата: Вторник, 19.06.2012, 14:12 | Сообщение # 7
Сообщения: 1148
Награды: 22
Замечания:
#define MAX_SKILLS повысь
Skype:daywerok
robert1davletov Дата: Вторник, 19.06.2012, 14:23 | Сообщение # 8
Сообщения: 14
Награды: 0
Замечания:
new g_SkillOwner[MAX_SKILLS ]; // For each skill, says who the owning race is new g_SkillType[MAX_SKILLS ]; // For each skill, says what type of skill it is (trainable/ultimate/passive) new g_SkillOrder[MAX_SKILLS ]; // For each skill, lists what order it should appear in /level and /selectskill (and how it should save) // Used to store what level each skill is for the players new g_PlayerSkillLevel[33][MAX_SKILLS]; // Stores what level each skill is new bool:g_bPlayerSkills[33][MAX_SKILLS]; // Stores what skills the player has available (set on race selection) вот это у меня вообще нету #define MAX_SKILLS
Skype: robert1davletov (Примечание редко в online )
Сообщение отредактировал robert1davletov - Вторник, 19.06.2012, 14:27
KinD Дата: Вторник, 19.06.2012, 14:26 | Сообщение # 9
Сообщения: 1148
Награды: 22
Замечания:
robert1davletov , constans.inl,
Skype:daywerok
robert1davletov Дата: Вторник, 19.06.2012, 14:30 | Сообщение # 10
Сообщения: 14
Награды: 0
Замечания:
у меня вообще нету #define MAX_SKILLS
Skype: robert1davletov (Примечание редко в online )
KinD Дата: Вторник, 19.06.2012, 14:31 | Сообщение # 11
Сообщения: 1148
Награды: 22
Замечания:
Ой,в constans.inl. расе добавить #define TVOI_SKILL 36Добавлено (19.06.2012, 14:31) ---------------------------------------------robert1davletov , правильно все в skils.inl сделал,в constants нужно еще добавить .
Skype:daywerok
robert1davletov Дата: Вторник, 19.06.2012, 14:35 | Сообщение # 12
Сообщения: 14
Награды: 0
Замечания:
Не скажешь в какие строки ставить все свои варианты перепробовал?Добавлено (19.06.2012, 14:33) ---------------------------------------------
#define MAX_LEVELS 100 #define MAX_SKILLS 36 #define MAX_RACE_SKILLS 33 #define MAX_SKILL_LEVEL 33 //Skills 1 Max Percent #define MIN_PERCENT_EVASION 0.0 //p_evasion #define MAX_PERCENT_EVASION 1.0 #define MIN_PERCENT_PHOENIX 0.0 //p_phoenix #define MAX_PERCENT_PHOENIX 4.000 #define MIN_PERCENT_FAN 0.0 //p_fan #define MAX_PERCENT_FAN 1.0 #define MIN_PERCENT_IMPALE 0.0 //p_impale #define MAX_PERCENT_IMPALE 1.0 //Skills 2 Max Percent #define MIN_PERCENT_BANISH 0.0 //p_banish #define MAX_PERCENT_BANISH 1.0 #define MIN_PERCENT_HEX 0.0 //p_hex #define MAX_PERCENT_HEX 1.0 #define MIN_PERCENT_BLINK 0.0 //p_blink #define MAX_PERCENT_BLINK 999999.000 //Skills 3 Max Percent #define MIN_PERCENT_BASH 0.0 //p_bash #define MAX_PERCENT_BASH 2.0 #define MIN_PERCENT_ANKH 0.0 //p_ankh #define MAX_PERCENT_ANKH 99.000 #define MIN_PERCENT_SHADOW 0.0 //p_shadow #define MAX_PERCENT_SHADOW 1.0 #define MIN_PERCENT_CARRION 0.0 //p_carrion #define MAX_PERCENT_CARRION 1.0 //Skills 4 Max Percent #define MIN_PERCENT_CONCOCTION 0.0 //p_concoction #define MAX_PERCENT_CONCOCTION 1.0 #define MAX_PERCENT_HARDEN 100.000 //p_harden #define MIN_PERCENT_ORB 0.0 //p_orb #define MAX_PERCENT_ORB 1.0 // Constants for Abilities //Skills 1 new const Float:p_vampiric[MAX_SKILL_LEVEL] = {1.2, 2.4, 3.6, 4.8, 6.0, 7.2, 8.4, 9.6, 10.8, 12.0, 13.2, 14.4, 15.6, 16.8, 18.0, 19.2, 20.4, 21.6, 22.8, 24.0, 25.2, 26.4, 27.6, 28.8, 30.0, 31.2, 32.4, 33.6, 34.8, 36.0, 37.2, 38.4, 45.2 }; //Vampiric Aura (skill 1) new const p_invisibility[MAX_SKILL_LEVEL] = {200, 194, 188, 182, 176, 170, 164, 158, 152, 146, 140, 134, 128, 122, 116, 110, 104, 98, 92, 86, 80, 74, 68, 62, 56, 50, 44, 38, 32, 26, 20, 14, 2 }; //Invisibility (skill 1) new const Float:p_critical[MAX_SKILL_LEVEL] = {2.7, 5.4, 8.1, 10.8, 13.5, 16.2, 18.9, 21.6, 24.3, 27.0, 29.7, 32.4, 35.1, 37.8, 40.5, 43.2, 45.9, 48.6, 51.3, 54.0, 56.7, 59.4, 62.1, 64.8, 67.5, 70.2, 72.9, 75.6, 78.3, 81.0, 83.7, 86.4, 90.1 }; //Critical Strike (skill 1) new const Float:p_evasion[MAX_SKILL_LEVEL] = {0.026, 0.052, 0.077, 0.103, 0.129, 0.155, 0.180, 0.206, 0.232, 0.258, 0.283, 0.309, 0.335, 0.361, 0.386, 0.412, 0.438, 0.464, 0.489, 0.515, 0.541, 0.567, 0.592, 0.618, 0.644, 0.670, 0.695, 0.721, 0.747, 0.773, 0.798, 0.824, 0.850 }; //Evasion (skill 1) new const Float:p_phoenix[MAX_SKILL_LEVEL] = {0.121, 0.242, 0.364, 0.485, 0.606, 0.727, 0.848, 0.970, 1.091, 1.212, 1.333, 1.455, 1.576, 1.697, 1.818, 1.939, 2.061, 2.182, 2.303, 2.424, 2.545, 2.667, 2.788, 2.909, 3.030, 3.152, 3.273, 3.394, 3.515, 3.636, 3.758, 3.879, 4.000 }; //Phoenix (skill 1) new const Float:p_heal[MAX_SKILL_LEVEL] = {1.0, 0.97, 0.94, 0.91, 0.88, 0.85, 0.82, 0.79, 0.76, 0.73, 0.70, 0.67, 0.64, 0.61, 0.58, 0.55, 0.52, 0.49, 0.46, 0.43, 0.40, 0.37, 0.34, 0.31, 0.28, 0.25, 0.22, 0.19, 0.16, 0.13, 0.10, -0.25, -0.95 }; //Healing Wave (skill 1) new const Float:p_fan[MAX_SKILL_LEVEL] = {0.011, 0.021, 0.032, 0.042, 0.053, 0.064, 0.074, 0.085, 0.095, 0.106, 0.117, 0.127, 0.138, 0.148, 0.159, 0.170, 0.180, 0.191, 0.202, 0.212, 0.223, 0.233, 0.244, 0.255, 0.265, 0.276, 0.286, 0.297, 0.308, 0.318, 0.329, 0.339, 0.350 }; //Fan of Knives (skill 1) new const Float:p_impale[MAX_SKILL_LEVEL] = {0.014, 0.027, 0.041, 0.055, 0.068, 0.082, 0.095, 0.109, 0.123, 0.136, 0.150, 0.164, 0.177, 0.191, 0.205, 0.218, 0.232, 0.245, 0.259, 0.273, 0.286, 0.300, 0.314, 0.327, 0.341, 0.355, 0.368, 0.382, 0.395, 0.409, 0.423, 0.436, 0.450 }; //Impale (skill 1) //Skills 2 new Float:p_unholy[MAX_SKILL_LEVEL] = {265.0, 1165.0, 2065.0, 2965.0, 3865.0, 4765.0, 5665.0, 6565.0, 7465.0, 8365.0, 9265.0, 10165.0, 11065.0, 11965.0, 12865.0, 13765.0, 14665.0, 15565.0, 16465.0, 17365.0, 18265.0, 19165.0, 20065.0, 20965.0, 21865.0, 22765.0, 23665.0, 24565.0, 25465.0, 26365.0, 27265.0, 28165.0, 29065.0 }; //Unholy Aura (skill 2) new const p_devotion = 5 //Devotion Aura (skill 2) new const Float:p_grenade[MAX_SKILL_LEVEL] = {5.0, 10.0, 15.0, 20.0, 25.0, 30.0, 35.0, 40.0, 45.0, 50.0, 55.0, 60.0, 65.0, 70.0, 75.0, 80.0, 85.0, 90.0, 95.0, 100.0, 105.0, 110.0, 115.0, 120.0, 125.0, 130.0, 135.0, 140.0, 145.0, 150.0, 155.0, 160.0, 180.0 }; //Critical Grenade (skill 2) new const Float:p_thorns[MAX_SKILL_LEVEL] = {1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0, 17.0, 18.0, 19.0, 20.0, 21.0, 22.0, 23.0, 24.0, 25.0, 26.0, 27.0, 28.0, 29.0, 30.0, 31.0, 32.0, 33.0 }; //Thorns Aura (skill 2) new const Float:p_banish[MAX_SKILL_LEVEL] = {3.000, 6.000, 9.000, 12.000, 15.000, 18.000, 21.000, 24.000, 27.000, 30.000, 33.000, 36.000, 39.000, 42.000, 45.000, 48.000, 51.000, 54.000, 57.000, 60.000, 63.000, 66.000, 69.000, 72.000, 75.000, 78.000, 81.000, 84.000, 87.000, 90.000, 93.000, 96.000, 99.000 }; //Banish (skill 2) new const Float:p_hex[MAX_SKILL_LEVEL] = {0.015, 0.030, 0.045, 0.061, 0.076, 0.091, 0.106, 0.121, 0.136, 0.152, 0.167, 0.182, 0.197, 0.212, 0.227, 0.242, 0.258, 0.273, 0.288, 0.303, 0.318, 0.333, 0.348, 0.364, 0.379, 0.394, 0.409, 0.424, 0.439, 0.455, 0.470, 0.485, 0.500 }; //Hex (skill 2) new const Float:p_blink[MAX_SKILL_LEVEL] = {30303.000, 60606.000, 90909.000, 121212.000, 151515.000, 181818.000, 212121.000, 242424.000, 272727.000, 303030.000, 333333.000, 363636.000, 393939.000, 424242.000, 454545.000, 484848.000, 515151.000, 545454.000, 575757.000, 606060.000, 636363.000, 666666.000, 696969.000, 727272.000, 757575.000, 787878.000, 818181.000, 848484.000, 878787.000, 909090.000, 939393.000, 969696.000, 999999.000 }; //Blink (skill 2) new const Float:p_spiked[MAX_SKILL_LEVEL] = {0.02, 0.04, 0.06, 0.08, 0.1, 0.12, 0.14, 0.16, 0.18, 0.2, 0.22, 0.24, 0.26, 0.28, 0.3, 0.32, 0.34, 0.36, 0.38, 0.4, 0.42, 0.44, 0.46, 0.48, 0.5, 0.52, 0.54, 0.56, 0.58, 0.6, 0.62, 0.64, 0.66 }; //Spiked Carapace (skill 2) //Skills 3 new const Float:p_levitation[MAX_SKILL_LEVEL] = {0.8, 0.78, 0.76, 0.74, 0.72, 0.70, 0.68, 0.66, 0.64, 0.62, 0.60, 0.58, 0.56, 0.54, 0.52, 0.50, 0.48, 0.46, 0.44, 0.42, 0.40, 0.38, 0.36, 0.34, 0.32, 0.30, 0.28, 0.26, 0.24, 0.22, 0.20, 0.18, 0.17 }; //Levitation (skill 3) new const Float:p_bash[MAX_SKILL_LEVEL] = {0.014, 0.027, 0.041, 0.055, 0.068, 0.082, 0.095, 0.109, 0.123, 0.136, 0.150, 0.164, 0.177, 0.191, 0.205, 0.218, 0.232, 0.245, 0.259, 0.273, 0.286, 0.300, 0.314, 0.327, 0.341, 0.355, 0.368, 0.382, 0.395, 0.409, 0.423, 0.436, 0.450 }; //Bash (skill 3) new const Float:p_ankh[MAX_SKILL_LEVEL] = {3.000, 6.000, 9.000, 12.000, 15.000, 18.000, 21.000, 24.000, 27.000, 30.000, 33.000, 36.000, 39.000, 42.000, 45.000, 48.000, 51.000, 54.000, 57.000, 60.000, 63.000, 66.000, 69.000, 72.000, 75.000, 78.000, 81.000, 84.000, 87.000, 90.000, 93.000, 96.000, 99.000 }; //Equipment reincarnation (skill 3) new const Float:p_trueshot[MAX_SKILL_LEVEL] = {1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0, 17.0, 18.0, 19.0, 20.0, 21.0, 22.0, 23.0, 24.0, 25.0, 26.0, 27.0, 28.0, 29.0, 30.0, 31.0, 32.0, 45.0 }; //Trueshot Aura (skill 3) new const Float:p_mana[MAX_SKILL_LEVEL] = {0.02, 0.04, 0.06, 0.08, 0.1, 0.12, 0.14, 0.16, 0.18, 0.2, 0.22, 0.24, 0.26, 0.28, 0.3, 0.32, 0.34, 0.36, 0.38, 0.4, 0.42, 0.44, 0.46, 0.48, 0.5, 0.52, 0.54, 0.56, 0.58, 0.6, 0.62, 0.64, 0.66 }; //Siphon Mana (skill 3) new const p_serpent[MAX_SKILL_LEVEL] = {2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 255 }; //Serpent Ward (skill 3) new const Float:p_shadow[MAX_SKILL_LEVEL] = {0.021, 0.042, 0.064, 0.085, 0.106, 0.127, 0.148, 0.170, 0.191, 0.212, 0.233, 0.255, 0.276, 0.297, 0.318, 0.339, 0.361, 0.382, 0.403, 0.424, 0.445, 0.467, 0.488, 0.509, 0.530, 0.552, 0.573, 0.594, 0.615, 0.636, 0.658, 0.679, 0.700 }; //Shadow Strike (skill 3) new const Float:p_carrion[MAX_SKILL_LEVEL] = {0.606, 1.212, 1.818, 2.424, 3.030, 3.636, 4.242, 4.848, 5.455, 6.061, 6.667, 7.273, 7.879, 8.485, 9.091, 9.697, 10.303, 10.909, 11.515, 12.121, 12.727, 13.333, 13.939, 14.545, 15.152, 15.758, 16.364, 16.970, 17.576, 18.182, 18.788, 19.394, 20.000 }; //Carrion Beetle (skill 3) //Skills 4 new const Float:p_resistant[MAX_LEVELS+1] = {0.09, 0.18, 0.27, 0.36, 0.45, 0.54, 0.63, 0.72, 0.81, 0.9, 0.99, 1.08, 1.17, 1.26, 1.35, 1.44, 1.53, 1.62, 1.71, 1.8, 1.89, 1.98, 2.07, 2.16, 2.25, 2.34, 2.43, 2.52, 2.61, 2.7, 2.79, 2.88, 2.97, 3.06, 3.15, 3.24, 3.33, 3.42, 3.51, 3.6, 3.69, 3.78, 3.87, 3.96, 4.05, 4.14, 4.23, 4.32, 4.41, 4.5, 4.59, 4.68, 4.77, 4.86, 4.95, 5.04, 5.13, 5.22, 5.31, 5.4, 5.49, 5.58, 5.67, 5.76, 5.85, 5.94, 6.03, 6.12, 6.21, 6.3, 6.39, 6.48, 6.57, 6.66, 6.75, 6.84, 6.93, 7.02, 7.11, 7.2, 7.29, 7.38, 7.47, 7.56, 7.65, 7.74, 7.83, 7.92, 8.01, 8.1, 8.19, 8.28, 8.37, 8.46, 8.55, 8.64, 8.73, 8.82, 8.91, 9.0, 9.09 }; //Resistant Skin (skill 4) new const Float:p_concoction[MAX_LEVELS+1] = {0.003, 0.006, 0.009, 0.012, 0.015, 0.018, 0.021, 0.024, 0.027, 0.030, 0.033, 0.036, 0.039, 0.042, 0.045, 0.048, 0.050, 0.053, 0.056, 0.059, 0.062, 0.065, 0.068, 0.071, 0.074, 0.077, 0.080, 0.083, 0.086, 0.089, 0.092, 0.095, 0.098, 0.101, 0.104, 0.107, 0.110, 0.113, 0.116, 0.119, 0.122, 0.125, 0.128, 0.131, 0.134, 0.137, 0.140, 0.143, 0.146, 0.149, 0.151, 0.154, 0.157, 0.160, 0.163, 0.166, 0.169, 0.172, 0.175, 0.178, 0.181, 0.184, 0.187, 0.190, 0.193, 0.196, 0.199, 0.202, 0.205, 0.208, 0.211, 0.214, 0.217, 0.220, 0.223, 0.226, 0.229, 0.232, 0.235, 0.238, 0.241, 0.244, 0.247, 0.250, 0.252, 0.255, 0.258, 0.261, 0.264, 0.267, 0.270, 0.273, 0.276, 0.279, 0.282, 0.285, 0.288, 0.291, 0.294, 0.297, 0.300 }; //Unstable Concoction (skill 4) new const Float:p_harden[MAX_LEVELS+1] = {0.990, 1.980, 2.970, 3.960, 4.950, 5.941, 6.931, 7.921, 8.911, 9.901, 10.891, 11.881, 12.871, 13.861, 14.851, 15.842, 16.832, 17.822, 18.812, 19.802, 20.792, 21.782, 22.772, 23.762, 24.752, 25.743, 26.733, 27.723, 28.713, 29.703, 30.693, 31.683, 32.673, 33.663, 34.653, 35.644, 36.634, 37.624, 38.614, 39.604, 40.594, 41.584, 42.574, 43.564, 44.554, 45.545, 46.535, 47.525, 48.515, 49.505, 50.495, 51.485, 52.475, 53.465, 54.455, 55.446, 56.436, 57.426, 58.416, 59.406, 60.396, 61.386, 62.376, 63.366, 64.356, 65.347, 66.337, 67.327, 68.317, 69.307, 70.297, 71.287, 72.277, 73.267, 74.257, 75.248, 76.238, 77.228, 78.218, 79.208, 80.198, 81.188, 82.178, 83.168, 84.158, 85.149, 86.139, 87.129, 88.119, 89.109, 90.099, 91.089, 92.079, 93.069, 94.059, 95.050, 96.040, 97.030, 98.020, 99.010, 100.000 }; //Hardened Skin (skill 4) new const Float:p_orb[MAX_LEVELS+1] = {0.004, 0.008, 0.012, 0.016, 0.020, 0.024, 0.028, 0.032, 0.036, 0.040, 0.044, 0.048, 0.051, 0.055, 0.059, 0.063, 0.067, 0.071, 0.075, 0.079, 0.083, 0.087, 0.091, 0.095, 0.099, 0.103, 0.107, 0.111, 0.115, 0.119, 0.123, 0.127, 0.131, 0.135, 0.139, 0.143, 0.147, 0.150, 0.154, 0.158, 0.162, 0.166, 0.170, 0.174, 0.178, 0.182, 0.186, 0.190, 0.194, 0.198, 0.202, 0.206, 0.210, 0.214, 0.218, 0.222, 0.226, 0.230, 0.234, 0.238, 0.242, 0.246, 0.250, 0.253, 0.257, 0.261, 0.265, 0.269, 0.273, 0.277, 0.281, 0.285, 0.289, 0.293, 0.297, 0.301, 0.305, 0.309, 0.313, 0.317, 0.321, 0.325, 0.329, 0.333, 0.337, 0.341, 0.345, 0.349, 0.352, 0.356, 0.360, 0.364, 0.368, 0.372, 0.376, 0.380, 0.384, 0.388, 0.392, 0.396, 0.400 }; //Orb of Annihilation (skill 4)
Добавлено (19.06.2012, 14:35) --------------------------------------------- я свою добавляю но после сохранения и закрытия у меня в стандартную возвращается
Skype: robert1davletov (Примечание редко в online )
Kartman Дата: Вторник, 19.06.2012, 14:35 | Сообщение # 13
Сообщения: 199
Награды: 3
Замечания:
вот смотри #define MAX_SKILLS 36Добавлено (19.06.2012, 14:35) --------------------------------------------- Сколько ты скиллов новых сделал?
http://war3ft-help.tk/ - форум поддержки war3ftmod
robert1davletov Дата: Вторник, 19.06.2012, 14:39 | Сообщение # 14
Сообщения: 14
Награды: 0
Замечания:
Kartman , Я таки тебя не понил Code
вот смотри #define MAX_SKILLS 36
Добавлено (19.06.2012, 14:36) --------------------------------------------- 1 пытался Добавлено (19.06.2012, 14:39) ---------------------------------------------
#define MAX_LEVELS 100 #define MAX_SKILLS 37 #define MAX_RACE_SKILLS 33 #define MAX_SKILL_LEVEL 33 //Skills 1 Max Percent #define MIN_PERCENT_EVASION 0.0 //p_evasion #define MAX_PERCENT_EVASION 1.0 #define MIN_PERCENT_PHOENIX 0.0 //p_phoenix #define MAX_PERCENT_PHOENIX 4.000 #define MIN_PERCENT_FAN 0.0 //p_fan #define MAX_PERCENT_FAN 1.0 #define MIN_PERCENT_IMPALE 0.0 //p_impale #define MAX_PERCENT_IMPALE 1.0 //Skills 2 Max Percent #define MIN_PERCENT_BANISH 0.0 //p_banish #define MAX_PERCENT_BANISH 1.0 #define MIN_PERCENT_HEX 0.0 //p_hex #define MAX_PERCENT_HEX 1.0 #define MIN_PERCENT_BLINK 0.0 //p_blink #define MAX_PERCENT_BLINK 999999.000 //Skills 3 Max Percent #define MIN_PERCENT_BASH 0.0 //p_bash #define MAX_PERCENT_BASH 2.0 #define MIN_PERCENT_ANKH 0.0 //p_ankh #define MAX_PERCENT_ANKH 99.000 #define MIN_PERCENT_SHADOW 0.0 //p_shadow #define MAX_PERCENT_SHADOW 1.0 #define MIN_PERCENT_CARRION 0.0 //p_carrion #define MAX_PERCENT_CARRION 1.0 //Skills 4 Max Percent #define MIN_PERCENT_CONCOCTION 0.0 //p_concoction #define MAX_PERCENT_CONCOCTION 1.0 #define MAX_PERCENT_HARDEN 100.000 //p_harden #define MIN_PERCENT_ORB 0.0 //p_orb #define MAX_PERCENT_ORB 1.0 // Constants for Abilities //Skills 1 new const Float:p_vampiric[MAX_SKILL_LEVEL] = {1.2, 2.4, 3.6, 4.8, 6.0, 7.2, 8.4, 9.6, 10.8, 12.0, 13.2, 14.4, 15.6, 16.8, 18.0, 19.2, 20.4, 21.6, 22.8, 24.0, 25.2, 26.4, 27.6, 28.8, 30.0, 31.2, 32.4, 33.6, 34.8, 36.0, 37.2, 38.4, 45.2 }; //Vampiric Aura (skill 1) new const p_invisibility[MAX_SKILL_LEVEL] = {200, 194, 188, 182, 176, 170, 164, 158, 152, 146, 140, 134, 128, 122, 116, 110, 104, 98, 92, 86, 80, 74, 68, 62, 56, 50, 44, 38, 32, 26, 20, 14, 2 }; //Invisibility (skill 1) new const Float:p_critical[MAX_SKILL_LEVEL] = {2.7, 5.4, 8.1, 10.8, 13.5, 16.2, 18.9, 21.6, 24.3, 27.0, 29.7, 32.4, 35.1, 37.8, 40.5, 43.2, 45.9, 48.6, 51.3, 54.0, 56.7, 59.4, 62.1, 64.8, 67.5, 70.2, 72.9, 75.6, 78.3, 81.0, 83.7, 86.4, 90.1 }; //Critical Strike (skill 1) new const Float:p_evasion[MAX_SKILL_LEVEL] = {0.026, 0.052, 0.077, 0.103, 0.129, 0.155, 0.180, 0.206, 0.232, 0.258, 0.283, 0.309, 0.335, 0.361, 0.386, 0.412, 0.438, 0.464, 0.489, 0.515, 0.541, 0.567, 0.592, 0.618, 0.644, 0.670, 0.695, 0.721, 0.747, 0.773, 0.798, 0.824, 0.850 }; //Evasion (skill 1) new const Float:p_phoenix[MAX_SKILL_LEVEL] = {0.121, 0.242, 0.364, 0.485, 0.606, 0.727, 0.848, 0.970, 1.091, 1.212, 1.333, 1.455, 1.576, 1.697, 1.818, 1.939, 2.061, 2.182, 2.303, 2.424, 2.545, 2.667, 2.788, 2.909, 3.030, 3.152, 3.273, 3.394, 3.515, 3.636, 3.758, 3.879, 4.000 }; //Phoenix (skill 1) new const Float:p_heal[MAX_SKILL_LEVEL] = {1.0, 0.97, 0.94, 0.91, 0.88, 0.85, 0.82, 0.79, 0.76, 0.73, 0.70, 0.67, 0.64, 0.61, 0.58, 0.55, 0.52, 0.49, 0.46, 0.43, 0.40, 0.37, 0.34, 0.31, 0.28, 0.25, 0.22, 0.19, 0.16, 0.13, 0.10, -0.25, -0.95 }; //Healing Wave (skill 1) new const Float:p_fan[MAX_SKILL_LEVEL] = {0.011, 0.021, 0.032, 0.042, 0.053, 0.064, 0.074, 0.085, 0.095, 0.106, 0.117, 0.127, 0.138, 0.148, 0.159, 0.170, 0.180, 0.191, 0.202, 0.212, 0.223, 0.233, 0.244, 0.255, 0.265, 0.276, 0.286, 0.297, 0.308, 0.318, 0.329, 0.339, 0.350 }; //Fan of Knives (skill 1) new const Float:p_impale[MAX_SKILL_LEVEL] = {0.014, 0.027, 0.041, 0.055, 0.068, 0.082, 0.095, 0.109, 0.123, 0.136, 0.150, 0.164, 0.177, 0.191, 0.205, 0.218, 0.232, 0.245, 0.259, 0.273, 0.286, 0.300, 0.314, 0.327, 0.341, 0.355, 0.368, 0.382, 0.395, 0.409, 0.423, 0.436, 0.450 }; //Impale (skill 1) //Skills 2 new Float:p_unholy[MAX_SKILL_LEVEL] = {265.0, 1165.0, 2065.0, 2965.0, 3865.0, 4765.0, 5665.0, 6565.0, 7465.0, 8365.0, 9265.0, 10165.0, 11065.0, 11965.0, 12865.0, 13765.0, 14665.0, 15565.0, 16465.0, 17365.0, 18265.0, 19165.0, 20065.0, 20965.0, 21865.0, 22765.0, 23665.0, 24565.0, 25465.0, 26365.0, 27265.0, 28165.0, 29065.0 }; //Unholy Aura (skill 2) new const p_devotion = 5 //Devotion Aura (skill 2) new const Float:p_grenade[MAX_SKILL_LEVEL] = {5.0, 10.0, 15.0, 20.0, 25.0, 30.0, 35.0, 40.0, 45.0, 50.0, 55.0, 60.0, 65.0, 70.0, 75.0, 80.0, 85.0, 90.0, 95.0, 100.0, 105.0, 110.0, 115.0, 120.0, 125.0, 130.0, 135.0, 140.0, 145.0, 150.0, 155.0, 160.0, 180.0 }; //Critical Grenade (skill 2) new const Float:p_thorns[MAX_SKILL_LEVEL] = {1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0, 17.0, 18.0, 19.0, 20.0, 21.0, 22.0, 23.0, 24.0, 25.0, 26.0, 27.0, 28.0, 29.0, 30.0, 31.0, 32.0, 33.0 }; //Thorns Aura (skill 2) new const Float:p_banish[MAX_SKILL_LEVEL] = {3.000, 6.000, 9.000, 12.000, 15.000, 18.000, 21.000, 24.000, 27.000, 30.000, 33.000, 36.000, 39.000, 42.000, 45.000, 48.000, 51.000, 54.000, 57.000, 60.000, 63.000, 66.000, 69.000, 72.000, 75.000, 78.000, 81.000, 84.000, 87.000, 90.000, 93.000, 96.000, 99.000 }; //Banish (skill 2) new const Float:p_hex[MAX_SKILL_LEVEL] = {0.015, 0.030, 0.045, 0.061, 0.076, 0.091, 0.106, 0.121, 0.136, 0.152, 0.167, 0.182, 0.197, 0.212, 0.227, 0.242, 0.258, 0.273, 0.288, 0.303, 0.318, 0.333, 0.348, 0.364, 0.379, 0.394, 0.409, 0.424, 0.439, 0.455, 0.470, 0.485, 0.500 }; //Hex (skill 2) new const Float:p_blink[MAX_SKILL_LEVEL] = {30303.000, 60606.000, 90909.000, 121212.000, 151515.000, 181818.000, 212121.000, 242424.000, 272727.000, 303030.000, 333333.000, 363636.000, 393939.000, 424242.000, 454545.000, 484848.000, 515151.000, 545454.000, 575757.000, 606060.000, 636363.000, 666666.000, 696969.000, 727272.000, 757575.000, 787878.000, 818181.000, 848484.000, 878787.000, 909090.000, 939393.000, 969696.000, 999999.000 }; //Blink (skill 2) new const Float:p_spiked[MAX_SKILL_LEVEL] = {0.02, 0.04, 0.06, 0.08, 0.1, 0.12, 0.14, 0.16, 0.18, 0.2, 0.22, 0.24, 0.26, 0.28, 0.3, 0.32, 0.34, 0.36, 0.38, 0.4, 0.42, 0.44, 0.46, 0.48, 0.5, 0.52, 0.54, 0.56, 0.58, 0.6, 0.62, 0.64, 0.66 }; //Spiked Carapace (skill 2) //Skills 3 new const Float:p_levitation[MAX_SKILL_LEVEL] = {0.8, 0.78, 0.76, 0.74, 0.72, 0.70, 0.68, 0.66, 0.64, 0.62, 0.60, 0.58, 0.56, 0.54, 0.52, 0.50, 0.48, 0.46, 0.44, 0.42, 0.40, 0.38, 0.36, 0.34, 0.32, 0.30, 0.28, 0.26, 0.24, 0.22, 0.20, 0.18, 0.17 }; //Levitation (skill 3) new const Float:p_bash[MAX_SKILL_LEVEL] = {0.014, 0.027, 0.041, 0.055, 0.068, 0.082, 0.095, 0.109, 0.123, 0.136, 0.150, 0.164, 0.177, 0.191, 0.205, 0.218, 0.232, 0.245, 0.259, 0.273, 0.286, 0.300, 0.314, 0.327, 0.341, 0.355, 0.368, 0.382, 0.395, 0.409, 0.423, 0.436, 0.450 }; //Bash (skill 3) new const Float:p_ankh[MAX_SKILL_LEVEL] = {3.000, 6.000, 9.000, 12.000, 15.000, 18.000, 21.000, 24.000, 27.000, 30.000, 33.000, 36.000, 39.000, 42.000, 45.000, 48.000, 51.000, 54.000, 57.000, 60.000, 63.000, 66.000, 69.000, 72.000, 75.000, 78.000, 81.000, 84.000, 87.000, 90.000, 93.000, 96.000, 99.000 }; //Equipment reincarnation (skill 3) new const Float:p_trueshot[MAX_SKILL_LEVEL] = {1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0, 17.0, 18.0, 19.0, 20.0, 21.0, 22.0, 23.0, 24.0, 25.0, 26.0, 27.0, 28.0, 29.0, 30.0, 31.0, 32.0, 45.0 }; //Trueshot Aura (skill 3) new const Float:p_mana[MAX_SKILL_LEVEL] = {0.02, 0.04, 0.06, 0.08, 0.1, 0.12, 0.14, 0.16, 0.18, 0.2, 0.22, 0.24, 0.26, 0.28, 0.3, 0.32, 0.34, 0.36, 0.38, 0.4, 0.42, 0.44, 0.46, 0.48, 0.5, 0.52, 0.54, 0.56, 0.58, 0.6, 0.62, 0.64, 0.66 }; //Siphon Mana (skill 3) new const p_serpent[MAX_SKILL_LEVEL] = {2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 255 }; //Serpent Ward (skill 3) new const Float:p_shadow[MAX_SKILL_LEVEL] = {0.021, 0.042, 0.064, 0.085, 0.106, 0.127, 0.148, 0.170, 0.191, 0.212, 0.233, 0.255, 0.276, 0.297, 0.318, 0.339, 0.361, 0.382, 0.403, 0.424, 0.445, 0.467, 0.488, 0.509, 0.530, 0.552, 0.573, 0.594, 0.615, 0.636, 0.658, 0.679, 0.700 }; //Shadow Strike (skill 3) new const Float:p_carrion[MAX_SKILL_LEVEL] = {0.606, 1.212, 1.818, 2.424, 3.030, 3.636, 4.242, 4.848, 5.455, 6.061, 6.667, 7.273, 7.879, 8.485, 9.091, 9.697, 10.303, 10.909, 11.515, 12.121, 12.727, 13.333, 13.939, 14.545, 15.152, 15.758, 16.364, 16.970, 17.576, 18.182, 18.788, 19.394, 20.000 }; //Carrion Beetle (skill 3) //Skills 4 new const Float:p_resistant[MAX_LEVELS+1] = {0.09, 0.18, 0.27, 0.36, 0.45, 0.54, 0.63, 0.72, 0.81, 0.9, 0.99, 1.08, 1.17, 1.26, 1.35, 1.44, 1.53, 1.62, 1.71, 1.8, 1.89, 1.98, 2.07, 2.16, 2.25, 2.34, 2.43, 2.52, 2.61, 2.7, 2.79, 2.88, 2.97, 3.06, 3.15, 3.24, 3.33, 3.42, 3.51, 3.6, 3.69, 3.78, 3.87, 3.96, 4.05, 4.14, 4.23, 4.32, 4.41, 4.5, 4.59, 4.68, 4.77, 4.86, 4.95, 5.04, 5.13, 5.22, 5.31, 5.4, 5.49, 5.58, 5.67, 5.76, 5.85, 5.94, 6.03, 6.12, 6.21, 6.3, 6.39, 6.48, 6.57, 6.66, 6.75, 6.84, 6.93, 7.02, 7.11, 7.2, 7.29, 7.38, 7.47, 7.56, 7.65, 7.74, 7.83, 7.92, 8.01, 8.1, 8.19, 8.28, 8.37, 8.46, 8.55, 8.64, 8.73, 8.82, 8.91, 9.0, 9.09 }; //Resistant Skin (skill 4) new const Float:p_concoction[MAX_LEVELS+1] = {0.003, 0.006, 0.009, 0.012, 0.015, 0.018, 0.021, 0.024, 0.027, 0.030, 0.033, 0.036, 0.039, 0.042, 0.045, 0.048, 0.050, 0.053, 0.056, 0.059, 0.062, 0.065, 0.068, 0.071, 0.074, 0.077, 0.080, 0.083, 0.086, 0.089, 0.092, 0.095, 0.098, 0.101, 0.104, 0.107, 0.110, 0.113, 0.116, 0.119, 0.122, 0.125, 0.128, 0.131, 0.134, 0.137, 0.140, 0.143, 0.146, 0.149, 0.151, 0.154, 0.157, 0.160, 0.163, 0.166, 0.169, 0.172, 0.175, 0.178, 0.181, 0.184, 0.187, 0.190, 0.193, 0.196, 0.199, 0.202, 0.205, 0.208, 0.211, 0.214, 0.217, 0.220, 0.223, 0.226, 0.229, 0.232, 0.235, 0.238, 0.241, 0.244, 0.247, 0.250, 0.252, 0.255, 0.258, 0.261, 0.264, 0.267, 0.270, 0.273, 0.276, 0.279, 0.282, 0.285, 0.288, 0.291, 0.294, 0.297, 0.300 }; //Unstable Concoction (skill 4) new const Float:p_harden[MAX_LEVELS+1] = {0.990, 1.980, 2.970, 3.960, 4.950, 5.941, 6.931, 7.921, 8.911, 9.901, 10.891, 11.881, 12.871, 13.861, 14.851, 15.842, 16.832, 17.822, 18.812, 19.802, 20.792, 21.782, 22.772, 23.762, 24.752, 25.743, 26.733, 27.723, 28.713, 29.703, 30.693, 31.683, 32.673, 33.663, 34.653, 35.644, 36.634, 37.624, 38.614, 39.604, 40.594, 41.584, 42.574, 43.564, 44.554, 45.545, 46.535, 47.525, 48.515, 49.505, 50.495, 51.485, 52.475, 53.465, 54.455, 55.446, 56.436, 57.426, 58.416, 59.406, 60.396, 61.386, 62.376, 63.366, 64.356, 65.347, 66.337, 67.327, 68.317, 69.307, 70.297, 71.287, 72.277, 73.267, 74.257, 75.248, 76.238, 77.228, 78.218, 79.208, 80.198, 81.188, 82.178, 83.168, 84.158, 85.149, 86.139, 87.129, 88.119, 89.109, 90.099, 91.089, 92.079, 93.069, 94.059, 95.050, 96.040, 97.030, 98.020, 99.010, 100.000 }; //Hardened Skin (skill 4) new const Float:p_orb[MAX_LEVELS+1] = {0.004, 0.008, 0.012, 0.016, 0.020, 0.024, 0.028, 0.032, 0.036, 0.040, 0.044, 0.048, 0.051, 0.055, 0.059, 0.063, 0.067, 0.071, 0.075, 0.079, 0.083, 0.087, 0.091, 0.095, 0.099, 0.103, 0.107, 0.111, 0.115, 0.119, 0.123, 0.127, 0.131, 0.135, 0.139, 0.143, 0.147, 0.150, 0.154, 0.158, 0.162, 0.166, 0.170, 0.174, 0.178, 0.182, 0.186, 0.190, 0.194, 0.198, 0.202, 0.206, 0.210, 0.214, 0.218, 0.222, 0.226, 0.230, 0.234, 0.238, 0.242, 0.246, 0.250, 0.253, 0.257, 0.261, 0.265, 0.269, 0.273, 0.277, 0.281, 0.285, 0.289, 0.293, 0.297, 0.301, 0.305, 0.309, 0.313, 0.317, 0.321, 0.325, 0.329, 0.333, 0.337, 0.341, 0.345, 0.349, 0.352, 0.356, 0.360, 0.364, 0.368, 0.372, 0.376, 0.380, 0.384, 0.388, 0.392, 0.396, 0.400 }; //Orb of Annihilation (skill 4) //Invisibility (skill 4) //INVISIBILITY new const Float:p_invisibility[MAX_LEVELS+1] = {2.7, 5.4, 8.1, 10.8, 13.5, 16.2, 18.9, 21.6, 24.3, 27.0, 29.7, 32.4, 35.1, 37.8, 40.5, 43.2, 45.9, 48.6, 51.3, 54.0, 56.7, 59.4, 62.1, 64.8, 67.5, 70.2, 72.9, 75.6, 78.3, 81.0, 83.7, 86.4, 90.1 };
Skype: robert1davletov (Примечание редко в online )
Сообщение отредактировал robert1davletov - Вторник, 19.06.2012, 14:39
Kartman Дата: Вторник, 19.06.2012, 14:41 | Сообщение # 15
Сообщения: 199
Награды: 3
Замечания:
вроде ты должен поставить 38Добавлено (19.06.2012, 14:41) --------------------------------------------- я лично не помню у меня #define MAX_SKILLS уже где 63
http://war3ft-help.tk/ - форум поддержки war3ftmod
robert1davletov Дата: Вторник, 19.06.2012, 14:41 | Сообщение # 16
Сообщения: 14
Награды: 0
Замечания:
Прикрепление:
Skype: robert1davletov (Примечание редко в online )
KinD Дата: Вторник, 19.06.2012, 14:44 | Сообщение # 17
Сообщения: 1148
Награды: 22
Замечания:
Kartman забей,пускай сам своей головой думает,тем более сказали где надо менять.
Skype:daywerok
Kartman Дата: Вторник, 19.06.2012, 14:47 | Сообщение # 18
Сообщения: 199
Награды: 3
Замечания:
хорошо)
http://war3ft-help.tk/ - форум поддержки war3ftmod
SMaster Дата: Вторник, 19.06.2012, 14:54 | Сообщение # 19
Сообщения: 2189
Награды: 46
Замечания:
KinD , и Kartman думаю забаню его. Снова этот бестолковый алмазик IP 2.95.193.196 (RU) Так что забейте на него.
Наша группа вконтакте http://vk.com/nano_world_cs Контакты: ICQ 607786179 Skype xonahead
Kartman Дата: Вторник, 19.06.2012, 15:04 | Сообщение # 20
Сообщения: 199
Награды: 3
Замечания:
О боже ему не надоело
http://war3ft-help.tk/ - форум поддержки war3ftmod