mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-28 20:07:56 +00:00
Some quest item and spell work, took out that stupid multiquesting code -> use your brains that's completely doable entirely in quests even perl
This commit is contained in:
@@ -2730,41 +2730,6 @@ const char* QuestManager::GetZoneLongName(const char *zone) {
|
||||
return ln.c_str();
|
||||
}
|
||||
|
||||
bool QuestManager::TurnInItem(uint32 itm, int charges)
|
||||
{
|
||||
if ( owner && owner->IsNPC() )
|
||||
{
|
||||
if ( owner->CastToNPC()->DoesQuestItemExist(itm, charges, true) )
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
void QuestManager::CompleteHandIn()
|
||||
{
|
||||
if ( owner && owner->IsNPC() )
|
||||
{
|
||||
owner->CastToNPC()->RemoveQuestDeleteItems();
|
||||
}
|
||||
}
|
||||
|
||||
void QuestManager::ResetHandIn()
|
||||
{
|
||||
if ( owner && owner->IsNPC() )
|
||||
{
|
||||
owner->CastToNPC()->ResetQuestDeleteList();
|
||||
}
|
||||
}
|
||||
|
||||
void QuestManager::ClearHandIn()
|
||||
{
|
||||
if ( owner && owner->IsNPC() )
|
||||
{
|
||||
owner->CastToNPC()->ClearQuestLists();
|
||||
}
|
||||
}
|
||||
|
||||
void QuestManager::CrossZoneSignalPlayerByCharID(int charid, uint32 data){
|
||||
ServerPacket* pack = new ServerPacket(ServerOP_CZSignalClient, sizeof(CZClientSignal_Struct));
|
||||
CZClientSignal_Struct* CZSC = (CZClientSignal_Struct*) pack->pBuffer;
|
||||
|
||||
Reference in New Issue
Block a user