Zmud Damage stat's .. how would I ?

Scripts and support for your favorite MUD client.
Teklar
Sojourner
Posts: 100
Joined: Mon Jun 14, 2004 4:13 pm
Location: Renton, WA
Contact:

Zmud Damage stat's .. how would I ?

Postby Teklar » Mon Nov 28, 2005 6:35 am

I'm unable to speak Zmud-nese so i'm going to ask how would I make a stat counter for types of damage I do in a mud session?

i.e. .. You did 73 very hard hits .. .. You did 100 awesome hits ... something along those lines as a listing when I typed something like "status" ? .. hopefully someone can help me out so I can see the idea in Zmud format and I can learn something about doing things like this myself :)

Thanks for anyone that wishes to help.
Popowidle (Gnome, Invoker), Edek (HalfElf Ranger), Calarum (Grey-elf, Druid)
Alilsil
Sojourner
Posts: 29
Joined: Thu Jul 04, 2002 5:01 am
Location: Oslo

Postby Alilsil » Thu Dec 08, 2005 7:03 pm

very simple one!!!
and switch out pierce to like slash or whatever. can put in all of them too like (pierce|slash|hit| ect ect ect)

#TRIGGER {You receive your share of experience.} {#echo | barely hits: @bar | hits: @pie | crits: @crit | miss: @ms | dodge: @dg;@bar = 0;@procs = 0;@dg = 0;@crit = 0;@ms = 0;@pie = 0}
#TRIGGER {* dodges your futile attack} {#ad dg 1}
#TRIGGER {You barely pierce *} {#ad bar 1}
#TRIGGER {You miss *} {#AD ms 1}
#TRIGGER {You pierce *} {#ad pie 1}
#TRIGGER {You score a CRITICAL HIT!} {#ad crit 1}
#TRIGGER {You land a mighty pierce} {#ad pie 1}
#TRIGGER {You enshrouds *} {#ad pie 1}
#TRIGGER {* staggers from your fearsome pierce!} {#ad pie 1}
Teklar
Sojourner
Posts: 100
Joined: Mon Jun 14, 2004 4:13 pm
Location: Renton, WA
Contact:

Postby Teklar » Fri Dec 09, 2005 2:14 am

Thank you very much :) Only question is, how do I get it to show the number of hits ? .. I made a class folder for my ranger and changed the piercing to slash but after a fight / session I don't know how to call up the # of hits.
Popowidle (Gnome, Invoker), Edek (HalfElf Ranger), Calarum (Grey-elf, Druid)
Gizep
Sojourner
Posts: 150
Joined: Thu Mar 10, 2005 4:34 pm
Location: Menzoberranzan
Contact:

Postby Gizep » Fri Dec 09, 2005 2:51 am

just make a new variable hit and put it with all those hits...
#ad hit 1
As long as we live in this world we are bound to encounter problems. If, at such times, we lose hope and become discouraged, we diminish our ability to face difficulties. If, on the other hand, we remember that it is not just ourselves but everyone who has to undergo suffering, this more realistic perspective will increase our determination and capacity to overcome troubles.
-- The Dali Lama
Teklar
Sojourner
Posts: 100
Joined: Mon Jun 14, 2004 4:13 pm
Location: Renton, WA
Contact:

Postby Teklar » Fri Dec 09, 2005 2:17 pm

Alright.. I got it working.. what I was trying to do is getting it to display to my screen, I cleared out the misc. Triggers i've made a mess of in the past I evidently had something gagged wrong now it shows.

Thanks again for the help.
Popowidle (Gnome, Invoker), Edek (HalfElf Ranger), Calarum (Grey-elf, Druid)
Teklar
Sojourner
Posts: 100
Joined: Mon Jun 14, 2004 4:13 pm
Location: Renton, WA
Contact:

Postby Teklar » Wed Dec 14, 2005 6:42 am

Ok.. playing with this somewhere I broke it and I can't see where.. post battle and I know I didn't hit this many times since it was a quick one...

| barely hits: 0 | hits: 667 | mighty: 2 | fearsome: 1 | enshroud: 0 | crits: 0 | miss: 3 | dodge: 0


I am wondering where I have somehow multiplied something? .. if anyone knows.. here's what I have for triggers.. I would appreciate the help :)


#echo | barely hits: @bar | hits: @sla | mighty: @mig | fearsome: @fea | enshroud: @ens | crits: @crit | miss: @ms | dodge: @dg
@bar = 0
@procs = 0
@dg = 0
@mig = 0
@fea = 0
@ens = 0
@crit = 0
@ms = 0

#tr {* dodges your futile attack} {#ad dg 1}
#tr {You barely slash} {#ad bar 1}
#tr {You miss *} {#ad mis 1}
#tr {You slash} {#ad sla 1}
#tr {You score a CRITICAL HIT!} {#ad crit 1}
#tr {You land a mighty slash} {#ad mig 1}
#tr {You enshrouds *} {#ad ens 1}
#tr {your fearsome slash!} {#ad fea 1}



As you can see i'm trying to modify it and learn as I go, it's just the multiplier that is hidden in there somewhere on the actual # of slashes I seem to be getting post battle that is confusing me :)
Popowidle (Gnome, Invoker), Edek (HalfElf Ranger), Calarum (Grey-elf, Druid)
Alilsil
Sojourner
Posts: 29
Joined: Thu Jul 04, 2002 5:01 am
Location: Oslo

Postby Alilsil » Wed Dec 14, 2005 12:12 pm

U need to reset variables after fight.. else it will just keep adding ever fight.
Teklar
Sojourner
Posts: 100
Joined: Mon Jun 14, 2004 4:13 pm
Location: Renton, WA
Contact:

Postby Teklar » Wed Dec 14, 2005 5:14 pm

Reset the variables.. hmmms would changing the 1 to a 0 do that? It displays every fight and they don't continue to add per fight.. it's 1 fight, 1 set of stats.. those numbers were from 1 single fight :) with all the hits and even counting misses I didn't swing no where near that much.
Popowidle (Gnome, Invoker), Edek (HalfElf Ranger), Calarum (Grey-elf, Druid)
Alilsil
Sojourner
Posts: 29
Joined: Thu Jul 04, 2002 5:01 am
Location: Oslo

Postby Alilsil » Wed Dec 14, 2005 6:55 pm

hits: @sla this is yer hit varibable...

In a quick look over your resets
@bar = 0
@procs = 0
@dg = 0
@mig = 0
@fea = 0
@ens = 0
@crit = 0
@ms = 0

i cant see @sla being set to zero... this is prolly the problem
Teklar
Sojourner
Posts: 100
Joined: Mon Jun 14, 2004 4:13 pm
Location: Renton, WA
Contact:

Postby Teklar » Wed Dec 14, 2005 11:20 pm

You're right.. and I looked and looked at this thing and cannot believe I missed that one, thanks :)
Popowidle (Gnome, Invoker), Edek (HalfElf Ranger), Calarum (Grey-elf, Druid)

Return to “MUD Client Help”

Who is online

Users browsing this forum: No registered users and 7 guests