aoc blackbook
  • Home
  • Directions
  • Labyrinth
  • Stats
  • Player Tips
  • Database
  • Contact
  • Vote TMS

Player Tips, Notes,
Guides and Walkthroughs

Lan shook his head sightly. 'He was better. But he thought I was finished, with only one arm. He never understood. You surrender after you're dead.'

Robert Jordan, New Spring
  • home
  • player tips
  • Zmud ARCHERY script
Anasi's Archery Script (for ZMud)

Many thanks to Anasi for this script!

Available aliases are: lastvolley, allvolleys, and resetstats. I have the script set to work with regular arrows and LBOW, but some adjustments would have to be made for sylvan arrows and that sort of thing.

#CLASS {ARCHERY}
#ALIAS lastvolley {
#math parried (@volleyarrow - @currenthits - @volleymiss)
clans Last volley: @volleyarrow arrows nocked, hit @currenthits, @parried parried/dodged, total of @volleydam damage, average of @arrowavg an arrow for those that landed.
}
#ALIAS allvolleys {
#math arrowpercent (@hits/(@totalarrow * 100))
#math totalparried (@totalarrow - @hits - @miss)
#math volleyavglanded (@hits/@volleys)
#math volleyavg ((@totalarrow/@volleys ) + 1)
#math arrowtotalavg ((@totaldam/(@hits) + 1))
clans I have shot @volleys volleys for a total of @totalarrow arrows nocked and @totaldam damage. I've hit @hits and missed @miss times with @totalparried parried/dodged, average of @volleyavg arrows nocked, average of @volleyavglanded landed, and @arrowtotalavg damage an arrow.
}
#ALIAS resetstats {
arrowavg=0
arrowpercent=0
arrowtotalavg=0
currenthits=0
hits=0
miss=0
totalarrow=0
totaldam=0
totalparried=0
volleyarrow=0
volleyavg=0
volleyavglanded=0
volleydam=0
volleymiss=0
volleys=0
}
#VAR arrowavg {0}
#VAR arrowpercent {}
#VAR arrowtotalavg {} {0}
#VAR totalarrow {0}
#VAR totaldam {0}
#VAR totalparried {0}
#VAR volleyarrow {0}
#VAR volleyavg {}
#VAR volleyavglanded {}
#VAR volleydam {0}
#VAR volleymiss {0}
#VAR volleys {0}
#VAR hits {0}
#VAR currenthits {}
#VAR miss {0}
#TRIGGER {You point a} {
#add volleys 1
currenthits=0
volleydam = 0
volleyarrow = 0
volleymiss = 0
}
#TRIGGER {You nock a} {
#add totalarrow 1
#add volleyarrow 1
#math arrowavg ((@volleydam/(@currenthits) + 1))
}
#TRIGGER {as it hits its mark! ~[(%d)~]} {
#add totaldam %1
#add volleydam %1
#add currenthits 1
#add hits 1
#math arrowavg ((@volleydam/(@currenthits) + 1))
#math arrowtotalavg ((@totaldam/(@hits) + 1))
#math volleyavg ((@totalarrow/@volleys) + 1)
}
#TRIGGER {a regular wooden arrow misses} {
#add miss 1
#add volleymiss 1
}
#TRIGGER {a sparking, golden arrow misses} {
#add miss 1
#add volleymiss 1
}
#CLASS 0


  • home
  • player tips
  • Zmud ARCHERY script
  • Back to top

aoc blackbook website © 2006-2023.
Version 7 - Revised 2022 -315


Age of Chaos MUD is trademark of PandaPub.com

Wheel of Time is trademark of Robert Jordan.


Website developed by Nyv/Nyvly. Contributions, notes, and walkthroughs are compiled from generous works of players and authors of the past and present. For more information please refer to the Contact page.