Tut | Challenge Dungeon - JasXSL/GoThongs GitHub Wiki
This guide will assume you have gone through the basics of creating a quest.
Challenge dungeons differ a bit from normal story based quests:
- Greater gold/exp/essence rewards
- Challenging content for groups of players
- Dying on trash will lock you in animation for 90 sec or until revived by a coop player
- Dying on a boss will lock you in animation until the boss is dead or the party has wiped.
To make your quest a Challenge Dungeon. Check the "Is Challenge" in the quest editor. For regular cells, this will suffice. For bosses, you need to use the following:
- Any global variables used need to be reset in the LevelEvt$load of your _MAIN script.
- In the LevelEvt$load section of _MAIN, put Level$enableWipeTracker(), which will enable wipe tracking.
- Make sure you have a boss bar active by either setting Monster$RF_IS_BOSS on your boss NPC, or using GUI$toggleBoss on all players. The no-breakfree death will only work on players with the boss bar enabled.
- Consider using LevelEvt$wipe and LevelEvt$playerDied to play soundbites when a player dies or the party wipes
- Upon boss death, immediately call Level$setFinished(-1, false) from _MAIN