HandyNotes: The War Within

HandyNotes: The War Within

5M Downloads

Ohn'ahra - Divine Kiss of Ohn'ahra (Mount)

wyldclaw opened this issue ยท 0 comments

commented

I don't have beta access so I can't test this like I normally would BUT I still wanted to help out and do as much work as I could. Maybe @Dathwada could handle the actual implementation?

One of the materials requires Occasional Sand to puchase. Occasiontal Sand is looted from Time-Lost mobs in Thaldraszus.

/way Thaldraszus 60.0, 82.0

Do we need to add a node in Thaldraszus with the same information as this node?

Either way, here is the base code based on the current Lizi, Thunderspine Trampler code.

This code block would go in ohnahran_plains.lua

-------------------------------------------------------------------------------
---------------------- OHN'AHRA, DIVINE KISS OF OHN'AHRA ----------------------
-------------------------------------------------------------------------------

-- https://www.wowhead.com/news/divine-kiss-of-ohnahra-ohuna-transformation-mount-in-dragonflight-329817

local Ohnahra = Class('Ohnahra', Collectible, {
    id = 194796, -- Ohn'ahra
    icon = 4094306, -- Inv_eagle2windmount_white
    requires = {
        ns.requirement.Quest(65901), -- Sneaking Out
        ns.requirement.Reputation(2503, 9, true) -- Maruuk Centaur
    }
    rewards = {
        Mount({item = 198821, id = 1545}) -- Divine Kiss of Ohn'ahra
    },
    pois = {
        POI({54806640}), -- Initiate Radiya (190014)
        Path({57603200,54806640}), -- Ohn'ahra >> Initiate Radiya
        POI({56507330}), -- Godoloto (190022)
        Path({57603200, 56507330}) -- Ohn'ahra >> Godoloto
        POI({60403760}), -- Quatermaster Huseng (196707)
        Path({57603200, 60403760}) -- Ohn'ahra >> Quatermaster Huseng
    }
}) -- Ohn'ahra (194796)

function Ohnahra.getters:note()
    local function status(id, count)
        if ns.PlayerHasItem(id, count) then
            return ns.status.Green(count .. 'x')
        else
            return ns.status.Red(count .. 'x')
        end
    end

    local note = L['ohnahra_note_start']
    note = note .. '\n\n' .. status(201929, 3) .. ' ' .. L['ohnahra_note_item1'] -- Stolen Breath of Ohn'ahra
    note = note .. '\n\n' .. status(201323, 1) .. ' ' .. L['ohnahra_note_item2'] -- Essence of Awakening
    note = note .. '\n\n' .. status(191507, 1) .. ' ' .. L['ohnahra_note_item3'] -- Exultant Incense
    return note .. '\n\n' .. L['ohnahra_note_end']
end

map.nodes[57603200] = Ohnahra()

This code block would go in enUS.lua

['ohnahra_note_start'] = 'Start {quest:65901} and continue the quest chain until {npc:190022} appears in |cFFFFFD00Ohn\'iri Springs|r behind a Windsage hut. Gather the following materials from a vendor, boss, and crafter:'

['ohnahra_note_item1'] = 'Collect 3x {item:201929} from {npc:186151} who is the final boss of the |cFFFFFD00Nokhud Offensive|r dungeon. Not a 100% drop. Requires Heroic difficulty.'

['ohnahra_note_item2'] = 'Purchase 1x {item:201323} from {npc:196707} for 50x {currency:2003} and 1x {item:194562}. {item:194562} is looted from Time-Lost mobs in |cFFFFFD00Thaldrazsus|r.'

['ohnahra_note_item3'] = 'Collect 1x {item:191507} from an Alchemist using {item:191588}. Alchemists can purchase {item:191588} from {npc:196707} starting at Renown 22. Note that {npc:190022} requires a Rank 3 crafted version.'

['ohnahra_note_end'] = 'Once you have all materials, return to {npc:190022} and accept {quest:72512} requesting you to approach {npc:194796}. Approach {npc:194796} to turn in the quest and receive your mount.'

Since I don't have beta access I used the commented Wowhead article as well as the comments found on the mount page.

https://www.wowhead.com/beta/item=198821/divine-kiss-of-ohnahra#comments