hch
2019-05-11 dfef43adce546cc3d8578811f8b82689246d227c
6603 【后端】【2.0】增加新版的sp和被动技能 - 消耗印记问题
1个文件已修改
3 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuff/PassiveSkill_4092.py 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuff/PassiveSkill_4092.py
@@ -20,6 +20,9 @@
    delType = effect.GetEffectValue(1)
    
    if delType == 0:
        if PlayerControl.GetYinjiCnt(attacker) < effect.GetEffectValue(0):
            return False
        PlayerYinji.SubYinji(attacker, effect.GetEffectValue(0))
    elif delType == 1:
        PlayerYinji.SubYinji(attacker, min(PlayerControl.GetYinjiCnt(attacker), effect.GetEffectValue(0)))