• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

The Eyes of Grillok

Status
Not open for further replies.

Neccta

Exalted Member
I'm trying to fix the quest http://wowhead.com/quest=10813
Trinitycore has it half working with SAI, you will get the quest credit but the aura wont come off. So I thought it would be really easy just to do it in LUA. It works fine, but this time I don't get the KilledMonsterCredit. But the Aura does come off. Am I using :KilledMonsterCredit correctly?
Code:
local Grillok = {}

function RemoveAura(event, creature, player)
     if (player:HasAura(38495) and creature:IsWithinDistInMap(player, 3)) then
           player:KilledMonsterCredit(19440)
           player:RemoveAura(38495)
    end
end

RegisterCreatureEvent(22177, 27, RemoveAura)
 
Status
Not open for further replies.
Top