hxp
2025-08-06 2ccb840f9db8c61f7e9a0a336205713b41790bf3
129 【战斗】战斗系统-服务端(import问题)
1个文件已修改
6 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillModule_23.py 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillModule_23.py
@@ -23,7 +23,7 @@
import BaseAttack
import PlayerControl
import IPY_GameWorld
import Player_Attack_Player
#import Player_Attack_Player
import GameObj
#---------------------------------------------------------------------
#全局变量
@@ -48,8 +48,8 @@
        return False
    
    #先判断该玩家能否攻击,防止自身血量扣除但没有攻击
    if not Player_Attack_Player.GetCanAttack(attacker, defender, curSkill, tick):
        return False
    #if not Player_Attack_Player.GetCanAttack(attacker, defender, curSkill, tick):
    #    return False
    
    #是障碍点,不能释放,跳出
    if not GameWorld.GetMap().CanMove(destX, destY):