-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
component:scriptA fault that lies within the scripts of rAthenaA fault that lies within the scripts of rAthenamode:renewalA fault that exists within the renewal modeA fault that exists within the renewal modepriority:lowA fault that affects rAthena in one piece of functionality and is self-containedA fault that affects rAthena in one piece of functionality and is self-containedtype:bugIssue that is a bug within rAthenaIssue that is a bug within rAthena
Description
-
rAthena Hash: a548f20
-
Client Date: Any
- Server Mode: Any
- Description of Issue: When Wounded Morroc is killed, it should give a 6 hour cooldown. However, the 90 minute reset timer for Wounded Morroc still runs even after the MVP is killed. This 90 minute timer is used to reset the MVP if it hasn't been killed after 90 minutes and it sets the $@re_moc variable to 0.
When the MVP is killed, it starts a timer on another script that is divided in two parts. It waits 30 minutes for anyone to talk to the Time Gap and complete their quests, then after that, it starts the 6 hours cooldown and sets the $@re_moc to 4.
Since both timers are running at the same time, one of the two scripts will overwrite the $@re_moc value. If you kill WM fast enough, the value will be set to 0 after the other script set it to 4, therefore skipping the entire cooldown.
- Result:
- Expected Result:
- How to Reproduce:
- Official Information:
- Modifications that may affect results:
To fix, simply add a stopnpctimer on the OnMyMobDead label:
OnMyMobDead:
set $@re_moc,3;
set $@re_moc_time$, gettimestr("%H%M%S",7);
mapannounce "moc_fild21","I'll let live just a little longer. You'll never find me through this time-space gap!",bc_map,"0xFFFF00";
donpcevent "Time-Space Gap#edq::OnEnable";
donpcevent "Satan Broadcast#edq::OnDisable";
donpcevent "Group of Evil#edq::OnDisable";
disablenpc "Satan Summon#edq";
stopnpctimer; <----
end;
in npc/quests/quests_morocc.txt.
Metadata
Metadata
Assignees
Labels
component:scriptA fault that lies within the scripts of rAthenaA fault that lies within the scripts of rAthenamode:renewalA fault that exists within the renewal modeA fault that exists within the renewal modepriority:lowA fault that affects rAthena in one piece of functionality and is self-containedA fault that affects rAthena in one piece of functionality and is self-containedtype:bugIssue that is a bug within rAthenaIssue that is a bug within rAthena