DRE2N / DungeonsXL

Create custom dungeons and adventure maps with ease!
https://www.spigotmc.org/resources/dungeonsxl.9488/
GNU General Public License v3.0
154 stars 83 forks source link

DXL counting multiple death trigger upon simultaneously taking various damage types. #1090

Open Ecilpse opened 2 years ago

Ecilpse commented 2 years ago

Description Hi. I am currently using DXL to run various instances with McMMO and MythicMobs

As you already know, when a player takes lethal damage while in a DXL dungeon, player's live counts are taken, and they are sent back to the latest checkpoints with their health restored.

However, it seems like there is a slight time delay when this 'respawn' mechanic occurs. when there are various source of damages, (ex: MythicMob skill dealing different damage types) multiple live counts are taken away even before they are sent back to the respawn checkpoint.

I have tried to put as many time delays possible in Mobs and Skill's damage to prevent this, but they were mere temporary last resorts, and I could not completetly prevent this from happening since players encounter multiple mobs at once all the time.

Is there any way to prevent this to happen? Maybe providing a certain amount of invulnerability for few seconds while this happen could help such issue.

(A clear and concise description of what the bug is, e.g.: Every time my mob signs spawn pigs, they turn green and fly away.)

Screenshots / GIFs / videos Inkedunknown_LI

(If applicable, add screenshots to help explain your problem.)

Relevant configuration files #

A whitelist of placeable blocks.

placeBlocks is supposed to be set to "true" if this should be used.

messages: '1': '&e몬스터&f들을 처치하세요!
&c보스방&f에 입장하려면,
정예 몬스터에게서 &c레드스톤&f을 획득해 &c블록&f을
조합하고 양탄자에 던져서 &b투입&f해주세요.' '2': '&c군주의 요새&f를 헤쳐나가
&4&l옥좌의 방&f에 도달하세요.
&a루트 A&7| &f왼쪽의 제단을 통해 지옥의 군대를 상대하며 진격
&b루트 B&7| &f정면의 제단을 통해 파괴병기를 쓰러뜨리고 지름길 이용' '3': '&e이곳 정면 제단&f을 통하면 &6파괴병기
&e아레나&f에 입장합니다.(&b루트 B&f)' '4': '&6파괴병기&f를 쓰러뜨리면,
보스방 근처로 이어진 지름길을 이용할 수 있습니다.' '5': '&6파괴병기&f를 쓰러뜨리면,
&b이곳&f을 통해 지름길을 이용할 수 있습니다.' '6': '&e이곳 왼쪽 제단&f을 통하면
정문으로 &c지옥의 군대&f를 상대하며 전진합니다.(&a루트 A&f)' '7': '&6&l이곳&f을 통해 지나간 구역으로 되돌아가실 수 있습니다.' '8': '&c지옥의 군대&f가 성채 앞을 방어중입니다.
당당히 물리치고 전진하세요!' '9': '&6지옥의 성채&f의 정예병들을 물리치고
옥좌의 방으로 향하세요.' '10': '&c군주의 정예병&f들이 당신과 옥좌 사이를 가로막습니다.' '11': '&c&o&lBOSS ZONE
&c보스방(옥좌의 방)&f에 입장하려면,
&c레드스톤 블록&f을 조합해 양탄자에 &b투입&f해주세요.
&4주의: 바로 앞 체크포인트를 이용하지 않으실 경우,
&4보스가 디스폰 될 수 있습니다.' '12': '&a최후의 전투&f가 다가왔습니다.
&4&l지옥의군주&f를 물리치고 최고의 보상을 노려보세요!' '13': '&4&l지옥의군주&f를 쓰러뜨리면,
&b이곳&f을 통해 골인지점에서 보상을 획득하실 수 있습니다.' '14': '&a&l축하합니다!&f최고난이도 던전을 클리어하셨습니다.
&d상자&f를 우클릭 하신 후,
다함께 &a골인지점&f 표지판을 우클릭하세요.' '15': '&a&l골인 지점' '16': '&6&l옥좌의 방&f에 도달했습니다!
&f보스전 돌입전에 &c&l마지막 체크포인트&f를
&f꼭 갱신해주세요!' '17': '&d상자&f를 열어서 &a&l보스보상&f을 수령하신 후,
문 너머를 통해 클리어지점으로 돌아가세요.' '18': '&c&lFINAL CHECKPOINT
&6&l마지막 체크포인트&f입니다.
&a보스전 돌입전에 꼭 갱신하세요!' '19': '&6상자&f를 열어서 &a중간보스 MVP상품&f을 수령하신 후,
문 너머를 통해 계속하세요!' invitedPlayers: [] mustFinishAll:

(The three grave accents mark the beginning and end of a code block. If there are relevant configuration files, please paste them in the lines between the accents sothat others can see if there are any syntax errors.)