Pārlūkot izejas kodu

Minor fix.

A general issue: "shooter" artifacts should display bonus only for shooting creatures.
DjWarmonger 14 gadi atpakaļ
vecāks
revīzija
d4ed4cf9a0
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      lib/CArtHandler.cpp

+ 1 - 1
lib/CArtHandler.cpp

@@ -637,7 +637,7 @@ void CArtHandler::addBonuses()
 	giveArtBonus(89,Bonus::EARTH_SPELLS,0);//Tome of Earth Magic
 
 	giveArtBonus(90,Bonus::WATER_WALKING, 0, 1);//Boots of Levitation
-	giveArtBonus(91,Bonus::NO_SHOTING_PENALTY,0);//Golden Bow
+	giveArtBonus(91,Bonus::NO_SHOTING_PENALTY,0, 0, 0, new HasAnotherBonusLimiter(Bonus::SHOOTER));//Golden Bow
 	giveArtBonus(92,Bonus::SPELL_IMMUNITY,0,35);//Sphere of Permanence
 	giveArtBonus(93,Bonus::NEGATE_ALL_NATURAL_IMMUNITIES,0);//Orb of Vulnerability