timers: make thrall timer use boosted magic level

turns out that thrall spells are seemingly the only arceuus spell with a
magic-level based duration that uses the boosted level, at least out of
the ones we have timers for
This commit is contained in:
Hydrox6
2021-06-25 01:49:37 +01:00
committed by Adam
parent 166cb67a9b
commit 30d377f566
2 changed files with 3 additions and 2 deletions

View File

@@ -711,7 +711,7 @@ public class TimersPlugin extends Plugin
}
else if (message.contains(RESURRECT_THRALL_MESSAGE_START) && message.endsWith(RESURRECT_THRALL_MESSAGE_END))
{
createGameTimer(RESURRECT_THRALL, duration);
createGameTimer(RESURRECT_THRALL, Duration.of(client.getBoostedSkillLevel(Skill.MAGIC), RSTimeUnit.GAME_TICKS));
}
else if (message.contains(RESURRECT_THRALL_DISAPPEAR_MESSAGE_START) && message.endsWith(RESURRECT_THRALL_DISAPPEAR_MESSAGE_END))
{