Skip to content

Commit

Permalink
Pets changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Tercioo committed Apr 8, 2021
1 parent 2d243d1 commit ba97deb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion classes/container_pets.lua
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ function container_pets:PegaDono (pet_serial, pet_nome, pet_flags)
pet_nome = pet_nome .. " <".. ownerName ..">"
end

return busca[6] or pet_nome, busca[1], busca[2], busca[3] --> [1] dono nome [2] dono serial [3] dono flag
--return busca[6] or pet_nome, busca[1], busca[2], busca[3] --> busca[6] poderia estar causando problemas
return pet_nome, busca[1], busca[2], busca[3] --> [1] dono nome [2] dono serial [3] dono flag
end

--> buscar pelo pet na raide
Expand Down
5 changes: 3 additions & 2 deletions core/parser.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1599,10 +1599,11 @@
local npcId = _tonumber(_select (6, _strsplit ("-", alvo_serial)) or 0)

--rename monk's "Storm, Earth, and Fire" adds
--desligado pois poderia estar causando problemas
if (npcId == 69792) then
alvo_name = "Earth Spirit"
--alvo_name = "Earth Spirit"
elseif (npcId == 69791) then
alvo_name = "Fire Spirit"
--alvo_name = "Fire Spirit"
end

--> pet summon another pet
Expand Down

0 comments on commit ba97deb

Please sign in to comment.