hch
2018-08-31 f6aaf59a776481f03817a1534b72f765164ef75e
0 删除旧版本技能增强代码
4个文件已修改
10个文件已删除
663 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillModule_16.py 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuffEffMng.py 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillBoosts/SkillBoost_1.py 31 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillBoosts/SkillBoost_2.py 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillBoosts/SkillBoost_3.py 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillBoosts/SkillBoost_5.py 28 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillBoosts/SkillBoost_6.py 31 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillBoosts/SkillBoost_7.py 32 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillBoosts/SkillChange_4000.py 55 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillBoosts/SkillWeaken_103.py 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillBoosts/__init__.py 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillDataBoost.py 381 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
@@ -4292,21 +4292,6 @@
TriggerType_OneDamage,   # 伤害降低到1点 49
) = range(1, 50)
#增强类型定义,参考SkillBoosts下的SkillBoost_文件
BoostType_HappenRate = 4    # 触发几率特殊处理 - 增强
WeakenType_HappenRate = 104    # 触发几率特殊处理 - 减弱
#MapConfig表中的索引定义-----------------------------------------------------------
# 表SkillBoostEffDropRate 中的 列表索引定义
(
Def_SkillBoostTable_SkillTypeID,
Def_SkillBoostTable_BoostType,
Def_SkillBoostTable_SkillEffectID,
Def_SkillBoostTable_ParentSkillTypeID,  # 相对Def_SkillBoostTable_SkillTypeID的父技能如召唤
Def_SkillBoostTable_MinValue,
Def_SkillBoostTable_MaxValue,
Def_SkillBoostTable_NotifyValue,
) = range(7)
# NPC功能类型定义
Def_NPCFuncType_Goblin = 70 # 盗宝哥布林
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillModule_16.py
@@ -21,7 +21,6 @@
import BaseAttack
import IPY_GameWorld
import ItemControler
import SkillDataBoost
import GameObj
import SkillCommon
@@ -118,8 +117,6 @@
    
    summonNPC.SetVisible(True)
    summonNPC.SetCanAttack(False)
    #SkillDataBoost.SetSummonNPCSkillBoost(curPlayer, summonNPC, curSkill)
    return True
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuffEffMng.py
@@ -26,7 +26,6 @@
import GameWorld
import ChConfig
import IpyGameDataPY
#import SkillBoosts
import SkillCommon
import BuffSkill
import SkillShell
@@ -43,7 +42,6 @@
import PetControl
import QuestCommon
#GameWorld.ImportAll("Script\\Skill\\", "SkillBoosts")
GameWorld.ImportAll("Script\\Skill\\", "PassiveBuff")
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillBoosts/SkillBoost_1.py
File was deleted
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillBoosts/SkillBoost_2.py
File was deleted
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillBoosts/SkillBoost_3.py
File was deleted
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillBoosts/SkillBoost_5.py
File was deleted
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillBoosts/SkillBoost_6.py
File was deleted
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillBoosts/SkillBoost_7.py
File was deleted
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillBoosts/SkillChange_4000.py
File was deleted
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillBoosts/SkillWeaken_103.py
File was deleted
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillBoosts/__init__.py
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillDataBoost.py
File was deleted
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py
@@ -32,7 +32,6 @@
import ReadChConfig
import DataRecordPack
import ChItem
import SkillDataBoost
import PlayerActivity
import ShareDefine
import PlayerGodWeapon
@@ -2993,14 +2992,6 @@
# @return 概率
def GetSkillOfSeriesHitRate(attacker, defender, exSkill):
    baseRate = exSkill.GetHappenRate()
    #===========================================================================
    # addRate = SkillDataBoost.GetSkillBoostValeByType(attacker, exSkill, ChConfig.BoostType_HappenRate)
    # weakRate = 0
    # if defender:
    #    weakRate = SkillDataBoost.GetSkillWeakenValeByType(defender, exSkill, ChConfig.WeakenType_HappenRate)
    # hitRate = max(0, baseRate + addRate - weakRate)
    #===========================================================================
    #GameWorld.DebugLog("触发几率: base=%s,add=%s,weak=%s, hitRate=%s" % (baseRate, addRate, weakRate, hitRate))
    return baseRate
##检查触发技能的使用条件
@@ -3124,7 +3115,6 @@
        tagRoundPosX = attacker.GetPosX()
        tagRoundPosY = attacker.GetPosY()
        
    #curSkill = SkillDataBoost.ChangeSkillData(attacker, defender, curSkill, isEnhanceSkill)
    
    #这个技能是Buff
    if SkillCommon.IsBuff(curSkill):
@@ -3241,7 +3231,7 @@
    
    moduleSuffix = GetBuffModuleSuffix(curEffect)
    
    changeBuffValueDict = {}#SkillDataBoost.GetBuffValueDict(curSkill, effectID)
    changeBuffValueDict = {}
    
    #是否是持续性技能
    if curSkill.GetSkillType() in ChConfig.Def_LstBuff_List: