← Back to DevelopmentAging & Mixing viewer.dll generatorProgramsClan filesInternet Information ServiceOllyDbg tutorialsMiscellaneousSkinsLinks / Files


← Back to Miscellaneous
If you edit the skill delay values, you noticed that it had a maximum value. Sometimes you may want some skills to reload slower.

I don't remember exactly how I found this but, when your skill is cooling down some magic is happening here:

OllyDbg - Client side

004A7964  |.  D80D 5CDB5C00 |FMUL DWORD PTR DS:[5CDB5C]              ; FLOAT 0.0001000000
004A796A  |.  D80D 58DB5C00 |FMUL DWORD PTR DS:[5CDB58]              ; FLOAT 35.00000
004A7970  |.  E8 D3281000   |CALL 005AA248
004A7975  |.  83F8 23       |CMP EAX,23
004A7978  |.  8946 08       |MOV DWORD PTR DS:[ESI+8],EAX
004A797B  |.  7E 07         |JLE SHORT 004A7984
004A797D  |.  C746 08 23000 |MOV DWORD PTR DS:[ESI+8],23
004A7984  |>  8B8E 38010000 |MOV ECX,DWORD PTR DS:[ESI+138]
004A798A  |.  0FAF4E D8     |IMUL ECX,DWORD PTR DS:[ESI-28]
004A798E  |.  B8 1F85EB51   |MOV EAX,51EB851F
004A7993  |.  F7EF          |IMUL EDI
004A7995  |.  C1FA 05       |SAR EDX,5
004A7998  |.  8BC2          |MOV EAX,EDX
004A799A  |.  C1E8 1F       |SHR EAX,1F
004A799D  |.  03D0          |ADD EDX,EAX
004A799F  |.  2BCA          |SUB ECX,EDX
004A79A1  |.  8B96 34010000 |MOV EDX,DWORD PTR DS:[ESI+134]
004A79A7  |.  8D0411        |LEA EAX,[EDX+ECX]
004A79AA  |.  3BC3          |CMP EAX,EBX
004A79AC  |.  8946 F8       |MOV DWORD PTR DS:[ESI-8],EAX
004A79AF  |.  7F 07         |JG SHORT 004A79B8
004A79B1  |.  C746 F8 01000 |MOV DWORD PTR DS:[ESI-8],1
004A79B8  |>  8B4E F8       |MOV ECX,DWORD PTR DS:[ESI-8]
004A79BB  |.  B8 46000000   |MOV EAX,46
004A79C0  |.  3BC8          |CMP ECX,EAX
004A79C2  |.  7E 03         |JLE SHORT 004A79C7
004A79C4  |.  8946 F8       |MOV DWORD PTR DS:[ESI-8],EAX
004A79C7  |>  DB46 F8       |FILD DWORD PTR DS:[ESI-8]
004A79CA  |.  D80D FCA85B00 |FMUL DWORD PTR DS:[5BA8FC]              ; FLOAT 0.5000000
004A79D0  |.  D83D 58DB5C00 |FDIVR DWORD PTR DS:[5CDB58]             ; FLOAT 35.00000

I know it's an ugly piece of code, and I have absolutely no clue how it works. But you see that float value equals to 35.0 ?
If you toy with it, you can increase the maximum cooldown value. To change it you can simply double click on the value blow the instruction list and set a new one.
Also be sure to use multiples of 35.


For instance, 10 times slower, would be 350.


Once you've change this value, remember to change all the skills delay, because they all have become slower to reload.