View Single Post
  #3  
Old 03-07-2009, 09:15 AM
Wolftousen
Sarnak
 
Join Date: Apr 2008
Posts: 49
Default

Or add the following to -

File: zone/special_attack.cpp
Line: 897

From:
Code:
DeleteItemInInventory(ammo_slot, 1, true);
CheckIncreaseSkill(THROWING);
To:
Code:
if(!isCasting() || CastingSpellID() != 6754) //if we are casting Rage Volley Discipline, we do not use up ammo and do not skill up
{
	DeleteItemInInventory(ammo_slot, 1, true);
	
	CheckIncreaseSkill(THROWING);
}
And

File: zone/special_attack.cpp
Line: 759

From:

Code:
if((attack_timer.Enabled() && !attack_timer.Check(false)) || (ranged_timer.Enabled() && !ranged_timer.Check())) {
	mlog(COMBAT__RANGED, "Throwing attack canceled. Timer not up. Attack %d, ranged %d", attack_timer.GetRemainingTime(), ranged_timer.GetRemainingTime());
	Message(0, "Error: Timer not up. Attack %d, ranged %d", attack_timer.GetRemainingTime(), ranged_timer.GetRemainingTime());
	return;
}
To:

Code:
if(!isCasting() || CastingSpellID() != 6754) //if we are casting Rage Volley Discipline, ignore the throwing attack timer
{
	if((attack_timer.Enabled() && !attack_timer.Check(false)) || (ranged_timer.Enabled() && !ranged_timer.Check())) {
		mlog(COMBAT__RANGED, "Throwing attack canceled. Timer not up. Attack %d, ranged %d", attack_timer.GetRemainingTime(), ranged_timer.GetRemainingTime());
		Message(0, "Error: Timer not up. Attack %d, ranged %d", attack_timer.GetRemainingTime(), ranged_timer.GetRemainingTime());
		return;
	}
}
Reply With Quote