From f12bbdcbaebff76914ae6dc735941d19f8f4e87f Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 25 六月 2019 02:00:11 +0800
Subject: [PATCH] 860312 印记飘字的优先级高于压制

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/imba.py |   24 +++++++++++++++---------
 1 files changed, 15 insertions(+), 9 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/imba.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/imba.py
index 3a12b3a..bec6cc7 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/imba.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/imba.py
@@ -29,14 +29,22 @@
     
     lv = int(msgList[0])
     # 1.跳过新手任务
-    SetMission.OnExec(curPlayer, [101010, 1])
-    SetMission.OnExec(curPlayer, [1000, -1])
-    SetMissionDict.OnExec(curPlayer, [1, 'xinshou', 0])
+    #===========================================================================
+    # SetMission.OnExec(curPlayer, [101010, 1])
+    # SetMission.OnExec(curPlayer, [1000, -1])
+    # SetMissionDict.OnExec(curPlayer, [1, 'xinshou', 0])
+    #===========================================================================
     # 2.给些渣经验
     #GivePlayerExpSelf.OnExec(curPlayer, [3456789])
     # 3.地图法宝全开
     for fbaoID in [101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 201, 202, 203, 204]:
         SetFabao.OnExec(curPlayer, [fbaoID])
+    
+    curMission = curPlayer.FindMission(1)
+    if not curMission:
+        GameWorld.DebugAnswer(curPlayer, "玩家没有该任务,missionID=%s" % 1)
+        return
+    curMission.SetProperty("OpenMap", 12)
     
     # 被动
     passiveSkillList =  [50900, 50902] if curPlayer.GetJob() == 1 else [55900, 55902]
@@ -52,14 +60,12 @@
         ActiveHorse.OnExec(curPlayer, [i, 5])
         
     # 5.给基础属性
-    curPlayer.SetBaseSTR(1000)
-    curPlayer.SetBasePNE(1000)
-    curPlayer.SetBasePHY(1000)
-    curPlayer.SetBaseCON(1000000)
-    curPlayer.SetGold(9999999)
+    for attrID in xrange(201, 206):
+        PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_AddPointValue % attrID, 10000)
+    curPlayer.SetGold(99999)
     
     # 6.背包丢些东西
-    MakeItemCount.OnExec(curPlayer, [10161, 50])
+    MakeItemCount.OnExec(curPlayer, [260, 50])
     curPlayer.SetLV(lv)
     
     curPlayer.RefreshView()

--
Gitblit v1.8.0