You also can get this value on the fly using "thread context and debug registers" method by setting a hardware breakpoint in your code at a certain position: If you can find a pointer to the current Equipped Weapon structure then you can get the attack speed which is at offset 0x130. For the sword: the attack speed is 0.08500000089f The values can be found using your debugger: => Let’s do not do it for the moment and just use a hardcoded value. This value can be found by calling another method called GetActiveHandItemProp() which applies to the class CMover.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |