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 2009-02-22 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
February 22, 2009, 10:32:19 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: Succubus does Damage :o  (Read 57 times)
SynDraXx
Level 3 Trained Apprentice
***
Online Online

Germany Germany

Posts: 70


- Junior Coder -


« on: February 19, 2009, 10:47:07 PM »

Hey guys,

i got that problem, that succubus can have up to 300 healthpoints and he does more damage with normal weapons, not only with knife...
i got the original succubus hunter, but another skills.txt and ultimates.txt...

Can someone help me, please ?

greetz
Logged
WCA | Berettonawak [FR]
Watchdogs
Level 7 Expert
*****
Offline Offline

France France

Posts: 1621


Big Berettonawak is watching you...



Bifkids

myServer 81.93.251.44:27015
(Warning: click connects through Steam)
« Reply #1 on: February 19, 2009, 10:49:01 PM »

usually he could only go to 180 hp.
but he has 2 damage skills..
one for knife, and one for every weep Tongue
Logged


MY INTERNET:
SynDraXx
Level 3 Trained Apprentice
***
Online Online

Germany Germany

Posts: 70


- Junior Coder -


« Reply #2 on: February 20, 2009, 02:25:51 PM »

usually he could only go to 180 hp.

thats the problem =/
he can have 300 hp and then u can buy periapt of health,so you can have 400 hp-.-
i will restrict periapt of health, but i want him to have max 180 health...
i can't find the bug.

Code:
  {
    "name"              "wcs_lng_r_suc"
    "required_level"    "90"
    "maximum_level"     "0"
    "allow_only"        "0"
    "teamlimit"         "3"
    "restrict_shop"     "<longjump>"
    "preloadcmd"        "es_xset wcs_sucxp 0;es_xset wcs_skulls 0;es_xset wcs_skulls_amount 0"
    "player_spawn_cmd"  "es_keygetvalue wcs_tmp WCSuserdata event_var(userid) skulls;wcs_getlanguage wcs_lng wcs_lng_r_skulls;es_format wcs_lng server_var(wcs_lng) server_var(wcs_tmp);es_tell event_var(userid) #multi server_var(wcs_lng)"
    "round_start_cmd"   "0"
    "round_end_cmd"     "0"
    "numberofskills"    "5"
    "numberoflevels"    "3"
    "skillnames"        "wcs_lng_r_suc_skilln"
    "skilldescr"        "wcs_lng_r_suc_skilld"
    "skillcfg"          "player_attacker|player_attacker|player_spawn|player_spawn|player_ultimate"

    "skill1_setting"    "es_xset wcs_multiplier 0.5|es_xset wcs_multiplier 0.75|es_xset wcs_multiplier 0.9"
    "racealias_succu1"  "es_set wcs_dmg event_var(dmg_health);es_xmath wcs_dmg float;es_math wcs_dmg * server_var(wcs_multiplier);es est_RoundDecimal wcs_dmg server_var(wcs_dmg) 0;es wcs_dealdamage event_var(attacker) event_var(userid) server_var(wcs_dmg);wcs_getlanguage wcs_lng wcs_lng_r_knifedmg;es_format wcs_lng server_var(wcs_lng) event_var(es_attackername) server_var(wcs_dmg) event_var(es_username);es_tell event_var(attacker) #multi server_var(wcs_lng);es_tell event_var(userid) #multi server_var(wcs_lng)"
    "skill1_cmd"        "if (event_var(weapon) in server_var(wcs_wpn_knives)) then racealias_succu1"
    "skill1_sfx"        "if (event_var(weapon) in server_var(wcs_wpn_knives)) then es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es_xmath wcs_z1 + 50;if (event_var(weapon) in server_var(wcs_wpn_knives)) then est_effect 11 #a 0 sprites/purpleglow1.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 2 4 255"

    "skill2_setting"    "es_xset wcs_multiplier 0.2;es_xrand wcs_sucxp 5 10|es_xset wcs_multiplier 0.3;es_xrand wcs_sucxp 10 15|es_xset wcs_multiplier 0.4;es_xrand wcs_sucxp 15 20"
    "racealias_sk_add"  "es_xset wcs_tmp 0;es_keygetvalue wcs_tmp WCSuserdata event_var(attacker) skulls;if (server_var(wcs_tmp) = 0) then es_xset wcs_tmp 0;es_xmath wcs_tmp + 1;es_keysetvalue WCSuserdata event_var(attacker) skulls server_var(wcs_tmp)"
    "racealias_succu2"  "es_set wcs_dmg event_var(dmg_health);es_xmath wcs_dmg float;es_math wcs_dmg * server_var(wcs_multiplier);es est_RoundDecimal wcs_dmg server_var(wcs_dmg) 0;es wcs_dealdamage event_var(attacker) event_var(userid) server_var(wcs_dmg);es wcs_givexp event_var(attacker) server_var(wcs_sucxp) 0 0;racealias_sk_add;wcs_getlanguage wcs_lng wcs_lng_r_flamestrikea;es_format wcs_lng server_var(wcs_lng) event_var(es_username) server_var(wcs_sucxp);es_tell event_var(attacker) #multi server_var(wcs_lng);wcs_getlanguage wcs_lng wcs_lng_r_flamestrikev;es_format wcs_lng server_var(wcs_lng) event_var(es_attackername);es_tell event_var(userid) #multi server_var(wcs_lng)"
    "skill2_cmd"        "if (server_var(wcs_dice) <= 30) then racealias_succu2"
    "skill2_sfx"        "if (server_var(wcs_dice) <= 30) then es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);if (server_var(wcs_dice) <= 30) then es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);if (server_var(wcs_dice) <= 30) then est_Effect 3 #a 0 sprites/lgtning.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) 0.5 40 40 255 200 0 255"

    "skill3_setting"    "es_xset wcs_hp 2;es_xrand wcs_money 5 10|es_xset wcs_hp 3;es_xrand wcs_money 10 15|es_xset wcs_hp 4;es_xrand wcs_money 15 20"
    "racealias_succu3"  "es_math wcs_hp * server_var(wcs_skulls);es_math wcs_money * server_var(wcs_skulls);if (server_var(wcs_hp) > 80) then es_xset wcs_hp 80;es est_health event_var(userid) + server_var(wcs_hp);es est_cash event_var(userid) + server_var(wcs_money);wcs_getlanguage wcs_lng wcs_lng_r_skullspawn;es_format wcs_lng server_var(wcs_lng) server_var(wcs_hp) server_var(wcs_money) server_var(wcs_skulls);es_tell event_var(userid) #multi server_var(wcs_lng)"
    "skill3_cmd"        "es_keygetvalue wcs_skulls WCSuserdata event_var(userid) skulls;if (server_var(wcs_skulls) > 0) then racealias_succu3"
    "skill3_sfx"        "es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es_xmath wcs_z1 + 15;es est_effect 11 #a 0 sprites/xfireball3.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 4 2 255"
   
    "skill4_setting"    "es_xset wcs_multiplier 1.2|es_xset wcs_multiplier 1.3|es_xset wcs_multiplier 1.4"
    "skill4_cmd"        "es_keysetvalue WCSuserdata event_var(userid) longjump server_var(wcs_multiplier);wcs_getlanguage wcs_lng wcs_lng_r_longjump;es_tell event_var(userid) #multi server_var(wcs_lng)"
    "skill4_sfx"        "es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid);es est_effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 50 1 30 100 0.8 255 100 100 255 1"
   
    "skill5_setting"    "es_xset wcs_skulls_amount 1;es_xset wcs_invis 200;es_xset wcs_gravity 0.8;es_xset wcs_health 20|es_xset wcs_skulls_amount 2;es_xset wcs_invis 150;es_xset wcs_gravity 0.7;es_xset wcs_health 30|es_xset wcs_skulls_amount 2;es_xset wcs_invis 100;es_xset wcs_gravity 0.6;es_xset wcs_health 40|es_xset wcs_skulls_amount 3;es_xset wcs_invis 80;es_xset wcs_gravity 0.5;es_xset wcs_health 50"
    "racealias_succu5"  "es_math wcs_skulls - server_var(wcs_skulls_amount);es_keysetvalue WCSuserdata server_var(wcs_userid) skulls server_var(wcs_skulls);es est_gethealth wcs_hp server_var(wcs_userid);es_math wcs_hp + server_var(wcs_health);if (server_var(wcs_hp) <= 200) then est_sethealth server_var(wcs_userid) server_var(wcs_hp);es est_SetGravity server_var(wcs_userid) server_var(wcs_gravity);es est_setplayercolor server_var(wcs_userid) 255 255 255 server_var(wcs_invis) 1;es_xmath wcs_invis float;es_xmath wcs_invis / -2.55;es_xmath wcs_invis + 100;es est_rounddecimal wcs_invis server_var(wcs_invis) 0;es_keysetvalue WCSuserdata server_var(wcs_userid) invisp server_var(wcs_invis);wcs_getlanguage wcs_lng wcs_lng_r_transform;es_format wcs_lng server_var(wcs_lng) server_var(wcs_skulls_amount);es_tell server_var(wcs_userid) #multi server_var(wcs_lng)"
    "skill5_cmd"        "es_keygetvalue wcs_skulls WCSuserdata server_var(wcs_userid) skulls;wcs_getlanguage wcs_lng wcs_lng_r_noskulls;if (server_var(wcs_skulls) < server_var(wcs_skulls_amount)) then es_xtell server_var(wcs_userid) #multi server_var(wcs_lng) server_var(wcs_skulls_amount);if (server_var(wcs_skulls) < server_var(wcs_skulls_amount)) then wcs_ultinotexec 1;if (server_var(wcs_skulls) >= server_var(wcs_skulls_amount)) then racealias_succu5"
    "skill5_sfx"        "es_keygetvalue wcs_skulls WCSuserdata server_var(wcs_userid) skulls;es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid);if (server_var(wcs_skulls) >= server_var(wcs_skulls_amount)) then est_effect 11 #a 0 sprites/yelflare1.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 4 2 255"
    "ultimate_cooldown" "5"
  }
Logged
WCA | Maxxi [NL]
Level 7 Expert
*****
Online Online

Netherlands Netherlands

Posts: 891



WWW
16maxpayne16

myServer 81.26.221.156:27015
(Warning: click connects through Steam)
« Reply #3 on: February 20, 2009, 02:32:54 PM »

Code:
"racealias_succu3"  "es_math wcs_hp * server_var(wcs_skulls);es_math wcs_money * server_var(wcs_skulls);if (server_var(wcs_hp) > 80) then es_xset wcs_hp 80;es est_health event_var(userid) + server_var(wcs_hp)

its just good coding here so i dont know exactly were the problem is
Logged

Server = work in progress Smiley


SynDraXx
Level 3 Trained Apprentice
***
Online Online

Germany Germany

Posts: 70


- Junior Coder -


« Reply #4 on: February 20, 2009, 03:41:12 PM »

i don't know, too -.-

the only thing i know, is that it does not stop at 180 :[
Logged
comentator
Level 0 Beginner

Offline Offline

Posts: 1



« Reply #5 on: February 21, 2009, 01:53:38 PM »

okay guys,

SynDraXx and me fixed out a version of succubus which is working on our server, now.

for all, who got the same problem with succubus, that the health goes up to 300 hp, just use that skill.

Code:
    "skill3_setting"    "es_xset wcs_hp 2;es_xrand wcs_money 5 10|es_xset wcs_hp 3;es_xrand wcs_money 10 15|es_xset wcs_hp 4;es_xrand wcs_money 15 20"
    "racealias_succu3"  "es_math wcs_hp * server_var(wcs_skulls);es_math wcs_money * server_var(wcs_skulls);if (server_var(wcs_hp) > 80) then es_xset wcs_hp 80;es est_health event_var(userid) + server_var(wcs_hp);es est_cash event_var(userid) + server_var(wcs_money);wcs_getlanguage wcs_lng wcs_lng_r_skullspawn;es_format wcs_lng server_var(wcs_lng) server_var(wcs_hp) server_var(wcs_money) server_var(wcs_skulls);es_tell event_var(userid) #multi server_var(wcs_lng)"
    "racealias_succu4" "es est_GetHealth wcs_limit server_var(wcs_userid);if (server_var(wcs_limit) <= 180) then racealias_succu3"
    "skill3_cmd"        "es_keygetvalue wcs_skulls WCSuserdata event_var(userid) skulls;if (server_var(wcs_skulls) > 0) then racealias_succu4"
    "skill3_sfx"        "es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es_xmath wcs_z1 + 15;es est_effect 11 #a 0 sprites/xfireball3.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 4 2 255"
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 10:20:49 PM
i am not an admin please do not confuse us wca members ffs >.>
Today at 09:15:27 PM
You are admin. That you're no adult is no excuse.
Today at 08:48:12 PM
im not an adult yet so i can behave like this Wink
Today at 08:39:52 PM
Well sir for the record you are the adult who is not letting this go.
Today at 08:37:44 PM
untill u apolagise or stop acting like your innocent no
Today at 08:35:43 PM
Still insulting me, anyway NOW are we done?
Today at 08:35:16 PM
you sure look like a child perhaps no sleep makes u like that >.>
Recent
[Today at 10:25:24 PM]

[Today at 10:19:11 PM]

[Today at 09:55:31 PM]

[Today at 08:52:54 PM]

[Today at 08:38:40 PM]

[Today at 08:09:13 PM]

[Today at 08:04:13 PM]

[Today at 07:50:18 PM]

[Today at 06:00:19 PM]

[Today at 05:32:34 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.043 seconds with 27 queries.