|
- Login
- Member list
- About Aetolia
- First steps
- Zmud tutorial
- Landmarks
- Afflictions and Cures
- Venoms
- Paladin Classes
- Devotion
- Guardians of the Tower
- Photo Album
- Guild History
- Guild Structure
- Paladin Forums
- Essays
- Forging
|
|
» Forums » Scripting » Zmud scripts » Critical Counter
|
Azuriel
Knight
Joined: 13.12.2005
Posts: 59
|
Posted: 06 Apr 2006 15:15 Subject: Critical Counter
Alright, the Zmud forum's a bit empty, so I figure I'll fill it up with a nice pretty script. This is copied off the Aetolia forums:
#math cperc {(@crit*100)/@hits} #math sperc {(@stag*100)/@hits} #math crperc {(@crush*100)/@hits} #math mperc {(@mut*100)/@hits} #math aperc {(@ann*100)/@hits} #math rperc {((@hits-@crit-@stag-@crush-@mut-@ann)*100)/@hits} #math reg {@hits-@crit-@stag-@crush-@mut-@ann} #say #say %ansi( high, red)+%ansi( high, white)---------------------------------------%ansi( high, red)+ #say %ansi( high, white)| %ansi( high, red)Criticals %ansi( high, white). . . . . . . . . . . . . . | #say %ansi( high, red)+%ansi( high, white)---------------------------------------%ansi( high, red)+ #say #say %ansi( high, blue) Hits%ansi( high, white):%ansi( high, blue) @hits #say #say %ansi( high, blue) Regular Hits%ansi( high, white)..%ansi( high, blue)@reg @reg%ansi( high, white)~/%ansi( high, blue)@hits @rperc~.%mod( @reg*100, @hits)%ansi( high, white)~% #say %ansi( high, green) Critical Hits%ansi( high, white).. %ansi( high, green)@crit @crit%ansi( high, white)~/%ansi( high, green)@hits @cperc~.%mod( @crit*100, @hits)%ansi( high, white)~% #say %ansi( high, green) Staggering Hits%ansi( high, white).... %ansi( high, green)@stag @stag%ansi( high, white)~/%ansi( high, green)@hits @sperc~.%mod( @stag*100, @hits)%ansi( high, white)~% #say %ansi( high, yellow) Crushing Hits%ansi( high, white)...... %ansi( high, yellow)@crush @crush%ansi( high, white)~/%ansi( high, yellow)@hits @crperc~.%mod( @crush*100, @hits)%ansi( high, white)~% #say %ansi( high, yellow) Mutilating Hits%ansi( high, white).... %ansi( high, yellow)@mut @mut%ansi( high, white)~/%ansi( high, yellow)@hits @mperc~.%mod( @mut*100, @hits)%ansi( high, white)~% #say %ansi( high, red) Annihilating Hits%ansi( high, white).. %ansi( high, red)@ann @ann%ansi( high, white)~/%ansi( high, red)@hits @aperc~.%mod( @ann*100, @hits)%ansi( high, white)~%
This code will print out a pretty colored box that shows you your critical hits, and percentages, all nice and...pretty.
|
Up
|
View profile :: Send message
|
|
Unknown
-deleted-
Joined: -
Posts: 0
|
Posted: 07 Apr 2006 12:12 Subject:
hehe
+--------------------------------+ | Critical Hit Counter +--------------------------------+ | | Total Hits 2515 | | | Critical 124 (4.930%) | Staggering 14 (0.556%) | Crushing 1 (0.039%) | | Mutilating 0 (0%) | Annihilating 0 (0%) | | Total 139 (5.526%) +--------------------------------+
*feels pro* but I'm sure most of you have stats better than that. By the way, 10 of those staggerying crits were on puny little rats. >.>
|
Up
|
View profile :: Send message
|
|
Indiana
Administrator
Joined: 13.07.2005
Posts: 316
|
Posted: 07 Apr 2006 12:26 Subject:
-- Criticals -- All hits: 1273 All kills: 326 Normal: 228 -- 18% Stagger: 52 -- 4% Crushing: 9 -- 1% Mutilat: 2 -- 0% Annihil: 1 -- 0% -- Criticals --
-eyeshift- Yeah, they were reset quite recently.
|
Up
|
View profile :: Send message
|
|
Unknown
-deleted-
Joined: -
Posts: 0
|
Posted: 07 Apr 2006 12:46 Subject:
Hmm, how does that work? I see "All hits: 1273" but the attacks don't add up to that? :\
|
Up
|
View profile :: Send message
|
|
Azuriel
Knight
Joined: 13.12.2005
Posts: 59
|
Posted: 07 Apr 2006 14:33 Subject:
The individual stats in Indy's only count critical hits. All hits includes everything else, I believe.
|
Up
|
View profile :: Send message
|
|
Indiana
Administrator
Joined: 13.07.2005
Posts: 316
|
Posted: 07 Apr 2006 14:33 Subject:
Hmm, how does that work? I see "All hits: 1273" but the attacks don't add up to that? :
I got no idea, I'm using my own script
Umm, yeah, all hits means .. really all hits (they also include criticals).
|
Up
|
View profile :: Send message
|
|
Unknown
-deleted-
Joined: -
Posts: 0
|
Posted: 07 Apr 2006 18:10 Subject:
I hope Caldazar doesn't see this thread... <_<
|
Up
|
View profile :: Send message
|
|
Asilient
Knight
Joined: 14.07.2005
Posts: 145
|
Posted: 07 Apr 2006 19:39 Subject:
Not quite as tidy, but..
Since the 25/2/06 You have scored... 4409 critical hits! 499 Staggering Critical hits! 61 Crushing critical hits! 5 Mutilating critical hits! 1 Annihilating critical hits!!
|
Up
|
View profile :: Send message
|
|
|
|
|
|