Amend these to last commit

Forgot to add changelog and adjustment to task.cpp getmin/getmax
This commit is contained in:
hateborne 2015-07-16 13:46:29 -04:00
parent d64f79cb2a
commit 1b8f613391
2 changed files with 11 additions and 8 deletions

View File

@ -1,5 +1,12 @@
EQEMu Changelog (Started on Sept 24, 2003 15:50)
-------------------------------------------------------
== 07/15/2015 ==
Hateborne: Added optional ability to enforce task level requirements in perl and lua via an added, optional parameter to $client->AssignTask and quest::assigntask.
Use cases:
quest::assigntask(703); # this still assigns the task as normal, no functional change
quest::assigntask(703, 1); # this will assign the task, provided the character meets the db-stored level requirements
$client->AssignTask(703, $npc->GetID()); # still assigns the task as normal, no functional change
$client->AssignTask(703, $npc->GetID(), 1); # this will assign the task, provided the character meets the db-stored level requirements
== 07/06/2015 ==
mackal: Implement Triple Attack Skill
Parses showed about rand(1000) for the chance, may need more investigating

View File

@ -901,10 +901,8 @@ int TaskManager::GetTaskMinLevel(int TaskID)
{
return Tasks[TaskID]->MinLevel;
}
else
{
return -1;
}
}
int TaskManager::GetTaskMaxLevel(int TaskID)
@ -913,10 +911,8 @@ int TaskManager::GetTaskMaxLevel(int TaskID)
{
return Tasks[TaskID]->MaxLevel;
}
else
{
return -1;
}
}
void TaskManager::TaskSetSelector(Client *c, ClientTaskState *state, Mob *mob, int TaskSetID) {