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!.