Archived copy of warcraft-source.com, the Warcraft: Source (WCS) forum (2007–2011), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2008-12-05 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
December 05, 2008, 01:08:59 PM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Races and Items added into Download section from our great Race Coders!
Such as HOLLIDAY|NovaKiller|Stinkyfax|Frodo|TeacherCreature|Phat_Wizard
Google  
  Home   Forum   Help Search Login Register   *
Pages: [1]   Go Down
  Print  
This topic has not yet been rated! You have not rated this topic. Select a rating:
Author Topic: power in numbers, a shared ability multiplier  (Read 21 times)
overclucker
Level 0 Beginner

Offline Offline

United States United States

Posts: 5




overclucker
« on: December 03, 2008, 02:44:33 AM »

i would like for this to be evaluated. i'm an es beginner, so analyze everything i do for mistakes.
i want each race with:
Code
GeSHi (eventscripts):
es_keysetvalue WCSuserdata event_var(wcs_uid) symbiote 1
to increment a multiplier that can be used in the rest of the skills, like more damage, the more people with this key set.

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)
           }
       }
   }
}
 
« Last Edit: December 03, 2008, 01:58:27 PM by overclucker » Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
December 04, 2008, 09:57:56 PM
gg
December 04, 2008, 09:46:16 PM
hey guys, how are you?
gonna sleep, cya tomorrow
December 03, 2008, 12:45:48 PM
@ bombkill : all mods should be compatible with WCS... but we can't be sure
@retrokboy : css server? provider? other mods?
December 03, 2008, 01:49:25 AM
I NEED SERVER HELP MY FORUM IS IN BUG REPORT PLEASE REPLY I NEED HALP
December 02, 2008, 10:05:01 PM
does anyone know where all the wcs compatible mods are listed or a website i can find them
December 02, 2008, 08:24:47 PM
/agree
Recent
[Today at 12:14:07 PM]

[Today at 10:58:16 AM]

[Today at 09:15:22 AM]

[Today at 04:51:59 AM]

[Today at 04:11:23 AM]

[Today at 04:04:32 AM]

[Today at 04:02:29 AM]

[Today at 03:33:23 AM]

[Today at 01:07:24 AM]

[December 04, 2008, 10:55:49 PM]
Theme switch

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.08 seconds with 27 queries.