#!/usr/bin/python # -*- coding: GBK -*- # # @todo: ¸ÅÂÊÐÔ¼Ó³ÉɱҰÍâ¹Ö¾­Ñé # # @author: Alee # @date 2018-1-9 ÏÂÎç09:39:37 # @version 1.0 # # @note: # #--------------------------------------------------------------------- import ChConfig import GameWorld import GameObj def CheckCanHappen(attacker, defender, effect, curSkill): return GameWorld.CanHappen(effect.GetEffectValue(0)) def GetValue(attacker, defender, effect): return effect.GetEffectValue(1)