All pastes #904953 Raw Edit

Stuff

public text v1 · immutable
·published 2008-02-15 12:42 UTC
rendered paste body
Index: game/Unit.cpp
===================================================================
--- game/Unit.cpp	(revision 5224)
+++ game/Unit.cpp	(working copy)
@@ -5047,6 +5047,16 @@
             }
             break;
         }
+		case SPELLFAMILY_MAGE:
+		{
+			// Invisibility - overwrite non existing triggered spell call in spell.dbc
+			if ( triggeredByAura->GetSpellProto()->Id == 66 )
+			{
+				CastSpell(pVictim, 32612, true, castItem, triggeredByAura);
+				return;
+			}
+			break;
+		}
     }
 
     switch(auraSpellInfo->SpellIconID)