Check cast Mend Pet
Код:
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp |
эта проверка есть и в чистом мангосе немного ниже, туда просто надо добавить проверку isAlive()
Код:
// check pet presents |
I think rsa points to
Код:
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp |
Код:
// check pet presents |
this will just not work :(
From your code: Цитата:
|
It is worth to remember also about talent http://www.wowhead.com/spell=55709 :)
|
Цитата:
Цитата:
AttributesEx2: 0x00000001 (SPELL_ATTR2_ALLOW_DEAD_TARGET) |
Spell 2641 doesn't have this attribute.
|
Цитата:
PS may be effect 1 of 2641 also must work on dead pet? ;) |
as I said - would not work correctly..
|
Цитата:
PS i'm cannot fit code to hacks. if spell absent in DBC, but must work - his require reconstruction, but not hacks like 11970 and some other... |
well, i don't know what the missing spell related to 2641 is for.
But it cannot be used to dismiss the pet. THat is just stupid for two reasons: 1) effect1 has the dismiss pet effect, so it would be redundant 2) the non-existent spell was not used in classic times, and I am farily sure that even in classic times a hunter was able to dismiss a pet... |
:) in classic _any_ spell be castable on dead target, if your not remember... not requre special addons like this.
in DBC big bunch of spells, reworked on 2.xx and next time reworked on 3.xx (4.xx, 5.xx). |
In some minimal form in [11981].
Thank you :) |
Текущее время: 22:56. Часовой пояс GMT +3. |
ru-mangos.ru - Русское сообщество MaNGOS