Attack Speed cap
#1

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 

 

#2

cmdmsg.cpp

after:

packet->attackSpeed = ch->m_attackSpeed;

add:

int m_attackSpeedlimit = 1;

if (packet->attackSpeed <= m_attackSpeedlimit) //rondo157
packet->attackSpeed = m_attackSpeedlimit;

 

#3


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

#4

use the one at line 918 ?

#5

Like said @PTR321

#6

u should hook it

#7

just add under Character.cpp in ApplyAssistData Function:

delete all other code its not needed



 

if (m_attackSpeed < 1)
m_attackSpeed = 1;

 



Forum Jump:


Users browsing this thread: 1 Guest(s)