#!/usr/bin/python
|
# -*- coding: GBK -*-
|
#-------------------------------------------------------------------------------
|
#
|
##@package Skill.TurnBuffs.BuffAtk_1001
|
#
|
# @todo:buff³ÖÐø¹¥»÷
|
# @author hxp
|
# @date 2025-08-19
|
# @version 1.0
|
#
|
# ÏêϸÃèÊö: buff³ÖÐø¹¥»÷
|
#
|
#-------------------------------------------------------------------------------
|
#"""Version = 2025-08-19 16:00"""
|
#-------------------------------------------------------------------------------
|
|
import TurnSkill
|
import ChConfig
|
|
def CalcBuffValue(turnFight, attacker, defender, curSkill):
|
#calcType = curSkill.GetCalcType()
|
skillPer = curSkill.GetSkillPer()
|
skillValue = curSkill.GetSkillValue()
|
|
hurtValue, hurtTypes = TurnSkill.CalcHurtHP(turnFight, attacker, defender, curSkill, skillValue, skillPer, damageoftime=1)
|
return [hurtValue % ChConfig.Def_PerPointValue, hurtValue / ChConfig.Def_PerPointValue, hurtTypes]
|
|
def DoBuffProcess(turnFight, batObj, curBuff):
|
## Ö´Ðе¥´ÎÂß¼
|
hurtValue = curBuff.GetValue1() + curBuff.GetValue2() * ChConfig.Def_PerPointValue # µ¥´ÎÉ˺¦
|
hurtTypes = curBuff.GetValue3()
|
TurnSkill.DoDOTAttack(turnFight, batObj, curBuff, hurtValue, hurtTypes)
|
return
|
|