1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  | #!/usr/bin/python  
 |  # -*- coding: GBK -*-  
 |  #  
 |  ##@package  
 |  #  
 |  # @todo: buffÖеÖÏûÖ¸¶¨¼¼ÄÜbuff  
 |  #  
 |  # @author: Alee  
 |  # @date 2019-5-7 ÏÂÎç09:27:34  
 |  # @version 1.0  
 |  #  
 |  # @note:   
 |  #  
 |  #---------------------------------------------------------------------  
 |    
 |  import ChConfig  
 |  import GameWorld  
 |  import SkillCommon  
 |  import BuffSkill  
 |  import IPY_GameWorld  
 |    
 |  def CheckCanHappen(attacker, defender, effect, tagSkill, **skillkwargs):  
 |      if  effect.GetEffectValue(0) != tagSkill.GetSkillTypeID():  
 |          return False  
 |      return True  
 |    
 |  
  |