| | |
| | | #境界升级
|
| | | RunQuestEvent(curPlayer, "realmup", realmlv, Def_RunQuestType_RunAll)
|
| | | return
|
| | |
|
| | | def EventRespons_MWSoulActive(curPlayer, soulid):
|
| | | #法宝之魂激活
|
| | | RunQuestEvent(curPlayer, "mwsoulactive", soulid, Def_RunQuestType_RunAll)
|
| | | return
|
| | | #---------------------------------------------------------------------
|
| | |
|
| | | #================================================================================
|
| | |
| | | realmlv = GameWorld.ToIntDef(curActionNode.GetAttribute("value"), 0)
|
| | | return curPlayer.GetOfficialRank() >= realmlv
|
| | |
|
| | | ##法宝之魂是否激活
|
| | | # @param None
|
| | | # @return None <Mwsoul value="id"/>
|
| | | def ConditionType_Mwsoul(curPlayer, curMission, curActionNode):
|
| | | soulID = GameWorld.ToIntDef(curActionNode.GetAttribute("value"), 0)
|
| | | return bool(PlayerMagicWeapon.GetIsActiveMWSoul(curPlayer, soulID))
|
| | |
|
| | | ##激活法宝,确认与成就逻辑后使用
|
| | | # @param None
|
| | | # @return None <Active_Magicweapon id="法宝ID"/>
|
| | |
| | | return
|
| | |
|
| | | GameWorld.SetDictValueByBit(curPlayer, ChConfig.Def_PDict_MWSoulActiveState, soulID, 1, True)
|
| | | #任务
|
| | | EventShell.EventRespons_MWSoulActive(curPlayer, soulID)
|
| | |
|
| | | CalcMagicWeaponSoulAttr(curPlayer)
|
| | | PlayerControl.PlayerControl(curPlayer).RefreshPlayerAttrState()
|