|  |  |  | 
|---|
|  |  |  | #@param mapBornPlace 复活位置,默认0为原地 | 
|---|
|  |  |  | #@return 返回值无意义 | 
|---|
|  |  |  | #@remarks 自定义函数, 玩家复活 | 
|---|
|  |  |  | def PlayerRebornByType(curPlayer, playerRebornType, tick, mapBornPlace=0): | 
|---|
|  |  |  | def PlayerRebornByType(curPlayer, playerRebornType, tick, mapBornPlace=0, isAddSuperBuff=True): | 
|---|
|  |  |  | curPlayerID = curPlayer.GetID() | 
|---|
|  |  |  | curVipLv = curPlayer.GetVIPLv() | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | FBLogic.OnResetFBRebornPlacePos(curPlayer, mapBornPlace, tick) | 
|---|
|  |  |  |  | 
|---|
|  |  |  | #复活加无敌Buff | 
|---|
|  |  |  | SkillCommon.AddBuffBySkillType_NoRefurbish(curPlayer , ChConfig.Def_SkillID_LimitSuperBuff, tick) | 
|---|
|  |  |  | if isAddSuperBuff: | 
|---|
|  |  |  | SkillCommon.AddBuffBySkillType_NoRefurbish(curPlayer , ChConfig.Def_SkillID_LimitSuperBuff, tick) | 
|---|
|  |  |  | #复活疲劳BUff | 
|---|
|  |  |  | if curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_IsAddReviveTired): | 
|---|
|  |  |  | findBuff = SkillCommon.FindBuffByID(curPlayer, ChConfig.Def_SkillID_ReviveTired)[0] | 
|---|