Hp steal don't work
#7

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 .

 



Messages In This Thread
[No subject] - by marbele - 06-20-2021, 04:45 PM
[No subject] - by rondo157 - 06-20-2021, 06:53 PM
[No subject] - by marbele - 06-20-2021, 10:15 PM
[No subject] - by MrKarma - 06-21-2021, 01:17 AM
[No subject] - by marbele - 06-21-2021, 01:53 AM
[No subject] - by Desarija - 06-21-2021, 09:34 AM
[No subject] - by dethunter12 - 06-21-2021, 11:33 PM
[No subject] - by Scura - 06-24-2021, 10:23 AM
[No subject] - by cristiangramosa - 06-30-2021, 08:22 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)