We have detected that cookies are not enabled on your browser. Please enable cookies to ensure the proper experience.
Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2008
    Posts
    794

    Tracking Temporary Morale

    So, I've been trying to figure out how to track temporary morale, and I've been coming up blank. Here's what I've tried so far:

    1) Doesn't seem to be any relevant new calls in Turbine.Gameplay.Player/LocalPlayer/Entity/Actor.
    2) GetDescription() of the temporary morale effects that I can check (sudden defense, true heroics, lay of the hammerhand) appears to be blank.
    3) It should be possible to track temporary morale losses via combat chat. ("You have lost X temporary morale." or something like that.) They even give you that message when the temporary morale effect ends, so if you could figure out the original amount of temporary morale provided by an effect, you could track it that way.

    So, theoretically, the self buffs that give temporary morale should be trackable - albeit somewhat messily. But, I was wondering if anyone knew of a cleaner way to do things.

  2. #2
    Join Date
    Jul 2008
    Posts
    6,829

    Re: Tracking Temporary Morale

    Quote Originally Posted by moebius92 View Post
    So, I've been trying to figure out how to track temporary morale, and I've been coming up blank. Here's what I've tried so far:

    1) Doesn't seem to be any relevant new calls in Turbine.Gameplay.Player/LocalPlayer/Entity/Actor.
    2) GetDescription() of the temporary morale effects that I can check (sudden defense, true heroics, lay of the hammerhand) appears to be blank.
    3) It should be possible to track temporary morale losses via combat chat. ("You have lost X temporary morale." or something like that.) They even give you that message when the temporary morale effect ends, so if you could figure out the original amount of temporary morale provided by an effect, you could track it that way.

    So, theoretically, the self buffs that give temporary morale should be trackable - albeit somewhat messily. But, I was wondering if anyone knew of a cleaner way to do things.
    I'd probably monitor the current effects, and compare it to any morale changes. I'm thinking maybe BaseMaxMorale would give you the max morale of a player without any effects, so any increase in MaxMorale would be attributed to an effect. Using the event listeners for MaxMoraleChanged and BaseMaxMoraleChanged, as well using an Update event listener to track changes to the EffectList should be able to paint a pretty acceptable picture of what effect is giving you what morale - all without having to mess around with parsing the combat log.
    [CENTER][IMG]http://i.imgur.com/wK9A7aa.png[/IMG]

    [SIZE=1][B][COLOR=white]75[/COLOR][/B] Fourohfour | [B][COLOR=white]75[/COLOR][/B] Artemedis | [COLOR=Blue][B]60[/B][/COLOR] Whiskeytango Foxtrot | [B][COLOR=#00ca00]50[/COLOR][/B] Mistah Boombastic | [B][COLOR=#00ca00]56[/COLOR][/B] Appetizer | [B][COLOR=#a7a7a7]25[/COLOR][/B] Aggromi | [B][COLOR=blue]61[/COLOR][/B] Onepointtwentyone Gigawatts [/SIZE] [/CENTER]

  3. #3
    Join Date
    Jan 2008
    Posts
    794

    Re: Tracking Temporary Morale

    Quote Originally Posted by Digital_Utopia View Post
    I'd probably monitor the current effects, and compare it to any morale changes. I'm thinking maybe BaseMaxMorale would give you the max morale of a player without any effects, so any increase in MaxMorale would be attributed to an effect. Using the event listeners for MaxMoraleChanged and BaseMaxMoraleChanged, as well using an Update event listener to track changes to the EffectList should be able to paint a pretty acceptable picture of what effect is giving you what morale - all without having to mess around with parsing the combat log.
    Argh. Sorry. Should've mentioned it before - temporary morale does not appear to show up under any of the morale values, or generate any morale events.

    (Just rechecked - had a champion generate a temporary morale shield with true heroics (no changes), and then force a morale event with blood rage (max morale and base max morale stayed the same, morale dropped an amount expected due to the cost of blood rage)).

  4. #4
    Join Date
    Jul 2008
    Posts
    6,829

    Re: Tracking Temporary Morale

    sorry, I thought you were talking about morale bonuses via effects that increase your max morale.

    In this case, yeah parsing the log is probably your only option
    [CENTER][IMG]http://i.imgur.com/wK9A7aa.png[/IMG]

    [SIZE=1][B][COLOR=white]75[/COLOR][/B] Fourohfour | [B][COLOR=white]75[/COLOR][/B] Artemedis | [COLOR=Blue][B]60[/B][/COLOR] Whiskeytango Foxtrot | [B][COLOR=#00ca00]50[/COLOR][/B] Mistah Boombastic | [B][COLOR=#00ca00]56[/COLOR][/B] Appetizer | [B][COLOR=#a7a7a7]25[/COLOR][/B] Aggromi | [B][COLOR=blue]61[/COLOR][/B] Onepointtwentyone Gigawatts [/SIZE] [/CENTER]

 

 

Posting Permissions

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

This form's session has expired. You need to reload the page.

Reload