mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Support for Titan's Thunder (creating Spellbook) & Titan's Lightning Bolt.
This commit is contained in:
@@ -1010,6 +1010,8 @@ void CArtifactInstance::move(ArtifactLocation &src, ArtifactLocation &dst)
|
||||
{
|
||||
removeFrom(src.hero, src.slot);
|
||||
putAt(dst.hero, dst.slot);
|
||||
if (artType->id == 135 && dst.slot == Arts::RIGHT_HAND && !dst.hero->hasSpellbook()) //Titan's Thunder creates new spellbook on equip
|
||||
dst.hero->giveArtifact(0);
|
||||
}
|
||||
|
||||
CArtifactInstance * CArtifactInstance::createNewArtifactInstance(CArtifact *Art)
|
||||
|
||||
Reference in New Issue
Block a user