/def reset_counter = \ /set miss 0%; \ /set no_dam 0%; \ /set tickle 0%; \ /set hit 0%; \ /set hard 0%; \ /set vhard 0%; \ /set mighty 0%; \ /set bonecrush 0%; \ /set pulverize 0%; \ /set trounce 0%; \ /set pummel 0%; \ /set massacre 0%; \ /set annihilate 0%; \ /set claw_miss 0%; \ /set claw_hit 0%; \ /set shower 0%; \ /set no_effect 0%; \ /set barely_affect 0%; \ /set winces 0%; \ /set belches 0%; \ /set stumbles 0%; \ /set birds 0%; \ /set screams 0%; \ /set drops_knees 0%; \ /set body_shudders 0%; \ /set nearly_destroys 0%; \ /set butter 0%; \ /set water 0%; \ /set smitten 0%; \ /set rounds 0%; \ /set prounds 0%; \ /set attacked 0%; \ /set dodged 0%; \ /set gloves 0 /reset_counter /def -t"^You missed\.$" = /set miss $[miss+1] /def -t"^Your blow was deflected\.$" = /set no_dam $[no_dam+1] /def -t"^Your strike was ineffective\.$" = /set no_dam $[no_dam+1] /def -t"^You bobble your swing\.$" = /set no_dam $[no_dam+1] /def -t"^Your attack glanced off of" = /set glance $[no_dam+1] /def -t"^You tickled" = /set tickle $[tickle+1] /def -t"^You hit .*\.$" = /set hit $[hit+1] /def -t"^You hit .* hard\.$" = /set hard $[hard+1] /def -t"^You hit .* very hard\.$" = /set vhard $[vhard+1] /def -t"^You struck .* a mighty blow\.$" = /set mighty $[mighty+1] /def -t"^You smashed .* with a bone crushing sound\.$" = /set bonecrush $[bonecrush+1] /def -t"^You pulverized .* with a powerful attack\.$" = /set pulverize $[pulverize+1] /def -t"^You trounced .* up and down\.$" = /set trounce $[trounce+1] /def -t"^You pummeled .* into small fragments\.$" = /set pummel $[pummel+1] /def -t"^You massacred .* into tiny" = /set massacre $[massacre+1] /def -t"^You utterly annihilated" = /set annihilate $[annihilate+1] /def -t"^Your claws dug deep into" = /set claw_hit $[claw_hit+1] /def -t"^Your claws did not affect" = /set claw_miss $[claw_miss+1] /def -t"^Hundreds of tiny lightning bolts fly down" = /set shower $[shower+1] /def -t"^It appears the feeble showing of your song" = /set no_effect $[no_effect+1] /def -t"^The power of your song seems to barely" = /set barely_affect $[barely_affect+1] /def -t"winces in pain from your attack\.$" = /set winces $[winces+1] /def -t"belches out an 'Oof!' from the power of" = /set belches $[belches+1] /def -t"stumbles briefly trying to recover from" = /set stumbles $[stumbles+1] /def -t"^Tiny yellow birds appear briefly around" = /set birds $[birds+1] /def -t"screams out in pain beneath the power of" = /set screams $[screams+1] /def -t"body shudders in agony as the destructive" = /set body_shudders $[body_shudders+1] /def -t"drops to (his|its|her) knees momentarily, unable" = /set drops_knees $[drops_knees+1] /def -t"^The power of your song nearly destroys" = /set nearly_destroys $[nearly_destroys+1] /def -t"knife through butter\.$" = /set butter $[butter+1] /def -t"knife through water\.$" = /set water $[water+1] /def -t"^Your song has smitten .* with BS force!" = /set smitten $[smitten+1] ;/def -t"missed you." = /set attacked $[attacked+1] /def -ag -t"missed you\." /def -ag -t"struck, but did no damage to you\." = /set attacked $[attacked+1] /def -t"tickled you in the stomach\." = /set attacked $[attacked+1] /def -t"grazed you\." = /set attacked $[attacked+1] /def -p5 -t"hit you\." = /set attacked $[attacked+1] /def -p10 -t"hit you hard\." = /set attacked $[attacked+1] /def -p10 -t"hit you very hard\." = /set attacked $[attacked+1] /def -t"struck you a mighty blow\." = /set attacked $[attacked+1] /def -t"smashed you with a bone crushing sound\." = /set attacked $[attacked+1] /def -t"pulverized you with a powerful attack\." = /set attacked $[attacked+1] /def -t"trounced you up and down\." = /set attacked $[attacked+1] /def -t"pummeled you into small fragments\." = /set attacked $[attacked+1] /def -t"massacred you into tiny fragments\." = /set attacked $[attacked+1] /def -t"utterly annihilated you\." = /set attacked $[attacked+1] /def -t"completely devastated you with awesome force\." = /set attacked $[attacked+1] /def -t"destroyed you\." = /set attacked $[attacked+1] /def -t"thrashed you completely\." = /set attacked $[attacked+1] /def -t"demolished you\." = /set attacked $[attacked+1] /def -t"absolutely massacred you\." = /set attacked $[attacked+1] /def -t"The guard picks you up and SLAMS you!" = /set attacked $[attacked+1] /def -t"The magistrate calls down a ray of pain upon you!" = /set attacked $[attacked+1] /def -t"The spider creature bites into you with its fangs!" = /set attacked $[attacked+1] /def -t"The ant creature bites you with its mandibles!" = /set attacked $[attacked+1] /def -t"calls fire to erupt from the floor!" = /set attacked $[attacked+1] /def -t"The guard crushes you with his armoured fist!" = /set attacked $[attacked+1] /def -t"The Bugbear lashes out in fury with its venomous claws!" = /set attacked $[attacked+1] /def -t"You avoid the attack\." = /set dodged $[dodged+1] /def -t"You leap a side\." = /set dodged $[dodged+1] /def -t"You step out of the way\." = /set dodge $[dodged+1] ;/def -t"You step into the strike\." /def counter = \ /set attacks $[miss+no_dam+tickle+hit+hard+vhard+mighty+bonecrush+pulverize+trounce+pummel+massacre+annihilate]%; \ /if (attacks > 0) \ /set pmiss $[miss*100/attacks]%; \ /set pno_dam $[no_dam*100/attacks]%; \ /set ptickle $[tickle*100/attacks]%; \ /set phit $[hit*100/attacks]%; \ /set phard $[hard*100/attacks]%; \ /set pvhard $[vhard*100/attacks]%; \ /set pmighty $[mighty*100/attacks]%; \ /set pbonecrush $[bonecrush*100/attacks]%; \ /set ppulverize $[pulverize*100/attacks]%; \ /set ptrounce $[trounce*100/attacks]%; \ /set ppummel $[pummel*100/attacks]%; \ /set pmassacre $[massacre*100/attacks]%; \ /set pannihilate $[annihilate*100/attacks]%; \ /echo +-=-=-=-=-=-=-=-+ %; \ /if (pmiss > 0) /eval /echo Miss: %pmiss%;/endif%; \ /if (pno_dam > 0) /eval /echo No Dam: %pno_dam%;/endif%; \ /if (ptickle > 0) /eval /echo Tickle: %ptickle%;/endif%; \ /if (phit > 0) /eval /echo Hit: %phit%;/endif%; \ /if (phard > 0) /eval /echo Hit Hard: %phard%;/endif%; \ /if (pvhard > 0) /eval /echo Hit V Hard: %pvhard%;/endif%; \ /if (pmighty > 0) /eval /echo Mighty Blow: %pmighty%;/endif%; \ /if (pbonecrush > 0) /eval /echo Bone Crush: %pbonecrush%;/endif%; \ /if (ppulverize > 0) /eval /echo Pulverize: %ppulverize%;/endif%; \ /if (ptrounce > 0) /eval /echo Trounce: %ptrounce%;/endif%; \ /if (ppummel > 0) /eval /echo Pummel: %ppummel%;/endif%; \ /if (pmassacre > 0) /eval /echo Massacre: %pmassacre%;/endif%; \ /if (pannihilate > 0) /eval /echo Annihilate: %pannihilate%;/endif%; \ /endif%; \ /set claw_attacks $[claw_miss+claw_hit]%; \ /if (claw_attacks > 0) \ /set pclaw_miss $[claw_miss*100/claw_attacks]%; \ /set pclaw_hit $[claw_hit*100/claw_attacks]%; \ /echo +-=-=-=-=-=-=-=-+ %; \ /eval /echo Claw Miss: %pclaw_miss%; \ /eval /echo Claw Hit: %pclaw_hit%; \ /endif%; \ /set song_attacks $[no_effect+barely_affect+winces+belches+stumbles+birds+screams+drops_knees+body_shudders+nearly_destroys+butter+water+smitten]%; \ /if (song_attacks > 0) \ /set pno_effect $[no_effect*100/song_attacks]%; \ /set pbarely_affect $[barely_effect*100/song_attacks]%; \ /set pwinces $[winces*100/song_attacks]%; \ /set pbelches $[belches*100/song_attacks]%; \ /set pstumbles $[stumbles*100/song_attacks]%; \ /set pbirds $[birds*100/song_attacks]%; \ /set pscreams $[screams*100/song_attacks]%; \ /set pbody_shudders $[body_shudders*100/song_attacks]%; \ /set pdrops_knees $[drops_knees*100/song_attacks]%; \ /set pnearly_destroys $[nearly_destroys*100/song_attacks]%; \ /set pbutter $[butter*100/song_attacks]%; \ /set pwater $[water*100/song_attacks]%; \ /set psmitten $[smitten*100/song_attacks]%; \ ; /echo +-=-=-=-=-=-=-=-+ %; \ ; /eval /echo Showers: %shower%; \ ; /eval /echo Song emotes: %song_attacks%; \ /echo +-=-=-=-=-=-=-=-+ %; \ /if (pno_effect > 0) /eval /echo No effect: %pno_effect%;/endif%; \ /if (pbarely_affect > 0) /eval /echo B. affect: %pbarely_affect%;/endif%; \ /if (pwinces > 0) /eval /echo Winces: %pwinces%;/endif%; \ /if (pbelches > 0) /eval /echo Belches: %pbelches%;/endif%; \ /if (pstumbles > 0) /eval /echo Stumbles: %pstumbles%;/endif%; \ /if (pbirds > 0) /eval /echo Birds: %pbirds%;/endif%; \ /if (pscreams > 0) /eval /echo Screams: %pscreams%;/endif%; \ /if (pbody_shudders > 0) /eval /echo Shudders: %pbody_shudders%;/endif%; \ /if (pdrops_knees > 0) /eval /echo Drops knees: %pdrops_knees%;/endif%; \ /if (pnearly_destroys > 0) /eval /echo N. destroys: %pnearly_destroys%;/endif%; \ /if (pbutter > 0) /eval /echo Butter: %pbutter%;/endif%; \ /if (pwater > 0) /eval /echo Water: %pwater%;/endif%; \ /if (psmitten > 0) /eval /echo Smitten: %psmitten%;/endif%; \ /endif%; \ /if (rounds > 0) \ /set perform_percent $[prounds*100/rounds]%; \ /set shower_percent $[shower*100/rounds]%; \ /set gloves_percent $[gloves*100/rounds]%; \ /set attacks_round $[attacks/rounds]%; \ /set attacks_round2 $[attacks*100/rounds-100*attacks_round]%; \ /set claw_attacks_round $[claw_attacks/rounds]%; \ /set claw_attacks_round2 $[claw_attacks*100/rounds-100*claw_attacks_round]%; \ /echo +-=-=-=-=-=-=-=-+ %; \ /eval /echo Rounds: %rounds%; \ /eval /echo Performing: %perform_percent\%%; \ /eval /echo Showering: %shower_percent\%%; \ /eval /echo Gloves: %gloves_percent\%%; \ /if (attacks_round2 < 10) \ /eval /echo Attacks/Rnd: %attacks_round.0%attacks_round2%; \ /else \ /eval /echo Attacks/Rnd: %attacks_round.%attacks_round2%; \ /endif%; \ /if (claw_attacks_round2 < 10) \ /eval /echo Claws/Rnd: %claw_attacks_round.0%claw_attacks_round2%; \ /else \ /eval /echo Claws/Rnd: %claw_attacks_round.%claw_attacks_round2%; \ /endif%; \ /endif%; \ /if (attacked > 0) \ /echo +-=-=-=-=-=-=-=-+ %; \ /set pdodged $[dodged*100/attacked]%; \ /eval /echo Dodged: %pdodged\%%; \ /endif /def stats = /counter /def clearstats = divvy%;/reset_counter%;/echo STATS CLEARED