xdh
2018-11-24 03fa797b93127a81b6c7917c4cfc19f5b8d8ff37
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()