mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	More bonuses & graphics handled.
This commit is contained in:
		| @@ -926,6 +926,10 @@ void CCreatureHandler::loadStackExp(Bonus & b, BonusList & bl, std::string & src | ||||
| 				b.type = Bonus::SPELL_IMMUNITY; | ||||
| 				b.subtype = 23; | ||||
| 				break; | ||||
| 			case 'N': //dispell beneficial spells | ||||
| 				b.type = Bonus::SPELL_IMMUNITY; | ||||
| 				b.subtype = 78; | ||||
| 				break; | ||||
| 			case 'R': //Armageddon | ||||
| 				b.type = Bonus::SPELL_IMMUNITY; | ||||
| 				b.subtype = 26; | ||||
|   | ||||
| @@ -720,6 +720,10 @@ std::string CStackInstance::bonusToGraphics(Bonus *bonus) const | ||||
| 			{ | ||||
| 				case 62: //Blind | ||||
| 					fileName = "E_SPBLIND.bmp"; break; | ||||
| 				case 35: // Dispell | ||||
| 					fileName = "E_SPDISP.bmp"; break; | ||||
| 				case 78: // Dispell beneficial spells | ||||
| 					fileName = "E_SPDISB.bmp"; break; | ||||
| 				case 60: //Hypnotize | ||||
| 					fileName = "E_SPHYPN.bmp"; break; | ||||
| 				case 18: //Implosion | ||||
| @@ -734,6 +738,7 @@ std::string CStackInstance::bonusToGraphics(Bonus *bonus) const | ||||
| 					fileName = "E_SPSLOW.bmp"; break; | ||||
| 				//TODO: some generic spell handling? | ||||
| 			} | ||||
| 			break; | ||||
| 		} | ||||
| 			//"E_SPAWILL.bmp" | ||||
| 		case Bonus::DIRECT_DAMAGE_IMMUNITY: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user