View Single Post
  #1  
Old 04-11-2004, 12:47 PM
cofruben
Old-EQEmu Developer
 
Join Date: Oct 2002
Location: Spain
Posts: 323
Default New fuction,quest::setldonpoint

Hello,I have created this new function who sets ldon points.Format is: quest::setldonpoint(numberofpoints,ldonthemenumber );.For example quest::setldonpoint(5,2);.I hope it helps!I will accept any suggestions .
This in parser.cpp,between any else-if commands,line about 809:

Code:
		    else if (!strcmp(strlwr(command),"setldonpoint")) {
				if (mob && mob->IsClient())
					mob->CastToClient()->UpdateLDoNPoints(atoi(arglist[0]),atoi(arglist[1]));
			}
This in embparser.cpp between myra and scorpius2k comments:
Code:
"sub setldonpoint{push(@cmd_queue,{func=>'setldonpoint',args=>join(',',@_)});}"
You have done!.
Reply With Quote