Advertisement
DamnataAnimus

Untitled

Mar 12th, 2017
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Slot = 30;
  2. PSPELL pSpell = GetSpellByName("Faerune");
  3. GetCharInfo2()->Buff[Slot].Unknown0x00 = (BYTE)2;
  4. GetCharInfo2()->Buff[Slot].Level = (BYTE)65;
  5. GetCharInfo2()->Buff[Slot].Modifier = (CHAR)100;
  6. GetCharInfo2()->Buff[Slot].DamageShield = (CHAR)0;
  7. GetCharInfo2()->Buff[Slot].SpellID = (DWORD)pSpell->ID;
  8. GetCharInfo2()->Buff[Slot].Duration = (DWORD)9990;
  9. GetCharInfo2()->Buff[Slot].DamageAbsorbRemaining = (DWORD)0;
  10. Slot = 29;
  11. PSPELL pSpell2 = GetSpellByName("Chorus of Replenishment");
  12. GetCharInfo2()->Buff[Slot].Unknown0x00 = (BYTE)2;
  13. GetCharInfo2()->Buff[Slot].Level = (BYTE)65;
  14. GetCharInfo2()->Buff[Slot].Modifier = (CHAR)100;
  15. GetCharInfo2()->Buff[Slot].DamageShield = (CHAR)0;
  16. GetCharInfo2()->Buff[Slot].SpellID = (DWORD)pSpell2->ID;
  17. GetCharInfo2()->Buff[Slot].Duration = (DWORD)9990;
  18. GetCharInfo2()->Buff[Slot].DamageAbsorbRemaining = (DWORD)0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement