#!/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