• 0

    posted a message on event PARTY_KILL doesn't recognize pets?
    At the moment i think pet are not registered in PARTY_KILLS so if MrBiggleworth gets killed by a pet the addon will not register the event :(
    Posted in: Lua Code Discussion
  • 0

    posted a message on event PARTY_KILL doesn't recognize pets?
    Hi,
    the event PARTY_KILL does not recognize the kills of a Hunter/DK pet.
    Now, my question is: can PARTY_KILL trigger the kills of own pets?
    I tried it this way:
    When i exchange "pet" with "player" and i kill some enemie, the if-party gets executed.

    local petID = UnitGUID("pet");
    local toEnemy = CombatLog_Object_IsA(dstFlags, PS_COMBATLOG_FILTER_ENEMY_PLAYERS)

    if (eventType == "PARTY_KILL" and srcGUID == pet and toEnemy ) then
    .
    .
    .
    bla
    .
    .
    .
    end
    Posted in: Lua Code Discussion
  • To post a comment, please or register a new account.