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
| #!/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, skillTypeID):
| if effect.GetEffectValue(1):
| return effect.GetEffectValue(1)
| return skillTypeID
|
|
|