Thread: Bind Wound
View Single Post
  #2  
Old 01-15-2008, 11:27 AM
Knightly
Accomplished Programmer
 
Join Date: Nov 2006
Location: Honolulu, HI
Posts: 91
Default

Since KLS appears to have fixed this, I will skip the testing of it. After I saw your post cavedude, I tested by changing client_packet.cpp:
Code:
void Client::Handle_OP_Bind_Wound(const EQApplicationPacket *app)
{
	if(!HasSkill(BIND_WOUND))
		return;
To:
Code:
void Client::Handle_OP_Bind_Wound(const EQApplicationPacket *app)
{
	if(!HasSkill(BIND_WOUND))
		Message(0,"You have no bind wound skill!");
		return;
Which causes the user to receive a message saying "You have no bind wound skill." When they try to bind wounds with 0 skill.

After looking it over, I assumed that changing that to:
Code:
void Client::Handle_OP_Bind_Wound(const EQApplicationPacket *app)
{
	/*if(!HasSkill(BIND_WOUND))
		Message(0,"You have no bind wound skill!");
		return;*/
Would fix the issue entirely since no character SHOULD be without the bind wound skill. I compiled, but didn't have time to test since I've been tied up at the office.
Reply With Quote