MG小组作品:物品价格修改
物品的价格计算分如下4类:
1.对12和15大类中的item.txt中的倒数第5个是商店卖出的价格,如果为0,则无效,归为下一类计算
2.物品固定价格:
弓箭:
+0 007FF35 |. C745 DC 460000>MOV DWORD PTR SS:[EBP-24],46
+1 007FF48 |. C745 DC B00400>MOV DWORD PTR SS:[EBP-24],4B0
+2 007FF5D |. C745 DC D00700>MOV DWORD PTR SS:[EBP-24],7D0
弩箭
+0 007FFBC |. C745 D8 640000>MOV DWORD PTR SS:[EBP-28],64
+1 007FFCF |. C745 D8 780500>MOV DWORD PTR SS:[EBP-28],578
+2 007FFE4 |. C745 D8 980800>MOV DWORD PTR SS:[EBP-28],898
祝福宝石:
008001E |. C745 F0 40548900 MOV DWORD PTR SS:[EBP-10],00895440
灵魂宝石:
0080038 |. C745 F0 808D5B00 MOV DWORD PTR SS:[EBP-10],005B8D80
玛雅之石:
0080053 |. C745 F0 105C0C00 MOV DWORD PTR SS:[EBP-10],0C5C10
生命宝石:
008006E |. C745 F0 40A5AE02 MOV DWORD PTR SS:[EBP-10],02AEA540
创造宝石:
0080088 |. C745 F0 00512502 MOV DWORD PTR SS:[EBP-10],02255100
果实:
00800A3 |. C745 F0 408AF701 MOV DWORD PTR SS:[EBP-10],01F78A40
洛克之羽:
00800BE |. C745 F0 20BF0200 MOV DWORD PTR SS:[EBP-10],2BF20
彩云兽:
基础价格:00800D8 |. C745 F0 00A60E00 MOV DWORD PTR SS:[EBP-10],0EA600
关于属性的加成(没看过彩云兽,不清楚是什么属性):0080112 |. 05 E0930400 |ADD EAX,493E0
恶魔之眼:
+1 0080153 |> C745 F0 983A0000 MOV DWORD PTR SS:[EBP-10],3A98
+2 008015C |> C745 F0 08520000 MOV DWORD PTR SS:[EBP-10],5208
+3 0080165 |> C745 F0 30750000 MOV DWORD PTR SS:[EBP-10],7530
+4 008016E |> C745 F0 C8AF0000 MOV DWORD PTR SS:[EBP-10],0AFC8
其他: 0080177 |> C745 F0 30750000 MOV DWORD PTR SS:[EBP-10],7530
恶魔之钥:
+1 00801B5 |> C745 F0 983A0000 MOV DWORD PTR SS:[EBP-10],3A98
+2 00801BE |> C745 F0 08520000 MOV DWORD PTR SS:[EBP-10],5208
+3 00801C7 |> C745 F0 30750000 MOV DWORD PTR SS:[EBP-10],7530
+4 00801D0 |> C745 F0 C8AF0000 MOV DWORD PTR SS:[EBP-10],0AFC8
其他: 00801D9 |> C745 F0 30750000 MOV DWORD PTR SS:[EBP-10],7530
恶魔通行证:
+1 0080217 |> C745 F0 60EA0000 MOV DWORD PTR SS:[EBP-10],0EA60
+2 0080220 |> C745 F0 20480100 MOV DWORD PTR SS:[EBP-10],14820
+3 0080229 |> C745 F0 C0D40100 MOV DWORD PTR SS:[EBP-10],1D4C0
+4 0080232 |> C745 F0 20BF0200 MOV DWORD PTR SS:[EBP-10],2BF20
其他:008023B |> C745 F0 C0D40100 MOV DWORD PTR SS:[EBP-10],1D4C0
爱情的魔力:
0080256 |. C745 F0 84030000 MOV DWORD PTR SS:[EBP-10],384
LENA(什么东东。。)
0080271 |. C745 F0 28230000 MOV DWORD PTR SS:[EBP-10],2328
爱情的橄榄:
004802A3 |. C745 F0 E8030000 MOV DWORD PTR SS:[EBP-10],3E8
透明披风:
+1 00802E1 |> C745 F0 F0490200 MOV DWORD PTR SS:[EBP-10],249F0
+2 00802EA |> C745 F0 20120A00 MOV DWORD PTR SS:[EBP-10],0A1220
+3 00802F3 |> C745 F0 80FC0A00 MOV DWORD PTR SS:[EBP-10],0AFC80
+4 00802FC |> C745 F0 E0E60B00 MOV DWORD PTR SS:[EBP-10],0BE6E0
+5 0080305 |> C745 F0 40D10C00 MOV DWORD PTR SS:[EBP-10],0CD140
+6 008030E |> C745 F0 A0BB0D00 MOV DWORD PTR SS:[EBP-10],0DBBA0
其他: 0080317 |> C745 F0 C0270900 MOV DWORD PTR SS:[EBP-10],927C0
血灵之骷&血灵之书:
+1 0080363 |> C745 F0 983A0000 MOV DWORD PTR SS:[EBP-10],3A98
+2 008036C |> C745 F0 08520000 MOV DWORD PTR SS:[EBP-10],5208
+3 0080375 |> C745 F0 30750000 MOV DWORD PTR SS:[EBP-10],7530
+4 008037E |> C745 F0 58980000 MOV DWORD PTR SS:[EBP-10],9858
+5 0080387 |> C745 F0 80BB0000 MOV DWORD PTR SS:[EBP-10],0BB80
+6 0080390 |> C745 F0 60EA0000 MOV DWORD PTR SS:[EBP-10],0EA60
其他: 0080399 |> C745 F0 983A0000 MOV DWORD PTR SS:[EBP-10],3A98
对于上面这些物品,这个就是最后的价格
3.对14大类的其他物品:
对于item.txt中的倒数第2个数值有关,价格计算是按这个数字算的,计为Value,则物品的价格要加上Value*Value*10/12
然后按照其他物品的计算方法算出价格相加就可以了
黄金宝箱属于这一类,改变Value应该可以改变价格
4.其他物品计算过于复杂,略之
本文出自 7j45 > 奇迹一条龙