Jump to content

Same function as in server?


Recommended Posts

  • Gold

Hey guys,

someone know how can I do the same function in client source?

The function must block buff if target player who have to be buffed have activated block buff button. Only if target player is member of the same party group as buffer the buff will be allowed.

I have this function in server source:

switch (dwVnum)
	{
		case 94:
		case 95:
		case 96:
		case 109:
		case 110:
		case 111:
		{
			if (this && pkVictim)
			{
				if (this != pkVictim && this->GetDesc() && pkVictim->GetDesc())
				{
					if (pkVictim->IsBlockMode(BLOCK_BUFF_BUTTON))  
					{
						return false;
					}
				}	
			}
		}
		break;
	}

Thanks for answers!

Sincerely,

ReFresh

  • Confused 1

I'll be always helpful! 👊 

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...
  • 2 weeks later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.