06-20-2021, 04:45 PM
Hey guys, anyone can help me to fix an Hp steal? The animation work normally, but don't steal hp of monster. Thanks for attention.
|
Hp steal don't work
|
|
06-20-2021, 04:45 PM
Hey guys, anyone can help me to fix an Hp steal? The animation work normally, but don't steal hp of monster. Thanks for attention.
06-20-2021, 06:53 PM
assist.cpp gameserver folder
06-20-2021, 10:15 PM
Thx for answer, Rondo! But, in what line i can fix the bug?
06-21-2021, 01:17 AM
Does your code look like this around line 1271 in Assist.cpp? case 2357: case 2842: case 6597: addition->hcHPSteelPotion = true; bSkip = true; break;
06-21-2021, 01:53 AM
35 minutes ago, MrKarma said: Does your code look like this around line 1271 in Assist.cpp? case 2357: case 2842: case 6597: addition->hcHPSteelPotion = true; bSkip = true; break; Yeah! Exactly the same!
06-21-2021, 11:33 PM
somtimes its possible that the hp steal code is in the wrong position or a break; keyword is used where it shouldn't be this usually will throw off other statements below it. assist.cpp mine looks like this case 2358: addition->hcCashPetExpUp_2358 = true; bSkip = true; break; // Æê °æÇèÀÇ ¹¦¾à case 2359: addition->hcCashPetExpUp_2359 = true; bSkip = true; break; // Ç÷¡Æ¼´½ Æê °æÇèÀÇ ¹¦¾à case 2356: case 2841: case 6596: addition->hcMPSteelPotion = true; bSkip = true; break; // ÀÏ¹Ý °ø°Ý½Ã 30%ÀÇ Max MP Áß 10% °¨¼Ò µÇ°í ³ªÀÇ MP Áõ°¡ case 2357: case 2842: case 6597: addition->hcHPSteelPotion = true; bSkip = true; break; if for example you see break statement somewhere different it can effect the cases working for that condition. Where you see a break statement the group of item id's would apply whatever was leading up to a break. Otherwise it will continue down the item id list until a break is found. grouping items together can be used like this .
06-24-2021, 10:23 AM
i posted the fix for that a month ago, just need to search into the forum ?
06-30-2021, 08:22 PM
On 6/24/2021 at 7:23 AM, Scura said: i posted the fix for that a month ago, just need to search into the forum ? U have the link? Maybe the problem is my t_magic... |
|
« Next Oldest | Next Newest »
|