- Implemented Portal of Summoning (Dungeon)

This commit is contained in:
Ivan Savenko
2010-07-10 16:50:23 +00:00
parent b1a916fb15
commit bb7615309f
11 changed files with 148 additions and 77 deletions
+2 -2
View File
@@ -64,12 +64,12 @@ void CCallback::selectionMade(int selection, int asker)
QueryReply pack(asker,selection);
*cl->serv << &pack;
}
void CCallback::recruitCreatures(const CGObjectInstance *obj, ui32 ID, ui32 amount)
void CCallback::recruitCreatures(const CGObjectInstance *obj, ui32 ID, ui32 amount, si32 level/*=-1*/)
{
if(player!=obj->tempOwner && obj->ID != 106)
return;
RecruitCreatures pack(obj->id,ID,amount);
RecruitCreatures pack(obj->id,ID,amount,level);
sendRequest(&pack);
}