Skill Code:
Code:
"skill2_setting" "es_xrand wcs_rand 1 30;es_xsetinfo wcs_divider 14|es_xrand wcs_rand 1 20;es_xsetinfo wcs_divider 13|es_xrand wcs_rand 1 10;es_xsetinfo wcs_divider 11|es_xrand wcs_rand 1 08;es_xsetinfo wcs_divider 9|es_xrand wcs_rand 1 06;es_xsetinfo wcs_divider 7|es_xrand wcs_rand 1 04;es_xsetinfo wcs_divide 5|es_xrand wcs_rand 1 03;es_xsetinfo wcs_divider 4|es_xrand wcs_rand 1 02;es_xsetinfo wcs_divider 3"
"racealias_ne2" "es_set wcs_dmg event_var(dmg_health);if (server_var(wcs_game) != server_var(wcs_game_css)) then es_xrand wcs_dmg 1 20;es_xmath wcs_dmg float;es_math wcs_dmg / server_var(wcs_divider);es est_RoundDecimal wcs_dmg server_var(wcs_dmg) 0;es wcs_dealdamage event_var(userid) event_var(attacker) server_var(wcs_dmg);wcs_getlanguage wcs_lng wcs_lng_mirrordamage;esnq est_csay event_var(userid) server_var(wcs_dmg) server_var(wcs_lng);esnq est_csay event_var(attacker) server_var(wcs_dmg) server_var(wcs_lng)"
"racealias_mirrorcheck" "es_xkeygetvalue mirror_immunity WCSuserdata event_var(attacker) mirror_immunity;es if (server_var(mirror_immunity) = 1) then es_xtell event_var(userid) #multi #default[#greenWarcraft Source#default]#lightgreen Your Mirror Damage Was Blocked;if (server_var(mirror_immunity) = 0) then racealias_ne2"
"skill2_cmd" "if (server_var(wcs_dice) <= server_var(wcs_chance)) then est_isalive wcs_alive event_var(attacker);if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xif (server_var(wcs_alive) = 1) then racealias_mirrorcheck"
"skill2_sfx" "if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);if (server_var(wcs_dice) <= server_var(wcs_chance)) then est_effect 3 #a 0 sprites/purpleglow1.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 1 10 10 20 200 200 255"
"racealias_ne2" "es_set wcs_dmg event_var(dmg_health);if (server_var(wcs_game) != server_var(wcs_game_css)) then es_xrand wcs_dmg 1 20;es_xmath wcs_dmg float;es_math wcs_dmg / server_var(wcs_divider);es est_RoundDecimal wcs_dmg server_var(wcs_dmg) 0;es wcs_dealdamage event_var(userid) event_var(attacker) server_var(wcs_dmg);wcs_getlanguage wcs_lng wcs_lng_mirrordamage;esnq est_csay event_var(userid) server_var(wcs_dmg) server_var(wcs_lng);esnq est_csay event_var(attacker) server_var(wcs_dmg) server_var(wcs_lng)"
"racealias_mirrorcheck" "es_xkeygetvalue mirror_immunity WCSuserdata event_var(attacker) mirror_immunity;es if (server_var(mirror_immunity) = 1) then es_xtell event_var(userid) #multi #default[#greenWarcraft Source#default]#lightgreen Your Mirror Damage Was Blocked;if (server_var(mirror_immunity) = 0) then racealias_ne2"
"skill2_cmd" "if (server_var(wcs_dice) <= server_var(wcs_chance)) then est_isalive wcs_alive event_var(attacker);if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xif (server_var(wcs_alive) = 1) then racealias_mirrorcheck"
"skill2_sfx" "if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);if (server_var(wcs_dice) <= server_var(wcs_chance)) then est_effect 3 #a 0 sprites/purpleglow1.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 1 10 10 20 200 200 255"
Shopmenu Code:
Code:
"mirrorm"
{
"name" "Immunity: Mirror Dmg"
"description" "Immune From Mirror Dmg"
"category" "8"
"cost" "5000"
"level" "5"
"dab" "1"
"duration" "1"
"maxamount" "1"
"itemconfig" "player_spawn"
"cmdbuy" "es es_xtell event_var(userid) #multi You Are Immune From Mirror Dmg;es es_keysetvalue WCSuserdata event_var(userid) mirror_immunity 1"
"cmdactivate" "es es_xtell event_var(userid) #multi You Are Immune From Mirror Dmg;es es_keysetvalue WCSuserdata event_var(userid) mirror_immunity 1"
}
{
"name" "Immunity: Mirror Dmg"
"description" "Immune From Mirror Dmg"
"category" "8"
"cost" "5000"
"level" "5"
"dab" "1"
"duration" "1"
"maxamount" "1"
"itemconfig" "player_spawn"
"cmdbuy" "es es_xtell event_var(userid) #multi You Are Immune From Mirror Dmg;es es_keysetvalue WCSuserdata event_var(userid) mirror_immunity 1"
"cmdactivate" "es es_xtell event_var(userid) #multi You Are Immune From Mirror Dmg;es es_keysetvalue WCSuserdata event_var(userid) mirror_immunity 1"
}
Yes i searched fourms and found nothing useful if anyone can help me that would be great.
sorry if this seems very noobish but i cant figure this out and this is why i came here im sorry.






United States
Logged


