Advertisement
Guest User

by Cronic

a guest
Apr 10th, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.58 KB | None | 0 0
  1.     //Mage - firestarter talent ranks 1 & 2
  2.     // we are overriding the current wrong procs, should only proc on these 2 spells.
  3.     sp = CheckAndReturnSpellEntry(44442);
  4.     if (sp != NULL)
  5.     {
  6.         sp->procFlags = PROC_ON_CAST_SPELL;
  7.         sp->procChance = 50;
  8.         sp->custom_ProcOnNameHash[0] = SPELL_HASH_DRAGON_S_BREATH;
  9.         sp->custom_ProcOnNameHash[1] = SPELL_HASH_BLAST_WAVE;
  10.     }
  11.     sp = CheckAndReturnSpellEntry(44443);
  12.     if (sp != NULL)
  13.     {
  14.         sp->procFlags = PROC_ON_CAST_SPELL;
  15.         sp->custom_ProcOnNameHash[0] = SPELL_HASH_DRAGON_S_BREATH;
  16.         sp->custom_ProcOnNameHash[1] = SPELL_HASH_BLAST_WAVE;
  17.  
  18.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement