#!/usr/bin/python # -*- coding: GBK -*- # ##@package # # @todo: ·´µ¯÷è÷ëÓÓÉíÎüÊÕµÄÉ˺¦ 4074µÄÌØÊâ¼Ó³É # # @author: Alee # @date 2019-3-20 ÉÏÎç11:47:44 # @version 1.0 # # @note: # #--------------------------------------------------------------------- import ChConfig import GameWorld import ItemControler import PlayerControl import PassiveBuffEffMng # Ä¿±êij¸ö״̬ʱ´¥·¢ def CheckCanHappen(attacker, defender, effect, curSkill): return True if attacker.GetDictByKey(ChConfig.Def_PlayerKey_AbsorbValue) else False #ÎüÊյĵ¥´ÎÉ˺¦ def GetValue(attacker, defender, effect): return effect.GetEffectValue(0)