+ Reply to Thread
Results 1 to 2 of 2

Thread: Getting real character level

  1. #1
    Rift Chaser
    Join Date
    Jul 2014
    Posts
    311

    Default Getting real character level

    Hi,

    I've been messing with the API and I needed to know what REAL(not mentored) level the character is.

    This was my first attempt:
    Code:
    Inspect.Unit.Detail("player").level
    But that only gives the current mentored level.
    My second attempt was something like:
    Code:
    Inspect.Guild.Roster.Detail(Inspect.Unit.Detail("player")).level)
    Of course, that only works is if the player is in a guild.

    I then thought about using achievements, and managed this:

    Code:
    var realLevel = Inspect.Achievement.Detail("c44416817B1209D4A").requirement[1].countDone
    This retrieves how many character levels done of the achievement "Reach Level 65" which is the real actual level irregardless of the mentored level.

    Am I missing something obvious, or is this the only way?
    Last edited by Spikeles; 04-10-2016 at 03:15 AM.

  2. #2
    Ascendant Artewig's Avatar
    Join Date
    Oct 2014
    Posts
    3,873

    Default

    Bear in mind, I know absolutely nothing about lua. I do know that when you inspect someone, it displays their actual level regardless of whether they're mentored or not. So maybe that's pulling the information from somewhere else.

    Feel free to ignore me if that was a stupid comment and doesn't help
    Quote Originally Posted by TrionBrasse
    We are absolutely a service industry and you're only as good as your last contact with the customer.

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts