{{Combatant3
|title =The Lorekeeper
|image =token-lorekeeper.png
|health =240
|head-armor =80
|body-armor =60
|initiative =50
|resolve =130
|melee-defense =15
|ranged-defense =15
|action-points =12
|xp =750
|immune=[[File:Stunned.png|23px|Stun]][[File:Status_effect_111.png|23px|Disarm]][[File:Night.png|23px|Nighttime]][[File:Perk_57.png|23px|Injuries]][[File:Bleeding.png|23px|Bleeding]][[File:Goblin_poison.png|23px|Poison]][[File:Morale.png|23px|Morale]][[File:Fatigue.png|23px|Fatigue]]
|not-immune=[[File:Net2.png|23px|Nets]][[File:Knock_Back.png|23px|Forced movement]][[File:Status_effect_116.png|23px|Fire]]
|stats=
{{SkillInfo|Damage taken.png|0.5x damage taken}}
|skills=
[[File:Perk 27.png|25px]] [[Fearsome]]
[[File:Perk 09.png|25px]] [[Steel Brow]]
[[File:Perk 60.png|25px]] [[Underdog]]
{{SkillInfo|Perk 32.png|[[Resistant to Ranged Attacks]]}}
[[File:Active_220.png|25px]] [[Geomancy (0 fatigue)|Geomancy]]
[[File:Active_220.png|25px]] [[Geomancy (Once) (0 fatigue)|Geomancy (once)]]
[[File:Horror.png|25px]] [[Horror (0 fatigue - lich)|Horror (no range limit)]]
[[File:Active_216.png|25px]] [[Lightning Storm (0 fatigue)|Lightning Strike]]
{{SkillInfo|Miasma.png|[[Miasma (0 fatigue - lich)|Miasma (no range limit)]]}}
[[File:Active_218.png|25px]] [[Mirror Image (0 fatigue)|Mirror Image]]
{{SkillInfo|Active_219.png|[[Raise Screaming Skulls (0 fatigue)|Raise Screaming Skulls]]}}
[[File:Active_213.png|25px]] [[The Black Book (0 fatigue)|The Black Book]]
}}Lorekeeper is the boss of the [[Sunken Library]] [[Legendary locations|legendary location]].
== Equipment ==
* [[The Black Book]].
* An Ancient Attire (60).
* An Ancient Headpiece (80).
== Skills ==
{| class="article-table" style="font-size:85%;" |
! align="center" |'''''Icon'''''
! align="center" |'''''Name'''''
! align="center" |'''''AP'''''
! align="center" |'''''Fatigue'''''
! align="left" |'''''Description'''''
|-
{{:Resistant to Ranged Attacks}}
|-
{{:Geomancy (0 fatigue)}}
|-
{{:Geomancy (Once) (0 fatigue)}}
|-
{{:Horror (0 fatigue - lich)}}
|-
{{:Lightning Storm (0 fatigue)}}
|-
{{:Miasma (0 fatigue - lich)}}
|-
{{:Mirror Image (0 fatigue)}}
|-
{{:Raise Screaming Skulls (0 fatigue)}}
|-
{{:The Black Book (0 fatigue)}}
|}
== Behavior ==
Lorekeeper has a very complex behavior. The most important things are that he can't die if any [[Phylactery|Phylacteries]] remain intact and will respawn from them, and the fight gets harder when you destroy more Phylacteries.
Some [[Ancient Honor Guard|Ancient Honor Guards]] will guard him, not actively attacking you and making the battle easier.
His Miasma and Horror have to range limit. He has no zone of control. He can traverse steep cliffs (verify).
===Variables===
*Let be the number of remaining Phylacteries.
*Let be the round number.
===Skills availability===
Lorekeeper's skill set is defined by :
{| class="article-table" style="font-size:85%;" |
! align="center" |'''''Expression value'''''
! align="center" |'''''Allowed skills'''''
|-
|2 or less
|Raise Screaming Skulls, Mirror Image, Lightning Strike, Geomancy, The Black Book
|-
|3-4
|Miasma, Mirror Image, Lightning Strike, Geomancy, The Black Book
|-
|5-6
|Miasma, Horror, Mirror Image, Geomancy, The Black Book
|-
|7-9
|Horror, Raise Screaming Skulls
|-
|10
|Miasma, Horror
|-
|}
===Summoning skulls===
Lorekeeper can summon [[Screaming Skull|Screaming Skulls]] once per turn. Skulls spawn 5-6 tiles away from your brothers. To simplify, he summons 4-12 skulls per turn to a limit of 12-30 on the map, depending on how many Phylacteries were destroyed.
Exact mechanics:
* Let .
* Summoned per turn: .
* Limit: .
===Summoning apparitions===
In the middle of battle Lorekeeper starts summoning [[Lorekeeper's Apparition|Apparitions]], ghostly copies of himself. They spawn far away from you and will cast spells too. To simplify, there will be four of them as it's not worth spending time hunting them.
Exact mechanics:
* Summoned per turn: .
* Limit is 4.
=== Lightnings ===
Lorekeeper can mark a vertical line on the ground to strike it with lightnings on the next turn. Apparitions also do it, but with one turn of cooldown after the actual strike. There can't be more than 3 simultaneous lightning strikes. Brothers in zones of control, [[Horrified (Status Effect)|horrified]] brothers and lines with many brothers are prioritized. Lightnings have no friendly fire.
===Geomancy===
It is the Lorekeeper's ability to raise and lower earth to protect Phylacteries and himself from melee, and comes in two forms. One-time version is used earlier and does not affect the Lorekeeper himself. Normal version affects him and has two turns of cooldown, so he casts it on every third turn, even if it's disadvantageous for him. If he dies, all raised ground lowers.
Exact mechanics:
* One-time Geomancy condition for raising ground: .
* One-time Geomancy condition for lowering ground: .
* Normal Geomancy condition: , has 2 turns of cooldown.
===Raising undead===
In the middle of battle Lorekeeper will read [[the Black Book]] he carries, raising all resurrectable undead. [[Lost Treasure Hunter|Lost Treasure Hunters]] are always resurrectable, and Honor Guards are resurrectable if not [[Fatality|decapitated]]. A [[Warscythe]] or, if there is an item in the off-hand, [[Khopesh]] also will be created if the undead has no weapon. Armor won't be repaired. Apparitions will cast Raise Dead like [[Necromancer|Necromancers]] and will not create any weapons.
Exact mechanics:
* The Black Book condition: and at least 6 corpses on the map.
==Tips==
* Don't hurry to destroy Phylacteries as soon as you can, you will only make the fight harder. Try to destroy all Phylacteries at once or at least quickly to reduce the time of Lorekeeper being the most powerful.
* Bringing him to low HP and [[Staggered (Status Effect)|staggering]] allows to skip the difficult phase entirely, if you destroy all Phylacteries on that turn and kill him.
* Killing him may seem pointless, but it lowers Phylacteries to the ground to destroy easily.
* [[Decapitate (20 fatigue)|Decapitate]] Honor Guards with [[cleavers]] to prevent reanimation, or replace their weapons with weak ones.
* [[Spiked Impaler]] can knock him down from a pillar, however his high ground gives you a penalty of -30 to hit.
{{Navbox Enemies}}
[[Category:Enemies]]
[[Category:Undead]]
[[Category:Ancient Dead]]