| | |
| | | import NPCCommon
|
| | | import PlayerVip
|
| | | import PlayerGoldInvest
|
| | | import PlayerPrestigeSys
|
| | | import GameObj
|
| | |
|
| | | import math
|
| | |
| | | # {
|
| | | # tagHead Head;
|
| | | # DWORD CountID; // 计数ID,客户端与策划约定,可以是NPCID或其他
|
| | | # BYTE Type; // 1-杀怪
|
| | | # };
|
| | | #===============================================================================
|
| | | def ClientTaskCount(index, clientData, tick):
|
| | | curPlayer = GameWorld.GetPlayerManager().GetPlayerByIndex(index)
|
| | | countType = clientData.Type |
| | | RunQuestEvent(curPlayer, "on_client_by_id", clientData.CountID, Def_RunQuestType_Normal)
|
| | |
|
| | |
|
| | | if countType == 1:
|
| | | PlayerPrestigeSys.AddRealmTaskValue(curPlayer, PlayerPrestigeSys.RealmTaskType_KillNPC, 1)
|
| | | return
|