Code:
"31"
{
"name" "Tome of exp (500 xp)"
"description" "Tome of EXP x5"
"category" "5"
"cost" "10000"
"level" "0"
"dab" "2"
"duration" "0"
"maxamount" "0"
"itemconfig" "player_buy"
"cmdbuy" "es wcs_givexp event_var(userid) 500 0 1"
"cmdactivate" "0"
}
"32"
{
"name" "Tome of exp (1000 xp)"
"description" "Tome of Exp x10"
"category" "5"
"cost" "15000"
"level" "0"
"dab" "2"
"duration" "0"
"maxamount" "0"
"itemconfig" "player_buy"
"cmdbuy" "es wcs_givexp event_var(userid) 1000 0 1"
"cmdactivate" "0"
}
"33"
{
"name" "Shared Tome of XP (1000xp /all)"
"description" "1000xp to everyone on the server"
"category" "5"
"cost" "16000"
"level" "0"
"dab" "2"
"duration" "0"
"maxamount" "0"
"itemconfig" "player_buy"
"cmdbuy" "es_xforeachkey wcs_key in WCSuserdata "es wcs_givexp server_var(wcs_key) 1000"
"cmdactivate" "0"
}
{
"name" "Tome of exp (500 xp)"
"description" "Tome of EXP x5"
"category" "5"
"cost" "10000"
"level" "0"
"dab" "2"
"duration" "0"
"maxamount" "0"
"itemconfig" "player_buy"
"cmdbuy" "es wcs_givexp event_var(userid) 500 0 1"
"cmdactivate" "0"
}
"32"
{
"name" "Tome of exp (1000 xp)"
"description" "Tome of Exp x10"
"category" "5"
"cost" "15000"
"level" "0"
"dab" "2"
"duration" "0"
"maxamount" "0"
"itemconfig" "player_buy"
"cmdbuy" "es wcs_givexp event_var(userid) 1000 0 1"
"cmdactivate" "0"
}
"33"
{
"name" "Shared Tome of XP (1000xp /all)"
"description" "1000xp to everyone on the server"
"category" "5"
"cost" "16000"
"level" "0"
"dab" "2"
"duration" "0"
"maxamount" "0"
"itemconfig" "player_buy"
"cmdbuy" "es_xforeachkey wcs_key in WCSuserdata "es wcs_givexp server_var(wcs_key) 1000"
"cmdactivate" "0"
}
i got a few other items i made, well modified the orginal and made them, everyone on my server seems to love em,
Code:
"35"
{
"name" "Elite Cloak of Shadow"
"description" "100% invis"
"category" "6"
"cost" "16000"
"level" "4"
"dab" "1"
"duration" "1"
"maxamount" "1"
"itemconfig" "player_spawn"
"cmdbuy" "es es_xkeygetvalue wcs_invis WCSuserdata event_var(userid) invisp;es es_xif (server_var(wcs_invis) < 75) then est_setplayercolor event_var(userid) 255 255 255 0 1;es es_xif (server_var(wcs_invis) < 25) then es_xkeysetvalue WCSuserdata event_var(userid) invisp 25"
"cmdactivate" "es es_xkeygetvalue wcs_invis WCSuserdata event_var(userid) invisp;es es_xif (server_var(wcs_invis) < 75) then est_setplayercolor event_var(userid) 255 255 255 0 1;es es_xif (server_var(wcs_invis) < 25) then es_xkeysetvalue WCSuserdata event_var(userid) invisp 25"
}
"36"
{
"name" "Elite Claws of attack +21"
"description" "+21 dmg"
"category" "6"
"cost" "16000"
"level" "0"
"dab" "1"
"duration" "1"
"maxamount" "1"
"itemconfig" "player_attacker"
"cmdbuy" "0"
"cmdactivate" "es wcs_dealdamage event_var(attacker) event_var(userid) 21;esnq est_csay event_var(attacker) + 21 dmg;wcs_getlanguage wcs_lng wcs_lng_s_clawsa1;esnq est_csay event_var(userid) server_var(wcs_lng)"
}
"37"
{
"name" "Elite Tome of HP (+ 500)"
"description" "+ 500 HP"
"category" "6"
"cost" "16000"
"level" "0"
"dab" "1"
"duration" "0"
"maxamount" "1"
"itemconfig" "player_buy"
"cmdbuy" "es est_Health event_var(userid) + 500"
"cmdactivate" "0"
}
"38"
{
"name" "Elite Periapt of Health (+200)"
"description" "+ 200 HP, each round"
"category" "6"
"cost" "16000"
"level" "0"
"dab" "1"
"duration" "1"
"maxamount" "2"
"itemconfig" "player_spawn"
"cmdbuy" "es est_Health event_var(userid) + 200"
"cmdactivate" "es est_Health event_var(userid) + 200"
}
"39"
{
"name" "Elite Orb of Frost"
"description" "enemys move 60% slower when shot"
"category" "6"
"cost" "16000"
"level" "0"
"dab" "1"
"duration" "1"
"maxamount" "1"
"itemconfig" "player_attacker"
"cmdbuy" "0"
"cmdactivate" "es est_speed event_var(userid) 0.14;es es_xdelayed 3 wcs_removefx speed event_var(userid);wcs_getlanguage wcs_lng wcs_lng_s_orb1a;esnq est_csay event_var(attacker) server_var(wcs_lng);wcs_getlanguage wcs_lng wcs_lng_s_orb2a;esnq est_csay event_var(userid) server_var(wcs_lng)"
}
{
"name" "Elite Cloak of Shadow"
"description" "100% invis"
"category" "6"
"cost" "16000"
"level" "4"
"dab" "1"
"duration" "1"
"maxamount" "1"
"itemconfig" "player_spawn"
"cmdbuy" "es es_xkeygetvalue wcs_invis WCSuserdata event_var(userid) invisp;es es_xif (server_var(wcs_invis) < 75) then est_setplayercolor event_var(userid) 255 255 255 0 1;es es_xif (server_var(wcs_invis) < 25) then es_xkeysetvalue WCSuserdata event_var(userid) invisp 25"
"cmdactivate" "es es_xkeygetvalue wcs_invis WCSuserdata event_var(userid) invisp;es es_xif (server_var(wcs_invis) < 75) then est_setplayercolor event_var(userid) 255 255 255 0 1;es es_xif (server_var(wcs_invis) < 25) then es_xkeysetvalue WCSuserdata event_var(userid) invisp 25"
}
"36"
{
"name" "Elite Claws of attack +21"
"description" "+21 dmg"
"category" "6"
"cost" "16000"
"level" "0"
"dab" "1"
"duration" "1"
"maxamount" "1"
"itemconfig" "player_attacker"
"cmdbuy" "0"
"cmdactivate" "es wcs_dealdamage event_var(attacker) event_var(userid) 21;esnq est_csay event_var(attacker) + 21 dmg;wcs_getlanguage wcs_lng wcs_lng_s_clawsa1;esnq est_csay event_var(userid) server_var(wcs_lng)"
}
"37"
{
"name" "Elite Tome of HP (+ 500)"
"description" "+ 500 HP"
"category" "6"
"cost" "16000"
"level" "0"
"dab" "1"
"duration" "0"
"maxamount" "1"
"itemconfig" "player_buy"
"cmdbuy" "es est_Health event_var(userid) + 500"
"cmdactivate" "0"
}
"38"
{
"name" "Elite Periapt of Health (+200)"
"description" "+ 200 HP, each round"
"category" "6"
"cost" "16000"
"level" "0"
"dab" "1"
"duration" "1"
"maxamount" "2"
"itemconfig" "player_spawn"
"cmdbuy" "es est_Health event_var(userid) + 200"
"cmdactivate" "es est_Health event_var(userid) + 200"
}
"39"
{
"name" "Elite Orb of Frost"
"description" "enemys move 60% slower when shot"
"category" "6"
"cost" "16000"
"level" "0"
"dab" "1"
"duration" "1"
"maxamount" "1"
"itemconfig" "player_attacker"
"cmdbuy" "0"
"cmdactivate" "es est_speed event_var(userid) 0.14;es es_xdelayed 3 wcs_removefx speed event_var(userid);wcs_getlanguage wcs_lng wcs_lng_s_orb1a;esnq est_csay event_var(attacker) server_var(wcs_lng);wcs_getlanguage wcs_lng wcs_lng_s_orb2a;esnq est_csay event_var(userid) server_var(wcs_lng)"
}
next item im gona work on is the boots of speed, after a little more testing ill set it up so its like 5% more speed then the base and its like buying 2 for the price of one but at 2x the price, so buy the boots once instead of buying then buying it again, downside will be people might try to stack and get to much speed, but ill limit the item to 1

i also know some of the coding might seem wrong but everything seems to work out just fine, on the elite cloak wasent sure what the >75 ment, but all i did was change the alpha to 0 and it works great people loving it.
also you might notice i didnt do the wcs_lan stuff just seemed like usless work, but i did do it for the elite claws, so that way it showed up on the screen when you hit them and stuff, here is the code for that in your lan file.
Code:
"wcs_lng_s_claws1" "Claws of Attack +21"
"wcs_lng_s_clawsd1" "All your attacks make +21 damage"
"wcs_lng_s_clawsa1" "got additional +21 damage"
"wcs_lng_s_clawsd1" "All your attacks make +21 damage"
"wcs_lng_s_clawsa1" "got additional +21 damage"






Logged



United States
Denmark

Netherlands

