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