mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-27 20:52:17 +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:
1 parent
bec6acc01e
commit
7adcf6d3e5
26 files changed
+416
-483
No files matched your search
@@ -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