| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 | | #!/usr/bin/python  |  | # -*- coding: GBK -*-  |  | #  |  | ##@package  |  | #  |  | # @todo: µ±³ÖÐøbuffÉ˺¦µÚX´Îʱ´¥·¢¼¼ÄÜ  |  | #        µ±¼³Áé¶ÔÄ¿±êÔì³É3´ÎÉ˺¦Ê±£¬¿É½µµÍÄ¿±ê20%µÄ·ÀÓù  |  | # @author: Alee  |  | # @date 2019-3-15 ÏÂÎç03:26:32  |  | # @version 1.0  |  | #  |  | # @note:   |  | #  |  | #---------------------------------------------------------------------  |  |   |  |   |  | import ChConfig  |  |   |  | def CheckCanHappen(attacker, defender, effect, curSkill):     |  |     if defender.GetDictByKey(ChConfig.Def_PlayerKey_BuffHurtCnt) != effect.GetEffectValue(0):  |  |         return False  |  |       |  |     return True | 
 |