Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Divinity - Original Sin 2

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
thirst for knowledge
Cheater
Reputation: 0

Joined: 15 Jan 2014
Posts: 28
Location: Russia

PostPosted: Sat May 26, 2018 2:16 pm    Post subject: Divinity - Original Sin 2 Reply with quote

Hi guys. Help me find the solution of the problem. How to make a script so that the value changes only in the player if the structure is shared.

How to write a script so that the number of effects from the weapon only worked for the player if the structure is general, if I changed the value to the moves, then the value changes also for the enemy

newmem:

code:
cmp r12,0
jne @f

jmp return

@@:
push r8
mov r8, [r12+120]
cmp [r8+340],44E74000 //Id Enemy-44B54000;// Id Player-44E74000
pop r8
jne @f


push rdi
mov rdi,(float)30 // % percentage probability of weapon effect "Add 30%"
movd xmm11,rdi
addps xmm9,xmm11 // >> xmm9 original meaning %

mov [r13+2C],(float)18 //Number of effect duration from the weapon

pop rdi

@@:

lea r14,[rsi+rcx*8] // Original Instruction
cmp r14,rsi
jmp return
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites