#!/usr/bin/python # -*- coding: GBK -*- # # @todo: ½øÈëXX buff״̬´¥·¢¼¼ÄÜ # # @author: Alee # @date 2018-1-9 ÏÂÎç09:39:37 # @version 1.0 # # @note: # #--------------------------------------------------------------------- import ChConfig import GameWorld import GameObj # ½øÈëXX buff״̬´¥·¢¼¼ÄÜ def CheckCanHappen(attacker, defender, effect, curSkill): return attacker.GetDictByKey("CurPyPlayerState") == effect.GetEffectValue(0)