|  |  |  | 
|---|
|  |  |  | # @remarks | 
|---|
|  |  |  | def OnCloseFB(tick): | 
|---|
|  |  |  | gameWorld = GameWorld.GetGameWorld() | 
|---|
|  |  |  |  | 
|---|
|  |  |  | lineID = gameWorld.GetPropertyID() - 1 | 
|---|
|  |  |  | PyGameData.g_ZhuXianBossPlayerHurtDict[lineID] = {} | 
|---|
|  |  |  | gameWorld.SetPropertyID(0) | 
|---|
|  |  |  | return | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | gameWorld = GameWorld.GetGameWorld() | 
|---|
|  |  |  | # 清除鼓舞buff | 
|---|
|  |  |  | FBCommon.ClearEncourageBuff(curPlayer, tick) | 
|---|
|  |  |  | #最后一人 | 
|---|
|  |  |  | if gameWorld.GetMapCopyPlayerManager().GetPlayerCount() == 1: | 
|---|
|  |  |  | lineID = gameWorld.GetPropertyID() - 1 | 
|---|
|  |  |  | PyGameData.g_ZhuXianBossPlayerHurtDict[lineID] = {} | 
|---|
|  |  |  |  | 
|---|
|  |  |  | GameWorld.GetGameFB().ClearGameFBDict() | 
|---|
|  |  |  | GameWorldProcess.CloseFB(tick) | 
|---|
|  |  |  | return | 
|---|
|  |  |  |  | 
|---|
|  |  |  | return | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ##玩家主动离开副本. | 
|---|