Author Topic: Anyone have any suggestions on fixing monster skills in GE?  (Read 2962 times)

Offline Rune

  • Bow Bearer
  • *
  • Posts: 21
I have been trying to remove "Nimble" as a skill in GE and balance classes a little better but...

It seems

Class : 30 bytes

Byte 01+02+03 - Class name 3 byte
Byte 04 -
Byte 05 - Move
Byte 06 - Move type
Byte 07 - Def
Byte 08 - Main attack
Byte 09 - Secondary attack 1
Byte 0A - Secondary attack 2
Byte 0B - Special attack 1
Byte 0C - Special attack 2
Byte 0D - Magic : white black << all magics are inherited
Byte 0E - Magic : black Red
Byte 0F - Magic : red blue
Byte 10 - Magic green
Byte 11 - Skill 1 << skill can be inherited
Byte 12 - Skill 2
Byte 13 - Element : black white red
Byte 14 - Element : blue green
Byte 15 - Add HP
Byte 16 - Add MP
Byte 17 - Focus ( Increase Magic Damage )
Byte 18 - Stars/Tier
Byte 19 + 1C - EXP required to level up (2 bytes)
Byte 1D--->30 - Rest of code alters spirit and animation

Lizard King 000ADBC4 changing 00 FF to 01 08 with a monster and caster as the monster class and I got diffrent results. For all monsters the 2nd skill is ignored and with caster the 1st skill is overwitten and the 2nd skill is added. If I remove the 2nd skill then caster's lizard king class looses the last skill. Note that changing 00 to FF causes the lizard king to have no skills.

Offline Rune

  • Bow Bearer
  • *
  • Posts: 21
Re: Anyone have any suggestions on fixing monster skills in GE?
« Reply #1 on: July 02, 2018, 07:55:34 pm »
0041B885 - 23 41 1C - and eax,[ecx+1C]
0041B888 - 03 41 10 - add eax,[ecx+10]
0041B88B - 0FB6 00 - movzx eax,byte ptr [eax] <<
0041B88E - C3 - ret
0041B88F - 8B 59 34 - mov ebx,[ecx+34]

EAX=00000000
EBX=02E0D3D8
ECX=02E04C68
EDX=000000C4
ESI=8009AD1C
EDI=00836F56
ESP=0018FDE4
EBP=02E058B8
EIP=0041B88E

08281050
08281148
08280FAC
0828114A
0828114B
08281149
08280FAE
08280F9F

0041B885 - 23 41 1C - and eax,[ecx+1C]
0041B888 - 03 41 10 - add eax,[ecx+10]
0041B88B - 0FB6 00 - movzx eax,byte ptr [eax] <<
0041B88E - C3 - ret
0041B88F - 8B 59 34 - mov ebx,[ecx+34]

EAX=00000002
EBX=00000000
ECX=02E04C68
EDX=000000C4
ESI=8009AD1D
EDI=00832984
ESP=0018FDE4
EBP=02E058B8
EIP=0041B88E

08281050
08281148
08280FAC
0828114A
0828114B
08281149
08280FAE
08280F9F

Using cheat engine I pulled some basic information from the two monster skill slots... but it is possible to have three skills equipped on monsters... but I have no clue how to do this...

Offline Rune

  • Bow Bearer
  • *
  • Posts: 21
Re: Anyone have any suggestions on fixing monster skills in GE?
« Reply #2 on: July 26, 2018, 06:11:27 am »
I wonder would it be possible to edit this so it adds skills to all monsters?

It automatically adds Nimble and Shield Block + 25 % so would it be possible to change it so it adds two skills such as hit + 5 % and hp recover 5 % it to all monster classes?

Offline Rune

  • Bow Bearer
  • *
  • Posts: 21
Re: Anyone have any suggestions on fixing monster skills in GE?
« Reply #3 on: August 14, 2019, 08:49:39 am »
Any success? I haven't done any changes lately to the game but I am curious...