Results 1 to 1 of 1
  1. #1
    Player
    ToodlesElNoodles's Avatar
    Join Date
    Jun 2021
    Location
    Nagxia
    Posts
    119
    Character
    Hoatu Hotus
    World
    Brynhildr
    Main Class
    Scholar Lv 100

    Technical Feedback: Updating Fairy Embrace AI?

    Honestly, this is less for the community to see and more for community managers/developers (since I don't know where to post this kind of feedback).

    Embrace Logic

    I was perusing around the interwebs and I found someone made an interesting issue with fairy Embrace AI.

    The current AI logic programming seems to be this:
    1) The pet's PC
    2) Lowest raw HP

    I've seen some videos where the DPS is down to 90% HP and the tank is at 60%. However, the tank's raw HP at 60% > DPS's raw HP at 90% which means per fairy logic, it heals the DPS first.

    The main one I'm sourcing is Alex Suandis YouTube video for "Final Fantasy XIV Online - Level 80 Dungeon Scholar POV". At 10:19, the DPS is at 40%, but the SCH drops to 90%, the fairy chooses Embrace on the SCH over the DPS. It seems they programmed the fairy to preserve the healer (which...actually makes sense in a vacuum. The SCH dies, then the fairy also dies).

    I'm very rusty on programming, but I'm guessing that there's a table updated every server tick (which the calculations for the fairy are also based off of) that sorts HP of all valid targets within her 30y range. The fairy's AI is probably something along the lines of:

    1) Make reference table.
    2) If player within 30y, set to 1, if not, set to 0. Sort players.
    3) Sort table by lowest raw HP being 1, second lowest being 2, etc..

    If SCH HP <100%, target SCH -> Cast Embrace.
    Else, reference table, target slot 1 -> Cast Embrace.

    If I could hazard what could be done.

    1) Make the reference table for the fairy %-based not raw HP based.

    Give the fairy only one logic command:
    Target = #1 on the table -> Cast Embrace.

    This should reassign the logic more properly to what most SCHs most of the time need the fairy to do. I'm not sure how responsive this will actually be unfortunately with server ticks, ping, etc.. If anything, this might be a technical impossibility without upgrading the code/engine.

    However, in the same video, it also doesn't follow the logic. At 10:41, after using Dissolve Union, the fairy instantly targets the tank and casts Embrace even though the priority seems to be 1) Scholar HP <100%, 2) Bard HP < Scholar HP, 3) Tank HP > Bard and Scholar HP. So, maybe it's also calculating distance in there too?

    Anyway, adjusting the fairy's targeting table for Embrace should make it reasonable to what players would like to do with it.

    Summary
    Coding for fairy Embrace logic updated and expanded to account for what casual healers looking to have a pet healer that performs accurately to what they desire would be nice.

    But thank you developers/community managers for taking time to look at this (if you do see this).

    Edit: Other thing was thinking. Replace Summon Selene/Eos with Summon Fairy. Add /fairyglamour. Adjust Dissipation/Summon Seraph so it's based off of Summon Fairy and not the previous Summon Selene/Eos. Introduce a new button that allows toggling a buff (similar to Eukrasia). By default (when the buff is inactive), uses the current fairy targeting system (raw HP-based). When the buff is active, fairy uses the % HP-based targeting formula.
    (1)
    Last edited by ToodlesElNoodles; 10-17-2021 at 12:50 PM.