Posts: 14
Threads: 6
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Apr 2021
Reputation:
0
Hello all.
I'm having an issue where MP steal is not taking effect at all. when I use it in game and attack anything nothing happens, not with skills or auto attacks
However HP steal works just fine and I don't think there are any issues with the source.
Would anyone be able to help me with what I can try to fix it or be able to have a look at it for me, please?
thanks in advance!.
Posts: 340
Threads: 27
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Mar 2021
Reputation:
0
In Assist.cpp check if the index is added in the switch case under
void CAssistList::Apply(CCharacter* ch, ASSISTVALUE* addition, ASSISTVALUE* rate, LONGLONG* state)
Check for:
switch (p->m_index)
You should find:
case 2357:
case 2842:
case 6597:
addition->hcHPSteelPotion = true;
bSkip = true;
break;
Posts: 14
Threads: 6
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Apr 2021
Reputation:
0
3 minutes ago, Scura said:
In Assist.cpp check if the index is added in the switch case under
void CAssistList::Apply(CCharacter* ch, ASSISTVALUE* addition, ASSISTVALUE* rate, LONGLONG* state)
Check for:
switch (p->m_index)
You should find:
case 2357:
case 2842:
case 6597:
addition->hcHPSteelPotion = true;
bSkip = true;
break;
Yeah I have it like that. but still doesn't work in game
Posts: 340
Threads: 27
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Mar 2021
Reputation:
0
4 minutes ago, AliceW said:
Yeah I have it like that. but still doesn't work in game
make sure to have the correct skill and t_magic index then
Show a screen of your hpmp steal from itemall
Posts: 275
Threads: 10
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Sep 2013
Reputation:
0
Does your skill 441 lvl 1 use magic 485?
Posts: 14
Threads: 6
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Apr 2021
Reputation:
0
4 minutes ago, Desarija said:
Does your skill 441 lvl 1 use magic 485?
yeah
Posts: 14
Threads: 6
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Apr 2021
Reputation:
0
I fixed it for anyone who has the same issue.
the placement of this part of the code was being ignored for some reason
so I just copied it and put it a bit lower in the switch statement and it worked.
case 2357:
case 2842:
case 6597:
addition->hcHPSteelPotion = true;
bSkip = true;
break;
Posts: 340
Threads: 27
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Mar 2021
Reputation:
0
Just now, AliceW said:
I fixed it for anyone who has the same issue.
the placement of this part of the code was being ignored for some reason
so I just copied it and put it a bit lower in the switch statement and it worked.
case 2357:
case 2842:
case 6597:
addition->hcHPSteelPotion = true;
bSkip = true;
break;
pretty strange ? ...