Welcome to the Achaea Forums! Please be sure to read the Forum Rules.

Battlerage tracking help

OuruOuru Member Posts: 9
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 lolMember Posts: 1,476 ✭✭✭✭✭ - Grand Achaean
    I don't think you have gone through GMCP.
  • ThaisenThaisen Member Posts: 540 ✭✭✭✭ - Eminent
    I think you'll find it in gmcp.Char.Vitals.

  • OuruOuru Member Posts: 9
    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 
  • AccipiterAccipiter Member Posts: 829 ✭✭✭✭ - Eminent
    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.

  • AtalkezAtalkez Member, Secret Squirrel Posts: 5,544 @@ - Legendary Achaean
    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 " ..target)
      elseif rageVar > 47 and headstrike then
      send("strike " ..target.. " head")
    elseif rageVar > 53 and spinslash then
      send("spinslash " ..target)

    You hug Aurora compassionately.
  • OuruOuru Member Posts: 9
    Thank you everyone!! 
Sign In to Comment.