mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 09:31:30 +00:00
Amend these to last commit
Forgot to add changelog and adjustment to task.cpp getmin/getmax
This commit is contained in:
parent
d64f79cb2a
commit
1b8f613391
@ -1,5 +1,12 @@
|
|||||||
EQEMu Changelog (Started on Sept 24, 2003 15:50)
|
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 ==
|
== 07/06/2015 ==
|
||||||
mackal: Implement Triple Attack Skill
|
mackal: Implement Triple Attack Skill
|
||||||
Parses showed about rand(1000) for the chance, may need more investigating
|
Parses showed about rand(1000) for the chance, may need more investigating
|
||||||
|
|||||||
@ -901,10 +901,8 @@ int TaskManager::GetTaskMinLevel(int TaskID)
|
|||||||
{
|
{
|
||||||
return Tasks[TaskID]->MinLevel;
|
return Tasks[TaskID]->MinLevel;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
return -1;
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int TaskManager::GetTaskMaxLevel(int TaskID)
|
int TaskManager::GetTaskMaxLevel(int TaskID)
|
||||||
@ -913,10 +911,8 @@ int TaskManager::GetTaskMaxLevel(int TaskID)
|
|||||||
{
|
{
|
||||||
return Tasks[TaskID]->MaxLevel;
|
return Tasks[TaskID]->MaxLevel;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
return -1;
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void TaskManager::TaskSetSelector(Client *c, ClientTaskState *state, Mob *mob, int TaskSetID) {
|
void TaskManager::TaskSetSelector(Client *c, ClientTaskState *state, Mob *mob, int TaskSetID) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user