| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 | | #!/usr/bin/python  |  | # -*- coding: GBK -*-  |  | #  |  | ##@package  |  | #  |  | # @todo: ¹¥»÷·½µÄ×î´óÉúÃü°Ù·Ö±Èת»¯Îª¹Ì¶¨É˺¦Öµ  |  | #  |  | # @author: Alee  |  | # @date 2019-6-18 ÏÂÎç09:24:04  |  | # @version 1.0  |  | #  |  | # @note:   |  | #  |  | #---------------------------------------------------------------------  |  | import ChConfig  |  | import GameObj  |  |   |  | def CheckCanHappen(attacker, defender, effect, curSkill):  |  |     return True  |  |       |  |   |  | def GetValue(attacker, defender, effect):  |  |     return effect.GetEffectValue(0)*GameObj.GetMaxHP(attacker)/ChConfig.Def_MaxRateValue  |  |   | 
 |