~Навыки player_attacker(Атака)~
Заморозка:
[[skillX]] setting = "es_set wcs_chance 25|es_set wcs_chance 28|es_set wcs_chance 33|es_set wcs_chance 36" racealias_freezezenepam = "es playerset freeze event_var(userid) 1;es_delayed 1 playerset freeze event_var(userid) 0" cmd = "if (server_var(wcs_dice) <= server_var(wcs_chance)) then wcs_xalias racealias_freezezenepam" sfx = ""
Замедление врагов:
[[skillX]] setting = "es_set wcs_chance 15;es_xset wcs_speed 0.4|es_set wcs_chance 18;es_set wcs_speed 0.8" cmd = "if (server_var(wcs_dice) <= server_var(wcs_chance)) then wcs_xalias racealias_nospeederus" racealias_nospeederus = "es playerset speed event_var(userid) server_var(wcs_speed);es_delayed 3 es playerset speed event_var(userid) 1.1" sfx = ""
Оглушение:
[[skillX]] setting = "es_set wcs_chance 10;es_set wcs_time 1|es_set wcs_chance 25;es_set wcs_time 1.2|es_set wcs_chance 35;es_set wcs_time 1.8|es_set wcs_chance 45;es_set wcs_time 2.4" racealias_fareterolume = "es_fadevolume event_var(userid) 75 server_var(wcs_time) 0.5 1" cmd = "if (server_var(wcs_dice) <= server_var(wcs_chance)) then wcs_xalias racealias_fareterolume" sfx = ""
Обезоруживание:
[[skillX]] setting = "es_set wcs_chance 26|es_set wcs_chance 34|es_set wcs_chance 38|es_set wcs_chance 44" cmd = "if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xif (event_var(es_userdead) = 0) then wcs_xalias racealias_fullerdrop" racealias_fullerdrop = "es wcs drop event_var(userid) 1;es wcs drop event_var(userid) 2" sfx = ""
Огненная граната:
[[skillX]] setting = "es_set burn_time 1|es_set burn_time 2|es_set burn_time 3|es_set burn_time 4" cmd = "if (event_var(weapon) in server_var(wcs_wpn_grenades)) then es wcs_setfx burn event_var(userid) = 1 server_var(burn_time)" sfx = ""
Критическая граната:
[[skillX]] setting = "es_set wcs_multiplier 0.4;es_set wcs_chance 15|es_set wcs_multiplier 0.8;es_set wcs_chance 25|es_set wcs_multiplier 1.2;es_set wcs_chance 35|es_set wcs_multiplier 1.4;es_set wcs_chance 46" racealias_critsetlegrenade = "es_set wcs_m 0;es_set wcs_m event_var(dmg_health);es_xmath wcs_m float;es_xmath wcs_m * 3.0;es_math wcs_m * server_var(wcs_multiplier);es wcs_decimal wcs_m server_var(wcs_m);es wcs explode event_var(attacker) event_var(userid) server_var(wcs_m) 50;es wcs_xtell event_var(userid) r_crigrenade;es wcs_xtell event_var(attacker) r_crigrenade" cmd = "if (event_var(weapon) in server_var(wcs_wpn_grenades)) then es_xif (event_var(es_userdead) = 0) then if (server_var(wcs_dice) <+ server_var(wcs_chance)) then wcs_xalias racealias_critsetlegrenade" sfx = ""
Опьянение:
[[skillX]] setting = "es_set wcs_chance 10;es_set wcs_time 1|es_set wcs_chance 25;es_set wcs_time 1.5|es_set wcs_chance 35;es_set wcs_time 2.0|es_set wcs_chance 45;es_set wcs_time 3.2" cmd = "if (server_var(wcs_dice) <= server_var(wcs_chance) then es wcs drunk event_var(userid) server_var(wcs_time)" sfx = ""
Ослепление:
[[skillX]] setting = "es_set wcs_chance 15|es_set wcs_chance 25|es_set wcs_chance 34|es_set wcs_chance 38" racealias_fadezeeps = "es usermsg fade event_var(userid) 1 700 700 255 255 255 255" cmd = "if (server_var(wcs_dice) <= server_var(wcs_chance)) then wcs_xalias racealias_fadezeeps" sfx = ""
Откидывание:
[[skillX]] setting = "es_set wcs_chance 20|es_set wcs_chance 30|es_set wcs_chance 40|es_set wcs_chance 50" cmd = "if (server_var(wcs_dice) <= server_var(wcs_chance)) then wcs_xalias racealias_pushterseet" racealias_pushterseet = "es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es_getplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es_xmath wcs_z1 + 30;es_createvectorstring wcs_tmp server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1);es wcs pushto event_var(userid) server_var(wcs_tmp) -30" sfx = ""
Отталкивание:
[[skillX]] setting = "es_set wcs_chance 14|es_set wcs_chance 23|es_set wcs_chance 37|es_set wcs_chance 46" racealias_pushervent = "es wcs push event_var(userid) 0 0 300" cmd = "if (server_var(wcs_dice) <= server_var(wcs_chance)) then wcs_xalias racealias_pushervent" sfx = ""
Дополнительный урон:
[[skillX]] setting = "es_set wcs_mul 0.15;es_set wcs_chance 15|es_set wcs_mul 0.30;es_set wcs_chance 20|es_set wcs_mul 0.45;es_set wcs_chance 25|es_set wcs_mul 0.55;es_set wcs_chance 30" racealias_crutzeemsdamage = "es_set wcs_dmg event_var(dmg_health);es_xmath wcs_dmg float;es_math wcs_dmg * server_var(wcs_mul);es wcs_decimal wcs_dmg server_var(wcs_dmg);es wcs damage event_var(userid) event_var(attacker) server_var(wcs_dmg)" cmd = "if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xif (event_var(es_userdead) = 0) then wcs_xalias racealias_crutzeemsdamage" sfx = ""
Дополнительный урон из определенного оружия:
[[skillx]] setting = "es_set wcs_multiplier 0.4;es_set wcs_chance 15|es_set wcs_multiplier 0.8;es_set wcs_chance 20|es_set wcs_multiplier 1.2;es_set wcs_chance 25|es_set wcs_multiplier 1.4;es_set wcs_chance 30" racealias_weaporetyndamage = "es_set wcs_dmg event_var(dmg_health);es_xmath wcs_dmg float;es_math wcs_dmg * server_var(wcs_multiplier);es wcs_decimal wcs_dmg server_var(wcs_dmg);es wcs damage event_var(userid) event_var(attacker) server_var(wcs_dmg)" cmd = "if (server_var(wcs_dice) <= server_var(wcs_chance)) and if (event_var(weapon) = Введите оружие) then wcs_xalias racealias_weaporetyndamage" sfx = ""
Воровство денег:
[[skillX]] setting = "es_set wcs_money 500;es_set wcs_chance 15|es_set wcs_money 800;es_set wcs_chance 25|es_set wcs_money 1200;es_set wcs_chance 35|es_set wcs_money 1800;es_set wcs_chance 45" racealias_steamensplmoney = "es_getmoney wcs_cash event_var(userid);if (server_var(wcs_cash) >= server_var(wcs_money)) then wcs_xalias racealias_steamensplmoney1" racealias_steamensplmoney1 = "es playerset cashadd event_var(attacker) server_var(wcs_money);es playerset cashadd event_var(userid) - server_var(wcs_money)" cmd = "if (server_var(wcs_dice) <= server_var(wcs_chence)) then wcs_xalias racealias_steamensplmoney" sfx = ""
Вампиризм:
[[skillX]] setting = "es_set wcs_divider 0.2;es_set wcs_chance 10|es_set wcs_divider 0.4;es_set wcs_chance 15|es_set wcs_divider 0.6;es_set wcs_chance 20|es_set wcs_divider 0.8;es_set wcs_chance 25" cmd = "if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xif (event_var(es_userdead) = 0) then wcs_xalias racealias_vampirizmeesp" racealias_vampirizmeesp = "es_set wcs_dmg event_var(dmg_health);es_xmath wcs_dmg float;es_math wcs_dmg * server_var(wcs_divider);es wcs_decimal wcs_dmg server_var(wcs_dmg);es playerset healthadd event_var(attacker) server_var(wcs_dmg)" sfx = ""
Анти невидимость:
[[skillX]] setting = "es_set wcs_chance 26|es_set wcs_chance 38|es_set wcs_chance 48|es_set wcs_chance 68" racealias_antiinviseez = "es playerset color event_var(userid) 255 255 255 255" cmd = "if (server_var(wcs_dice) <= server_var(wcs_chance)) then wcs_xalias racealias_antiinviseez" sfx = ""
Изменение количества патрон в обойме:
[[skillX]] setting = "es_set wcs_chance 15|es_set wcs_chance 25|es_set wcs_chance 28"|es_set wcs_chance 35" cmd = "if (server_var(wcs_dice) <= server_var(wcs_chance)) then wcs_xalias racealias_zerynoclips" racealias_zerynoclips = "es wcs_setfx 1stclip event_var(userid) = 0;es wcs_setfx 2ndclip event_var(userid) = 0" sfx = ""
Паралич:
[[skillX]] setting = "es_set wcs_chance 15;es_set time 1|es_set wcs_chance 24;es_set time 1.2|es_set wcs_chance 28;es_set time 1.6|es_set wcs_chance 36;es_set time 2.1" racealias_paralizemrest = "es_setplayerprop event_var(userid) CBasePlayer.m_fFlags 66;es_delayed server_var(time) es_setplayerprop event_var(userid) CBasePlayer.m_fFlags 0" cmd = "if (server_var(wcs_dice) <= server_var(wcs_chance)) then wcs_xalias racealias_paralizemrest" sfx = ""
Переворот:
[[skillX]] setting = "es_set wcs_chance 12|es_set wcs_chance 24|es_set wcs_chance 32|es_set wcs_chance 38" racealias_wiewnerty = "es playerget viewcoord event_var(userid) wcs_x1 wcs_y1 wcs_z1;es_delayed 0.5 es playerset viewcoord event_var(attacker) server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1)" cmd = "if (server_var(wcs_dice) <= server_var(wcs_chance)) then wcs_xalias racealias_wiewnerty" sfx = ""
Поджигание:
[[skillX]] setting = "es_set wcs_chance 15;es_set wcs_time 1|es_set wcs_chance 25;es_set wcs_time 1.5|es_set wcs_chance 30;es_set wcs_time 2.4|es_set wcs_chance 38;es_set wcs_time 3.1" racealias_burnhuurty = "es wcs_setfx burn event_var(userid) = 1 server_var(wcs_time);es wcs_xtell event_var(userid) r_flame attacker event_var(es_attackername) victim event_var(es_username);es wcs_xtell event_var(attacker) r_flame attacker event_var(es_attackername) victim event_var(es_username)" cmd = "if (server_var(wcs_dice) <= server_var(wcs_chance)) then wcs_xalias racealias_burnhuurty" sfx = ""
Тряска экрана:
[[skillX]] setting = "es_set wcs_shaketime 2;es_set wcs_chance 15|es_set wcs_shaketime 3;es_set wcs_chance 20|es_set wcs_shaketime 4;es_set wcs_chance 25|es_set wcs_shaketime 5;es_set wcs_chance 30" racealias_fullspyshake = "es usermsg shake event_var(userid) 100 server_var(wcs_shaketime);es wcs_xtell event_var(userid) c_shaked_v attacker event_var(es_attackername);es wcs_xtell event_var(attacker) c_shaked_a victim event_var(es_username)" cmd = "if (server_var(wcs_dice) <= server_var(wcs_chance)) then wcs_xalias racealias_fullspyshake" sfx = ""
Урон с ножа:
[[skillX]] setting = "es_set wcs_chance 25|es_set wcs_chance 38|es_set wcs_chance 48|es_set wcs_chance 68" racealias_knifedamagesarty = "es_set wcs_dmg event_var(dmg_health);es wcs damage event_var(userid) event_var(attacker) server_var(wcs_dmg)" cmd = "if (server_var(wcs_dice) <= server_var(wcs_chance)) then if (event_var(weapon) = knife) then wcs_xalias racealias_knifedamagesarty" sfx = ""
Яд:
[[skillx]] setting = "es_set wcs_dmg 5;es_set wcs_chance 10;es_set wcs_tick 4|es_set wcs_dmg 8;es_set wcs_chance 20;es_set wcs_tick 3.5|es_set wcs_dmg 12;es_set wcs_chance 25;es_set wcs_tick 3.0|es_set wcs_dmg 14;es_set wcs_chance 28;es_set wcs_tick 2.5" racealias_poisonnomy = "es wcs poison event_var(userid) event_var(attacker) server_var(wcs_dmg) server_var(wcs_tick)" cmd = "if (server_var(wcs_dice) <= server_var(wcs_chance) then wcs_xalias racealias_poisonnomy" sfx = ""
Увеличение гравитации:
[[skillX]] setting = "es_set wcs_chance 10|es_xset wcs_chance 15|es_xset wcs_chance 26|es_xset wcs_chance 32" cmd = "if (server_var(wcs_dice) <= server_var(wcs_chance)) then wcs_xalias racealias_nogravetfity" racealias_nogravetfity = "es playerget gravity wcs_gravity event_var(userid);es_delayed 0.2 playerset gravity event_var(userid) 1.5;es_delayed 3 playerset gravity event_var(userid) server_var(wcs_gravity)" sfx = ""
Случайный урон:
[[skillX]] setting = "es_rand wcs_dmg 1 3|es_rand wcs_dmg 2 4|es_rand wcs_dmg 3 5|es_rand wcs_dmg 4 6" cmd = "if (server_var(wcs_dice) = 20) then wcs_xalias racealias_randomdaxernoe" racealias_randomdaxernoe = "es wcs damage event_var(attacker) event_var(userid) server_var(wcs_dmg)" sfx = ""
player_attacker - условие навыков которое используется при Атаке игрока.Вписывать это условие надо в:
skillcfg = "player_attacker"