View Single Post
  #2  
Old 02-09-2013, 12:50 PM
rencro
Hill Giant
 
Join Date: Sep 2008
Location: So. California
Posts: 219
Default

To get this to work I had to first decalre it in spdat.h and mob.h then I had to modify:

Code:
if(_melee_rune_left >= damage)
					{
						_melee_rune_left -= damage;
						member->buffs[_slot].melee_rune = _melee_rune_left;
						member->Message(0, "Your group ward has %i points remaining.", _melee_rune_left);
					}
to

Code:
if(_melee_rune_left >= damage)
					{
						_melee_rune_left -= damage;
						member->buffs[_slot].melee_rune = _melee_rune_left;
						member->Message(0, "Your group ward has %i points remaining.", _melee_rune_left);
						return -6;
					}
as for removing the buff when shaman is not part of group, was thinking instead of doing the check in this code you could do it when DELMEMBER is called in group.cpp so it can effect multiple classes with multiple spells similar to how eq2 removes group buffs when that particular class is no longer in the group.

Last edited by rencro; 02-09-2013 at 01:00 PM.. Reason: forgot mob.h
Reply With Quote