1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/usr/bin/python
# -*- coding: GBK -*-
#-------------------------------------------------------------------------------
#
##@package GameWorldLogic.FBProcess.GameLogic_ArenaBattle
#
# @todo:¾º¼¼³¡Õ½¶·
# @author hxp
# @date 2020-12-07
# @version 1.0
#
# ÏêϸÃèÊö: ¾º¼¼³¡Õ½¶·£¬Ä¿Ç°Ö÷Òª×ö×Ô¶¨Ò帱±¾Á÷³ÌÇÅÁº°É£¬ÔÝʱûʲô¶îÍâÂß¼­£¬Õ½¶·¹ý³Ìǰ¶Ë×ÔÐд¦Àí£¬ºó¶ËÖ»´¦Àí»÷ɱľ׮ºó½áËã
#
#-------------------------------------------------------------------------------
#"""Version = 2020-12-07 19:30"""
#-------------------------------------------------------------------------------
 
import PlayerArena
 
## ÊÇ·ñÄܹ»Í¨¹ý»î¶¯²éѯ½øÈë
def OnEnterFBEvent(curPlayer, mapID, lineID, tick):
    return True
 
## ÊÇ·ñÐèÒª×ö½øÈ븱±¾Í¨Óüì²éÌõ¼þÂß¼­£¬Ä¬ÈÏÐèÒª¼ì²é
def OnNeedCheckCanEnterFBComm(curPlayer, mapID, lineID):
    ## ½øÐÐÖеIJ»ÐèÒªÖØ¸´¼ì²é£¬·ÀÖ¹¶ÏÏßÖØÁ¬±»½ûÖ¹½øÈë
    return False
 
## ¿Í»§¶Ë½øÈë×Ô¶¨Ò峡¾°
def OnEnterCustomScene(curPlayer, mapID, lineID):
    return
 
## ÅжϿɷñÕÙ»½Ä¾×®¹Ö
def OnCanSummonPriWoodPile(curPlayer, mapID, lineID, npcID, count):
    return True
 
## ×Ô¶¨Ò峡¾°¸±±¾»÷ɱNPC
def DoCustomScene_Player_KillNPC(curPlayer, curNPC, mapID, lineID):
    PlayerArena.OnKillBattleNPC(curPlayer, curNPC)
    return