Thread: BackstabFix
View Single Post
Old 04.03.2008, 21:54   #8
Morte
Guest
 
Posts: n/a
Default BackstabFix

Quote:


Originally Posted by Ascian
View Post

CCreature::GotDamageBy only has 4 arguments not 5. Where'd you get the 5th?

Code:

Code:
mov     ebx, r9d
movsd   xmm6, xmm2
mov     rsi, rdx
mov     rbp, rcx
EDIT: Nevermind, you just have an extra CCreature where there shouldn't be Wink

Code:

Code:
.text:00000000007AF6B8                 mov     byte ptr [rsp+20h], 1  ;unk2
.text:00000000007AF6BD                 mov     r9d, 1    ;unk1
.text:00000000007AF6C3                 movsd   xmm2, dDamage
.text:00000000007AF6C7                 mov     rdx, pSource
.text:00000000007AF6CA                 mov     rcx, pTarget
.text:00000000007AF6CD                 mov     rax, [rax+5F8h]
.text:00000000007AF6D4                 call    rax
5 parameters ) yet as far as i understood, none of them controls whether damage is done to HP or CP. all this stuff is checked later in GotDamageBy @514DB6

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Дата оценена по относительному времени в снимке (2 Weeks Ago); точное время не сохранилось. Открыть источник.