Also the value only seems to update when you prepare a spell so if you're over the limit after reloading you won't be able to prepare any new spells until you've unprepared enough spells so that you're under the limit.
^ This is fixed in version 2 just set the amount of prepared spells you want and it should update when you try to prepare one even if you're at or over the current limit.
After enabling the script set how many prepared spells you want and click on an unprepared spell
Code: Select all
[ENABLE]
aobscanmodule(SetSpellPrep,$process,4D 8B C5 48 8B D3 48 8D 8D) // should be unique
alloc(newmem,$1000,SetSpellPrep)
label(code)
label(return)
label(spellPrep)
newmem:
cmp [spellPrep],0
je code
push rdi
mov rdx,[rbx+D0]
mov rdi,[spellPrep]
mov [rdx],rdi
pop rdi
code:
mov r8,r13
mov rdx,rbx
jmp return
spellPrep:
dd 0
SetSpellPrep:
jmp newmem
nop
return:
registersymbol(SetSpellPrep spellPrep)
aobscanmodule(SetSpellPrep2,$process,48 89 45 D8 44 8B 20) // should be unique
alloc(newmem2,$1000,SetSpellPrep2)
label(code2)
label(return2)
newmem2:
mov [rbp-28],rax
mov r12d,[rax]
cmp [spellPrep],0
je code2
mov r12d,[spellPrep]
code2:
//mov [rbp-28],rax
//mov r12d,[rax]
jmp return2
SetSpellPrep2:
jmp newmem2
nop 2
return2:
registersymbol(SetSpellPrep2)
[DISABLE]
SetSpellPrep:
db 4D 8B C5 48 8B D3
unregistersymbol(SetSpellPrep spellPrep)
dealloc(newmem)
SetSpellPrep2:
db 48 89 45 D8 44 8B 20
unregistersymbol(SetSpellPrep2)
dealloc(newmem2)
How to use this cheat table?
- Install Cheat Engine
- Double-click the .CT file in order to open it.
- Click the PC icon in Cheat Engine in order to select the game process.
- Keep the list.
- Activate the trainer options by checking boxes or setting values from 0 to 1