|
Nemesis02 Newbie
Joined: 09 Sep 2004 Posts: 3
|
Posted: Thu Sep 09, 2004 9:13 pm
Need a quick Script... |
Hey, i know how good you guys are at scripting in zMud, i mean there are people on here who are scripting gods for the client... Well now i need some of that talent for a script i need. I would like a script that would put the damage range of hits in front of the attacks for all attacks. here's a sample of what a battle looks like in my game.
Code: |
With the shadows as your cover, your stratagem attack MUTILATES a forest wildcat!!
Your critical blow MAIMS a forest wildcat!!
You land [ 9 of 10 ] attacks on a forest wildcat: splintering damage!
[Nemesis: (perfect condition)] vs. [forest wildcat: (mildly wounded)]
[H:6422] [E:6313] ->
A forest wildcat lands [ 1 of 4 ] attacks on you: scathing damage!
You land [ 10 of 10 ] attacks on a forest wildcat: splintering damage!
[Nemesis: (perfect condition)] vs. [forest wildcat: (fairly wounded)]
[H:6334] [E:6313] ->
A forest wildcat misses [ 4 ] attacks on you!
You land [ 10 of 10 ] attacks on a forest wildcat: splintering damage!
[Nemesis: (perfect condition)] vs. [forest wildcat: (severely wounded)]
[H:6334] [E:6313] ->
Your kick DEHISCES a forest wildcat!!
[Nemesis: (perfect condition)] vs. [forest wildcat: (severely wounded)]
[H:6334] [E:6306] ->
There is no one here by that name.
[Nemesis: (perfect condition)] vs. [forest wildcat: (severely wounded)]
[H:6334] [E:6306] ->
Your striking fist lacerates a forest wildcat!
[Nemesis: (perfect condition)] vs. [forest wildcat: (badly wounded)]
[H:6334] [E:6275] ->
Your glancing strike RUPTURES a forest wildcat!
[Nemesis: (perfect condition)] vs. [forest wildcat: (badly wounded)]
[H:6334] [E:6238] ->
|
and heres the damage table.
Code: |
tickle = 1- 5
graze = 6- 10
scratch = 11- 20
bruise = 21- 30
sting = 31- 40
wound = 41- 50
shend = 51- 75
scathe = 76- 100
pummel = 101- 125
batter = 126- 150
splinter = 151- 200
disfigure = 201- 250
fracture = 251- 300
lacerate = 301- 400
RUPTURE = 401- 500
MUTILATE = 501- 750
DEHISCE = 751- 1000
MAIM = 1001- 1250
DISMEM = 1251- 1500
SUNDER = 1501- 1750
CREMATE = 1751- 2000
EVISCERATE = 2001- 2500
RAVAGE = 2501- 3000
IMMOLATE = 3001- 3500
LIQUIFYING = 3501- 4000
VAPORIZE = 4001- 4500
ATOMIZE = 4501- 5000
OBLITERATE = 5001- 6000
ETHERIALIZE = 6001- 7000
ERADICATING = 7001+ |
Basically in the end i just want my attacks to go from this:
You land [ 10 of 10 ] attacks on a forest wildcat: splintering damage!
to this
[ 1510 - 2000 ] You land [ 10 of 10 ] attacks on a forest wildcat: splintering damage!
splintering damage = 151 to 200 dmg, * the 10 attacks i landed = total dmg done
I would like for all dmg done to and from an opponent.
Here's a sample screen shot of a person who already did but wont give me the code -.-
http://nodeka.com/images/originals/nodekaScreenShots/fury.gif
Thank you ooOo so much. |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Thu Sep 09, 2004 10:50 pm |
Use #ADDKEY to add the rest of the values, I won't do the whole damage table for you.
#ADDK DmgLow splintering 151
#ADDK DmgHi splintering 200
#TR {You land ~[ (%d) (*): (%w) damage!} {#SUB {You land ~[ %1 %2: %3 damage! ~[ %eval( %1 * %db( @DmgLow, %3)) - %eval( %1 * %db( @DmgHi, %3))~]}}
Never complain about others refusing to share their scripts with you. They used their time, knowledge, creativity, and effort to figure out their scripts for themselves. You have no claim on their time, on their knowledge, on their creativity, or on their efforts, but you could certainly use your own to duplicate anything you think would be nice to have. You might even come up with something better. |
|
_________________ LightBulb
Senior member
Most scripts in this forum are written for Command Line entry.
Don't even open the Settings Editor unless its use is specified or obvious. |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|