xdh
2018-08-18 f7a9da4f9f0a3d1e15b68ed130b13ee3af3999c2
fix:法宝魂GM命令触发任务
1个文件已修改
4 ■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetMWSoul.py 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetMWSoul.py
@@ -20,6 +20,7 @@
import PlayerControl
import ChConfig
import GameWorld
import EventShell
#逻辑实现
## GM命令执行入口
@@ -35,7 +36,8 @@
    state = paramList[1]
    
    GameWorld.SetDictValueByBit(curPlayer, ChConfig.Def_PDict_MWSoulActiveState, soulID, state, True)
    if state:
        EventShell.EventRespons_MWSoulActive(curPlayer, soulID)
    PlayerMagicWeapon.CalcMagicWeaponSoulAttr(curPlayer)
    PlayerControl.PlayerControl(curPlayer).RefreshPlayerAttrState()