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 2010-10-21 (original capture). Home · Forum · All archived topics · Downloads

Author Topic: Approved~ [Race] White Knight  (Read 630 times)

MiB

  • Custom Coder
  • Level 7 Expert
  • Posts: 1035
Approved~ [Race] White Knight
« on: July 26, 2010, 12:43:18 PM »

White Knight By Shidobu

REQUIRES LATEST [WCX] VERSION!

Chain Mail - Your Chain Mail takes the impact of enemy blades. - Spawn
  Spike Arm - You use your spike arm to cause severe damage. - Nade Damage - Attacker
Poison Lilly - Your sword that was made by the white sages. - Attacker

Code: [Select]
"x"
   {
    "name"              "White Knight"
    "author"            "Shidobu"
    "shortdescription"  "Dark Ages"
    "required_level"    "0"
    "maximum_level"     "0"
    "allow_only"        "0"
    "teamlimit"         "0"
    "preloadcmd"        "0"
    "player_spawn_cmd"  "es_give event_var(userid) weapon_hegrenade;es wcx_nadeback event_var(userid) hegrenade 1;es_tell event_var(userid) #multi #green[#lightgreenSpike Arm Supply#green] #defaultYou got unlimited spike arms."
    "round_start_cmd"   "0"
    "round_end_cmd"     "0"
    "numberofskills"    "3"
    "numberoflevels"    "5"
    "skillnames"        "Chain Mail(Spawn)|Spike Arm(Attacker)|Poison Lilly(Attacker)"
    "skilldescr"        "Your Chain Mail takes the impact of enemy blades.|You use your spike arm to cause severe damage.|Your sword that was made by the white sages."
    "skillcfg"          "player_spawn|player_attacker|player_attacker"

    "skill1_setting" "es_xset wcs_chance 5|es_xset wcs_chance 10|es_xset wcs_chance 15|es_xset wcs_chance 20|es_xset wcs_chance 25"
    "skill1_cmd" "es wcx_evade event_var(userid) server_var(wcs_chance);es_tell event_var(userid) #multi #green[#lightgreenChain Mail#green] #defaultYou got server_var(wcs_chance)% chance of letting your chain mail taking most of the damage."
    "skill1_sfx" "0"

    "skill2_setting" "es_xset wcs_multiplier .4|es_xset wcs_multiplier .6|es_xset wcs_multiplier .8|es_xset wcs_multiplier 1.0|es_xset wcs_multiplier 1.2"
    "racealias_white2" "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);racealias_white2x"
    "racealias_white2x" "es_tell event_var(userid) #multi #green[#lightgreenSpike Arm#green] #defaultYou were hit for server_var(wcs_dmg) damage from event_var(es_attackername).;es_tell event_var(attacker) #multi #green[#lightgreenSpike Arm#green] #defaultYou caused server_var(wcs_dmg) damage to event_var(es_username)."
    "skill2_cmd" "if (event_var(weapon) = hegrenade) then racealias_white2"
    "skill2_sfx" "0"

    "skill3_setting" "es_xset wcs_chance 10|es_xset wcs_chance 15|es_xset wcs_chance 20|es_xset wcs_chance 25|es_xset wcs_chance 30"
    "racealias_white3" "es_set wcs_dmg event_var(dmg_health);es_xmath wcs_dmg float;es_xmath wcs_dmg / 3;es est_RoundDecimal wcs_dmg server_var(wcs_dmg) 0;es_xrand wcs_rand 1 4;racealias_white3u"
    "racealias_white3u" "if (server_var(wcs_dmg) > 0) then wcx_dealpoison event_var(attacker) event_var(userid) server_var(wcs_dmg) server_var(wcs_rand)"
    "skill3_cmd" "if (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_white3"
    "skill3_sfx" "0"   
}

Note: This was a short AND tested race that I made for the people who are having troubles with my wcx_dealpoison command.
« Last Edit: July 31, 2010, 01:01:05 PM by Shidobu »

~The Sig Changes Each Time~
~The Sigs Them Selfs Are By Hybrid Click The Sigs To See His Other Sigs~

heru

  • Level 3 Trained Apprentice
  • Posts: 69
Re: White Knight
« Reply #1 on: July 26, 2010, 01:08:26 PM »
ill put it up on the server later tonight and do a test =)

Ichigo

  • Level 5 Trained Intermediate
  • Posts: 107
Re: White Knight
« Reply #2 on: July 26, 2010, 01:35:58 PM »
Skill 1 should be a player_victim

MiB

  • Custom Coder
  • Level 7 Expert
  • Posts: 1035
Re: White Knight
« Reply #3 on: July 26, 2010, 01:41:45 PM »
No it shouldn't.

~The Sig Changes Each Time~
~The Sigs Them Selfs Are By Hybrid Click The Sigs To See His Other Sigs~

Ichigo

  • Level 5 Trained Intermediate
  • Posts: 107
Re: White Knight
« Reply #4 on: July 26, 2010, 01:48:25 PM »
No it shouldn't.
Isn't this an evade skill?

MiB

  • Custom Coder
  • Level 7 Expert
  • Posts: 1035
Re: White Knight
« Reply #5 on: July 26, 2010, 01:54:21 PM »
Yes.

~The Sig Changes Each Time~
~The Sigs Them Selfs Are By Hybrid Click The Sigs To See His Other Sigs~

Yiyas

  • Inactive Moderator
  • Level 7 Expert
  • Posts: 461
  • The name's Bugger. De-Bugger.
Re: White Knight
« Reply #6 on: July 26, 2010, 03:25:47 PM »
Don't you have a wcx_absorb command which takes %ge off hits instead of full evasion? I think that'd fit the chainmail armor idea more. Otherwise it looks good except I don't think anyone could guess that skill2 is nades only from the description and perhaps that skill3 isn't knife only :P
I watch porn for the music.

MiB

  • Custom Coder
  • Level 7 Expert
  • Posts: 1035
Re: White Knight
« Reply #7 on: July 26, 2010, 04:03:58 PM »
Don't you have a wcx_absorb command which takes %ge off hits instead of full evasion? I think that'd fit the chainmail armor idea more. Otherwise it looks good except I don't think anyone could guess that skill2 is nades only from the description and perhaps that skill3 isn't knife only :P
I was thinking about a absorb command lol.

~The Sig Changes Each Time~
~The Sigs Them Selfs Are By Hybrid Click The Sigs To See His Other Sigs~

Scyther

  • Level 5 Trained Intermediate
  • Posts: 114
  • <3 WCS :)
Re: White Knight
« Reply #8 on: July 26, 2010, 10:13:28 PM »
Thanks, as i know i was one of the people with dealpoison issues ^^

<---Texno--->

  • Level 7 Expert
  • Posts: 1093
  • OMG, Shoes.
Re: White Knight
« Reply #9 on: July 26, 2010, 10:32:03 PM »
White against black lol.
STEAM: texno755
Msn: [email protected]
Skype: gameren755

MiB

  • Custom Coder
  • Level 7 Expert
  • Posts: 1035
Re: White Knight
« Reply #10 on: July 27, 2010, 12:32:22 AM »
Thanks, as i know i was one of the people with dealpoison issues ^^
Thats why I made it ^^

White against black lol.
Hehe.

~The Sig Changes Each Time~
~The Sigs Them Selfs Are By Hybrid Click The Sigs To See His Other Sigs~

Warcraft-Source.com

« on: »