diff options
| author | krz <none@none> | 2009-05-25 23:58:40 +0200 |
|---|---|---|
| committer | krz <none@none> | 2009-05-25 23:58:40 +0200 |
| commit | dd9939942413318c773ad126492e7731fe17a7b7 (patch) | |
| tree | 06ecfcc022253731b45e521427d91de0393faa28 | |
| parent | ff05e05e71bc5222319d0ebe59289c49fb38f8c8 (diff) | |
GUARDIAN_PET will be now attackable for players with same faction as summoner if used in arena/duel.
--HG--
branch : trunk
| -rw-r--r-- | src/game/SpellEffects.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index b75b388a7c7..190f9934b84 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -3635,6 +3635,7 @@ void Spell::EffectSummonGuardian(uint32 i) spawnCreature->SetUInt32Value(UNIT_FIELD_PET_NAME_TIMESTAMP,0); spawnCreature->SetUInt32Value(UNIT_CREATED_BY_SPELL, m_spellInfo->Id); + spawnCreature->SetFlag(UNIT_FIELD_FLAGS,UNIT_FLAG_PVP_ATTACKABLE); } } |
