| #!/usr/bin/python  | 
| # -*- coding: GBK -*-  | 
| #  | 
| ##@package  | 
| #  | 
| # @todo: ¼Ç¼ÃüÖиöÊý  | 
| #  | 
| # @author: Alee  | 
| # @date 2019-6-22 ÏÂÎç03:43:33  | 
| # @version 1.0  | 
| #  | 
| # @note:   | 
| #  | 
| #---------------------------------------------------------------------  | 
|   | 
| import BaseAttack  | 
| import ChConfig  | 
| import GameWorld  | 
|   | 
| def CheckCanHappen(attacker, defender, effect, curSkill):  | 
|     skillHurtList = BaseAttack.GetSkillHurtList()  | 
|     cnt = 0  | 
|     for i in xrange(skillHurtList.GetHurtCount()):  | 
|         hurtObj = skillHurtList.GetHurtAt(i)  | 
|         if not hurtObj:  | 
|             continue  | 
|         if hurtObj.GetAttackType() in [ChConfig.Def_HurtType_Miss, ChConfig.Def_HurtType_Immune]:  | 
|             continue  | 
|         cnt += 1  | 
|           | 
|     attacker.SetDict("1304HitCnt", cnt)  | 
|     GameWorld.DebugLog("1304HitCnt---%s"%cnt)  | 
|     return False  | 
|       | 
|   | 
| def GetValue(attacker, defender, effect):  | 
|     return 0  |