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-03-29 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
March 29, 2009, 05:46:04 AM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Join the new Facebook Warcraft-Source.com Group! It has been currently opened!
Join!
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: misc shop items  (Read 505 times)
max42
Level 1 Trained Beginner
*
Offline Offline

Posts: 20



« on: March 06, 2008, 05:19:41 PM »

hi guys

here are some shop items i made for my server hope you like

**NOTE** requires mani admin to run


Scroll Of Reveal Allows You To Beacon Your Enemy With 45% Chance"
Code:
//2
 "ech32"
  {
  "name"        "Scroll Of Reveal"
  "description" "Buying This Item Allows \nYou To Beacon Your Enemy \nWith 45% Chance"
  "category"    "5"
  "cost"        "2500"
  "level"       "0"
  "dab"         "1"
  "duration"    "1"
  "maxamount"   "1"
  "itemconfig"  "player_attacker"
  "cmdbuy"      "0"
  "shopalias_beacon""es ma_beacon event_var(userid) 1"
  "cmdactivate" "es es_xif (server_var(wcs_dice) <= 45) then shopalias_beacon"
  }


Potion Of Confusion Allows You To Drug Your Enemy With 35% Chance
Code:
//3
 "ech33"
  {
  "name"        "Potion Of Confusion"
  "description" "Buying This Item Allows \nYou To Drug Your Enemy \nWith 35% Chance"
  "category"    "5"
  "cost"        "3000"
  "level"       "0"
  "dab"         "1"
  "duration"    "1"
  "maxamount"   "1"
  "itemconfig"  "player_attacker"
  "cmdbuy"      "0"
  "shopalias_drug""es ma_drug event_var(userid) 1"
  "cmdactivate" "es es_xif (server_var(wcs_dice) <= 35) then shopalias_drug"
  }


Scroll 0f Darkness Allows You To Blind Your Enemy With 55% Chance
Code:
//7
 "ech37"
  {
  "name"        "Scroll 0f Darkness"
  "description" "Buying This Item Allows You \nTo Blind Your Enemy \nWith 55% Chance"
  "category"    "5"
  "cost"        "8000"
  "level"       "8"
  "dab"         "1"
  "duration"    "1"
  "maxamount"   "1"
  "itemconfig"  "player_attacker"
  "cmdbuy"      "0"
  "shopalias_blind""es ma_blind event_var(userid) 1"
  "cmdactivate" "es es_xif (server_var(wcs_dice) <= 55) then shopalias_blind"
  }


Zeus's Thunderbolt Get 25% Chance For Your Enemy To Be Slayed
Code:
//9
 "ech39"
  {
  "name"        "Zeus's Thunderbolt"
  "description" "Get 25% Chance For Your Enemy To Be Slayed"
  "category"    "5"
  "cost"        "16000"
  "level"       "20"
  "dab"         "1"
  "duration"    "1"
  "maxamount"   "1"
  "itemconfig"  "player_attacker"
  "cmdbuy"      "0"
  "shopalias_slay""es ma_slay event_var(userid) 1"
  "cmdactivate" "es es_xif (server_var(wcs_dice) <= 25) then shopalias_slay"
  }
Logged

HOLLIDAY
<Race Maker>
Watchdogs
Level 7 Expert
*****
Offline Offline

Posts: 2055



WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 8.2.0.222:27015
(Warning: click connects through Steam)
« Reply #1 on: March 06, 2008, 06:20:32 PM »

why the shopalias for a single command?


es es_xif (server_var(wcs_dice) <= 45) then ma_beacon event_var(userid) 1

instead of using est_slay you could use est_damage or wcs_damage 100
the difference is with est_slay, the player suicides and you dont get a kill
Logged


max42
Level 1 Trained Beginner
*
Offline Offline

Posts: 20



« Reply #2 on: March 06, 2008, 06:31:44 PM »

the reason for the slay cmd was the effect more than anything (lighting from the sky) hence Zeus's Thunderbolt

have never used the other cmds but will bare these in mind cheers:D


as for shopalias i was working on other things at the time and using the same format for them all
your fight single cmd could have just been put in the cmd line Tongue
Logged

HOLLIDAY
<Race Maker>
Watchdogs
Level 7 Expert
*****
Offline Offline

Posts: 2055



WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 8.2.0.222:27015
(Warning: click connects through Steam)
« Reply #3 on: March 06, 2008, 06:43:00 PM »

you took the est_slay from  Zeus's Thunderbolt,  but you forgot the thunderbolt,
skill_sfx   this will just cause player to suicide with no sfx
Logged


max42
Level 1 Trained Beginner
*
Offline Offline

Posts: 20



« Reply #4 on: March 06, 2008, 06:46:47 PM »

it's not "est_slay"

it's "ma_slay"

a mani admin cmd that will give you the effect thats why at the top it says you will need mani for this to work Tongue
Logged

HOLLIDAY
<Race Maker>
Watchdogs
Level 7 Expert
*****
Offline Offline

Posts: 2055



WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 8.2.0.222:27015
(Warning: click connects through Steam)
« Reply #5 on: March 06, 2008, 07:02:50 PM »

..ma_slay has its own effects?  lol
Logged


max42
Level 1 Trained Beginner
*
Offline Offline

Posts: 20



« Reply #6 on: March 06, 2008, 07:19:36 PM »

..ma_slay has its own effects?  lol


yep it's like lighting strike which is why i used the cmd it's a admin cmd for mani admin plugin
Logged

Espeladden
Pwning ultra sexy beastly hot legend
Level 7 Expert
*****
Offline Offline

Norway

Posts: 583



WWW
Gastingor
Mursat

myServer 74.86.98.64:27017
(Warning: click connects through Steam)
« Reply #7 on: March 06, 2008, 07:38:27 PM »

And est_slay doesnt?
Logged

max42
Level 1 Trained Beginner
*
Offline Offline

Posts: 20



« Reply #8 on: March 06, 2008, 07:47:52 PM »

And est_slay doesnt?

dont know never used the cmd est_slay

quick check on my server est_slay has no effects at all

ma_slay is a mani admin cmd used for admining servers and it has it's own effect this is why i used it Cheesy
« Last Edit: March 06, 2008, 07:49:49 PM by max42 » Logged

Espeladden
Pwning ultra sexy beastly hot legend
Level 7 Expert
*****
Offline Offline

Norway

Posts: 583



WWW
Gastingor
Mursat

myServer 74.86.98.64:27017
(Warning: click connects through Steam)
« Reply #9 on: March 06, 2008, 08:52:10 PM »

IMO u should just make new effects Cheesy
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 03:28:44 AM
Yea ramon TC had made some coding mistakes that were crashing it at least that is how it appears, I delt with it.
Today at 12:02:21 AM
koshy server crash!! twice last 2 hours
March 28, 2009, 11:47:27 PM
Anybody want to help me out on a skill Im stuck on?
March 28, 2009, 09:35:48 PM
Hi... Not Much
March 28, 2009, 07:18:40 PM
Hi all, whats up?
March 28, 2009, 06:37:18 PM
March 28, 2009, 04:56:09 PM
I looked your topic, you sure you don't have 0 on the prices? Grin
Recent
by Doku
[Today at 04:51:09 AM]

by Doku
[Today at 04:39:38 AM]

[Today at 04:29:03 AM]

[Today at 03:50:48 AM]

[Today at 01:52:27 AM]

[Today at 01:27:52 AM]

[Today at 01:15:22 AM]

[Today at 01:14:54 AM]

[Today at 12:13:20 AM]

[March 28, 2009, 11:50:42 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.055 seconds with 24 queries.