fix:【后端】被动技能槽解锁条件修改,添加任务判断
| | |
| | | import EventShell
|
| | | import NPCCommon
|
| | | import PetControl
|
| | | import QuestCommon
|
| | |
|
| | | #GameWorld.ImportAll("Script\\Skill\\", "SkillBoosts")
|
| | | GameWorld.ImportAll("Script\\Skill\\", "PassiveBuff")
|
| | |
| | | if PlayerHorse.GetHorseSumLV(curPlayer) < value:
|
| | | return
|
| | |
|
| | | # 多加一种任务判断
|
| | | if key == "OpenSkillSlots":
|
| | | # 主线任务完成时会设置标志可进地图标志
|
| | | mission_1 = QuestCommon.GetCommonMission(curPlayer)
|
| | | if not mission_1:
|
| | | return
|
| | | if strIndex > mission_1.GetProperty("OpenSkillSlots"):
|
| | | return
|
| | | |
| | | PlayerControl.NomalDictSetProperty(curPlayer,
|
| | | ChConfig.Def_PDict_GFPassiveIndex%(clientData.Page, clientData.Index),
|
| | | clientData.SkillID,
|