Вот вам скрипт, если такой уже был , Удалите тему ! Воровская честь
Правка таланта разбойника Воровская честь:
Воровская честь
Code
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index f6badb4..a2e1b48 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -2869,6 +2869,31 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
break;
case SPELLFAMILY_SHAMAN:
break;
+ case SPELLFAMILY_ROGUE:
+ {
+ // Honor Among Thieves
+ if (GetId() == 52916)
+ {
+ if (m_target->getClass() != CLASS_ROGUE)
+ return;
+
+ Unit::AuraMap auras = m_target->GetAuras();
+ for (Unit::AuraMap::iterator itr = auras.begin(); itr != auras.end(); itr++)
+ {
+ if (SpellEntry const *spell = itr->second->GetSpellProto())
+ {
+ if ( (*spell->EffectTriggerSpell) == 52916)
+ {
+ if (roll_chance_i( (*spell->EffectBasePoints) ) )
+ if (Unit* pVictim = m_target->getVictim() )
+ m_target->CastSpell(pVictim, 51699, true );
+ break;
+ }
+ }
+ }
+ }
+ br eak;
+ }
}
// pet auras