" if your rate is anything above 80% itll only return 80% "
isn't this same with cap value ? that should be included in code above
when updating entry, in example wearing 2 garm card ? here the rate minimum is -100% and maximum is 80%
it.rate = cap_value(it.rate + rate, -10000, 8000);
when creating new entry, the first garm card, expalanation same with above
entry.rate = cap_value(rate, -10000, 8000);
try it in your local server or i didn't really get it what are you talking about.

no is out dated, for now mapflag has been simplified (click here for more info), if you want the same thing with the guide tutorial, now you can do it by following this
add in src/map/map.hpp
MF_YOUR_MAPFLAG,
before
MF_MAX
add in src/map/script_constant.hpp
export_constant(MF_YOUR_MAPFLAG);
after
export_constant(MF_SKILL_DURATION);

of course not, i am still one of them :wub:
i was making some event treasure hunter, where the player need to break the lock by input serial code number on treasure there is 3 tries for every player, but i was stunted when there is still a player that in process breaking the code, but the treasure have been unlocked by another so the other shouldn't have access on the treasure anymore, btw I am using thanatos tower code guessing.

I just want to override the mes if the states of the npc is no longer available without conditional check, but there is warning pop up on map-server console.
while setting state on variable to not longer available can do this it need extra check every continuation, but if there is multiple next or while on the script, it need multiple check after it, so how can I do it the clean or right way ??
protnera,230,273,0 script test override 112,{
attachnpctimer; initnpctimer;
while(1) {
mes "You are talking to this npc";
next;
select("-Yes");
}
close;
OnTimer15000:
detachnpctimer;
mes "15 Seconds have passed.";
close;
}
warning pop up on map-server console
[Warning]: Unable to restore stack! Double continuation!
[Debug]: Previous script (lost):
[Debug]: Source (NPC): test override at prontera (230,273)
[Debug]: Current script:
[Debug]: Source (NPC): test override at prontera (230,273)