hxp
2025-01-09 c5731326acc36a3cfc6870ddb51ce2cc86e2cdc5
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
28
29
30
31
32
33
#!/usr/bin/python
# -*- coding: GBK -*-
#
#
##@package Buff_806
# @todo: ¸ù¾Ý¹¥»÷Á¦»ñÈ¡µÄѪÁ¿»¤¶Ü
#
# @author Alee
# @date 2017-10-31 14:10
# @version 1.0
#
#---------------------------------------------------------------------
"""Version = 2017-10-31 14:10"""
 
 
import IPY_GameWorld
import GameWorld
import ChConfig
import GameObj
import SkillCommon
 
 
 
# @param attacker ¹¥»÷ÕßʵÀý
# @param curSkill ¼¼ÄÜʵÀý
# @param curEffect µ±Ç°¼¼ÄÜЧ¹û1
# @return ×ÜÖµ
def CalcBuffValue(attacker, defender, curSkill, changeBuffValueDict):
    curEffect = curSkill.GetEffect(0)
    return [int(float(curEffect.GetEffectValue(0))/ChConfig.Def_MaxRateValue*attacker.GetMaxAtk())]