| | |
| | | import SkillShell
|
| | | import PassiveBuffEffMng
|
| | | import ChNetSendPack
|
| | | import PlayerTJG
|
| | | import OperControlManager
|
| | | import GameObj
|
| | | import CrossPlayerData
|
| | |
| | | beforeHP = GameObj.GetHP(curObj)
|
| | |
|
| | | index = 0
|
| | | isPlayerTJG = (curObj.GetGameObjType() == IPY_GameWorld.gotPlayer and PlayerTJG.GetIsTJG(curObj))
|
| | |
|
| | | skillIDListInDelBuff = [] # buff消失中需要处理添加buff,外层处理避免错乱
|
| | |
|
| | |
| | | #填表,持续时间为0的Buff为永久Buff
|
| | | if not curSkill.GetLastTime() and not curBuffRemainTime:
|
| | | index += 1
|
| | | continue
|
| | | |
| | | if isPlayerTJG and curSkill.GetSkillTypeID() in ChConfig.TJGStateNotRefreshTimeBuff:
|
| | | curBuff.SetCalcStartTick( tick ) |
| | | index += 1
|
| | | #GameWorld.DebugLog("脱机挂状态下不刷新buff时间: skillTypeID=%s" % curSkill.GetSkillTypeID())
|
| | | continue
|
| | |
|
| | | remainTime = curBuffRemainTime - ( tick - curBuff.GetCalcStartTick() )
|