| #!/usr/bin/python  | 
| # -*- coding: GBK -*-  | 
| #  | 
| ##@package  | 
| #  | 
| # @todo: buff×ÔÈ»Ïûʧºó´¥·¢Ö¸¶¨¼¼ÄÜ£¨·ÅµÚÒ»¸öЧ¹ûID£©  | 
| #  | 
| # @author: Alee  | 
| # @date 2019-4-29 ÏÂÎç03:59:40  | 
| # @version 1.0  | 
| #  | 
| # @note:   | 
| #  | 
| #---------------------------------------------------------------------  | 
|   | 
| import GameWorld  | 
| import ChConfig  | 
| import GameObj  | 
| import SkillShell  | 
|   | 
|   | 
|   | 
| def CalcBuffValue(attacker, defender, curSkill, changeBuffValueDict):  | 
|     return [GameWorld.GetGameWorld().GetTick()]  | 
|   | 
| def OnBuffDisappear(curObj, curSkill, curBuff, curEffect, tick):  | 
|     if tick - curBuff.GetValue() < curSkill.GetLastTime():  | 
|         # ·Ç×ÔÈ»Ïûʧ  | 
|         return  | 
|       | 
|     if curEffect.GetEffectValue(1):  | 
|         if not GameObj.GetPyPlayerState(curObj, curEffect.GetEffectValue(1)):  | 
|             return  | 
|           | 
|     curObj.SetDict(ChConfig.Def_PlayerKey_SkillInDelBuff, curEffect.GetEffectValue(0))   | 
|     return |