Battlerage tracking help

I am wondering how to track the battle rage within mudlet? 

I've gone through GMCP and can not find anything.. any help would be appreicated.


  • ArchaeonArchaeon Ur mums house lol
    I don't think you have gone through GMCP.
  • I think you'll find it in gmcp.Char.Vitals.
  • ok.. How do I get it out of 

      charstats = {
        "Bleed: 0",
        "Rage: 0",
        "Angelpower: 1250",
        "Devotion: 100%",
        "conviction: 0",
        "prayer_length: 0",
        "Prayer: Yes"

    I'm using mudlet, so I can track the number it represents 
  • edited September 2020
    I did something along the lines of:

    function Acci.BRageGMCP()
        local Rage = gmcp.Char.Vitals.charstats[2]
        Acci.BRResource = tonumber(Rage:match("%d+"))

    One thing to note though: The value GMCP reports is slightly less than what the battlerage system reports, since the GMCP doesn't have decimals.

  • function rageHandle()
    rageVar = gmcp.Char.Vitals.charstats[2]:sub(7)*1    
    if gmcp.Char.Status.class == "Blademaster" then
      if tarHealth > "7" then
      if rageVar > 37 and leapstrike then
      send("leapstrike "
      elseif rageVar > 47 and headstrike then
      send("strike " " head")
    elseif rageVar > 53 and spinslash then
      send("spinslash "

    Penwize has cowardly forfeited the challenge to mortal combat issued by Atalkez.
  • Thank you everyone!! 
Sign In or Register to comment.