hxp
2024-10-29 328648da94a07437fc46024f3e9b7e48c2e2ae38
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/python
# -*- coding: GBK -*-
#
# @todo: buffÖб»¹¥»÷·´µ¯×ÔÉí×î´ó¹¥»÷Á¦XX%É˺¦
#
# @author: Alee
# @date 2018-1-30 ÏÂÎç05:11:45
# @version 1.0
#
# @note: 
#
#---------------------------------------------------------------------
 
import ChConfig
import GameWorld
import GameObj
 
def CheckCanHappen(attacker, defender, passiveEffect, skillID, **skillkwargs):
    return True
 
 
def GetValue(attacker, defender, passiveEffect):
    return passiveEffect.GetEffectValue(0) * 1.0 / ChConfig.Def_MaxRateValue*attacker.GetMaxAtk()