Elvarg improvements

Elvarg fight is now authentic
Max hit up to 60 w/o shield, with anti-dragonfire shield up to 12, and max combat damage based on defense level
Separated potion and shield effects to not stack
Fixed quest log typo
Fixed dragon-fire message to show correct text based on the player's protection
This commit is contained in:
Skal Fate
2023-02-22 07:59:27 +00:00
committed by Ryan
parent f9dbfe9a77
commit 06632a6918
3 changed files with 57 additions and 45 deletions
@@ -323,18 +323,15 @@ abstract class CombatSwingHandler(var type: CombatStyle?) {
if (protection and 0x2 != 0) {
return "Your potion and shield fully protects you from the dragon's $fireName."
}
return if (protection and 0x8 != 0) {
"Your prayer and shield absorbs most of the dragon's $fireName."
} else "Your shield absorbs most of the dragon's $fireName."
return "Your shield absorbs most of the dragon's $fireName."
}
if (protection and 0x2 != 0) {
return if (protection and 0x8 != 0) {
"Your prayer and potion absorbs most of the dragon's $fireName."
} else "Your antifire potion helps you defend the against the dragon's $fireName."
return "Your antifire potion helps you defend the against the dragon's $fireName."
}
return if (protection and 0x8 != 0) {
"Your magic prayer absorbs some of the dragon's $fireName."
} else "You are horribly burnt by the dragon's $fireName."
if (protection and 0x8 != 0) {
return "Your magic prayer absorbs some of the dragon's $fireName."
}
return "You are horribly burnt by the dragon's $fireName."
}
/**