![]() |
|
Attack Speed cap - Printable Version +- LCKB (https://lckb.dev/forum) +-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109) +--- Forum: Guides & Help Section (https://lckb.dev/forum/forumdisplay.php?fid=193) +---- Forum: Help & Support (https://lckb.dev/forum/forumdisplay.php?fid=157) +----- Forum: Ep4 Support (https://lckb.dev/forum/forumdisplay.php?fid=128) +----- Thread: Attack Speed cap (/showthread.php?tid=388) |
- XTheReturnX - 03-13-2021 Hey Guys, could anyone help me where i can cap the attack Speed at 1? That i cant get under 1 or -1 etc Thank you in advance - rondo157 - 03-14-2021 cmdmsg.cpp after: packet->attackSpeed = ch->m_attackSpeed; add: int m_attackSpeedlimit = 1; if (packet->attackSpeed <= m_attackSpeedlimit) //rondo157 packet->attackSpeed = m_attackSpeedlimit; - Scura - 06-15-2021 On 3/14/2021 at 3:39 AM, rondo157 said: cmdmsg.cpp after: packet->attackSpeed = ch->m_attackSpeed; add: int m_attackSpeedlimit = 1; if (packet->attackSpeed <= m_attackSpeedlimit) //rondo157 packet->attackSpeed = m_attackSpeedlimit; Sorry for bump an old post, but i found 2 different declaration about that sentence! 2 - PTR321 - 06-15-2021 use the one at line 918 ? - rondo157 - 06-15-2021 Like said @PTR321 - kravens - 06-19-2021 u should hook it - dethunter12 - 01-30-2022 just add under Character.cpp in ApplyAssistData Function: delete all other code its not needed if (m_attackSpeed < 1) m_attackSpeed = 1; |