ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py
@@ -46,6 +46,7 @@
import FBCommon
import IpyGameDataPY
import PyGameData
import TurnAttack
#---------------------------------------------------------------------
GameWorld.ImportAll("Script\\Skill\\" , "GameSkills")
GameWorld.ImportAll("Script\\Skill\\" , "GameBuffs")
@@ -634,42 +635,6 @@
        return False
        
    return True
##弓和弩普攻技能
# @param curPlayer 玩家实例
# @param skillID 技能ID
# @return 特别的普攻ID
#===============================================================================
# def GetBowNormalAttackID(curPlayer, skillID):
#    #刷新人物攻击距离
#    playerEquip = curPlayer.GetItemManager().GetPack(IPY_GameWorld.rptEquip)
#    #获得当前人物使用的武器
#    curUseWeapon = playerEquip.GetAt(ShareDefine.retWeapon)
#    curUseWeapon2 = playerEquip.GetAt(ShareDefine.retWeapon2)
#    #空手
#    if curUseWeapon.IsEmpty() and curUseWeapon2.IsEmpty():
#        return skillID
#
#    if curUseWeapon.GetType() in [ChConfig.Def_ItemType_Crossbow, ChConfig.Def_ItemType_Bow]:
#        curEffect = ItemCommon.GetItemEffectByEffectID(curUseWeapon, ChConfig.Def_Effect_WeaponAttack)
#        if curEffect == None:
#            GameWorld.DebugAnswer(curPlayer, '没有物品效果ID %s'%ChConfig.Def_Effect_WeaponAttack)
#            return skillID
#
#        return curEffect.GetEffectValue(0)
#
#    if curUseWeapon2.GetType() in [ChConfig.Def_ItemType_Crossbow, ChConfig.Def_ItemType_Bow]:
#        curEffect = ItemCommon.GetItemEffectByEffectID(curUseWeapon2, ChConfig.Def_Effect_WeaponAttack)
#        if curEffect == None:
#            GameWorld.DebugAnswer(curPlayer, '没有物品效果ID %s'%ChConfig.Def_Effect_WeaponAttack)
#            return skillID
#
#        return curEffect.GetEffectValue(0)
#
#    return skillID
#===============================================================================
#===============================================================================
# //B4 02 对象击退 #tagCMNPCBeatBack
@@ -3653,7 +3618,8 @@
        #调用攻击惩罚逻辑
        BaseAttack.DoLogic_AttackResult(attacker, defender, None, tick)
        TurnAttack.OnTurnfightAttackResult(attacker, defender, curSkill)
    return
#---------------------------------------------------------------------
##释放普通技能