hxp
4 天以前 388823edfe6308cba6f76ca6dc4f20022c5cb2be
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: Ìá¸ß±©»÷¸ÅÂÊ
#
# @author: Alee
# @date 2019-4-27 ÏÂÎç10:43:37
# @version 1.0
#
# @note: 
#
#---------------------------------------------------------------------
import GameObj
 
def CheckCanHappen(attacker, defender, effect, curSkill):
    if effect.GetEffectValue(1):
        if not GameObj.GetPyPlayerState(defender, effect.GetEffectValue(1)):
            #GameWorld.DebugLog("״̬´¥·¢----%s"%effect.GetEffectValue(1))
            return False
    return True
    
 
def GetValue(attacker, defender, effect):
    return effect.GetEffectValue(0)