职业属性点分配值
by NiceMemory
下面就是设置属性点分配值的地方:
只注释了第一个 魔法师的调用
前面6个是浮点数,是每点属性分配的值,具体含义我没研究过
可以修改试试,记住,是32位的浮点数,(比如40400000代表 2.0)
下面的是4个属性的初始值,都是一字节的整数
再下面一个代表不同的人物,不要改
004593F0 <>/> \55 push ebp
004593F1 |. 8BEC mov ebp,esp
004593F3 |. 83EC 44 sub esp,44
004593F6 |. 53 push ebx
004593F7 |. 56 push esi
004593F8 |. 57 push edi
004593F9 |. 894D FC mov dword ptr ss:[ebp-4],ecx
004593FC |. 68 00000040 push 40000000 ;浮点数
00459401 |. 68 0000803F push 3F800000 ;浮点数
00459406 |. 68 00000040 push 40000000 ;浮点数
0045940B |. 68 0000803F push 3F800000 ;浮点数
00459410 |. 68 00007042 push 42700000 ;浮点数
00459415 |. 68 00007042 push 42700000 ;浮点数
0045941A |. 6A 1E push 1E ;初始智力
0045941C |. 6A 0F push 0F ;初始体力
0045941E |. 6A 12 push 12 ;初始敏捷
00459420 |. 6A 12 push 12 ;初始力量
00459422 |. 6A 00 push 0 ;魔法师00459424 |. 8B4D FC mov ecx,dword ptr ss:[ebp-4]
00459427 |. E8 D787FAFF call GAMESERV.00401C03
0045942C |. 68 0000803F push 3F800000
00459431 |. 68 00004040 push 40400000
00459436 |. 68 0000003F push 3F000000
0045943B |. 68 00000040 push 40000000
00459440 |. 68 0000A041 push 41A00000
00459445 |. 68 0000DC42 push 42DC0000
0045944A |. 6A 0A push 0A
0045944C |. 6A 19 push 19
0045944E |. 6A 14 push 14
00459450 |. 6A 1C push 1C
00459452 |. 6A 01 push 1 ;剑士00459454 |. 8B4D FC mov ecx,dword ptr ss:[ebp-4]
00459457 |. E8 A787FAFF call GAMESERV.00401C03
0045945C |. 68 0000C03F push 3FC00000
00459461 |. 68 00000040 push 40000000
00459466 |. 68 0000C03F push 3FC00000
0045946B |. 68 0000803F push 3F800000
00459470 |. 68 0000F041 push 41F00000
00459475 |. 68 0000A042 push 42A00000
0045947A |. 6A 0F push 0F
0045947C |. 6A 14 push 14
0045947E |. 6A 19 push 19
00459480 |. 6A 16 push 16
00459482 |. 6A 02 push 2 ;弓箭手00459484 |. 8B4D FC mov ecx,dword ptr ss:[ebp-4]
00459487 |. E8 7787FAFF call GAMESERV.00401C03
0045948C |. 68 00000040 push 40000000
00459491 |. 68 00000040 push 40000000
00459496 |. 68 0000803F push 3F800000
0045949B |. 68 0000803F push 3F800000
004594A0 |. 68 00007042 push 42700000
004594A5 |. 68 0000DC42 push 42DC0000
004594AA |. 6A 1A push 1A
004594AC |. 6A 1A push 1A
004594AE |. 6A 1A push 1A
004594B0 |. 6A 1A push 1A
004594B2 |. 6A 03 push 3 ;魔剑士004594B4 |. 8B4D FC mov ecx,dword ptr ss:[ebp-4]
004594B7 |. E8 4787FAFF call GAMESERV.00401C03
004594BC |. 5F pop edi
004594BD |. 5E pop esi
004594BE |. 5B pop ebx
004594BF |. 8BE5 mov esp,ebp
004594C1 |. 5D pop ebp
004594C2 \. C3 retn