i want each race with:
Code
to increment a multiplier that can be used in the rest of the skills, like more damage, the more people with this key set.GeSHi (eventscripts):es_keysetvalue WCSuserdata event_var(wcs_uid) symbiote 1
Code
GeSHi (eventscripts):
block wcs_symbiote
{
es_set symbiote_mult 0
es_xset wcs_exists 0
es es_xexists wcs_exists userid server_var(wcs_uid)
es es_xif (server_var(wcs_time) < 1) then es_xsetinfo wcs_exists 0
es es_xif (server_var(wcs_exists) = 1) do
{
es_xset wcs_exists 0
es es_xexists wcs_exists key WCSuserdata server_var(wcs_uid)
es es_xif (server_var(wcs_exists) = 1) do
{
es_xset wcs_exists 0
es es_xexists wcs_exists key WCSuserdata server_var(wcs_uid) symbiote
es es_xif (server_var(wcs_exists) = 1) do
{
es es_xsetinfo symbiotes 0
es es_xkeygetvalue symbiotes WCSuserdata server_var(wcs_uid) symbiote
es es_xif (server_var(symbiotes) = 1) do
es_xmath symbiote_mult + 1
es_keycreate WCStmp symbiotes
es_keysetvalue WCStmp symbiotes multiplier server_var(symbiote_mult)
}
}
}
}





United States
Logged
