Paladins Forums Archive


Scripting

-

Zmud scripts

-

Critical Counter

Poted by Azuriel on 06 Apr 2006 15:15 - 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.
Poted by on 07 Apr 2006 12:12 -
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. >.>
Poted by Indiana on 07 Apr 2006 12:26 -
-- 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.
Poted by on 07 Apr 2006 12:46 -
Hmm, how does that work? I see "All hits: 1273" but the attacks don't add up to that? :\
Poted by Azuriel on 07 Apr 2006 14:33 -
The individual stats in Indy's only count critical hits. All hits includes everything else, I believe.
Poted by Indiana on 07 Apr 2006 14:33 -
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).
Poted by on 07 Apr 2006 18:10 -
I hope Caldazar doesn't see this thread... <_<
Poted by Asilient on 07 Apr 2006 19:39 -
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!!

Back to main forum archive

View normal forum version