mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	- if special victory condition is present AND there is only one player normal victory condition will be disabled - added new triggered condition, constant value - if target of CONTROL/DESTROY condition is removed from map, triggered condition will be replaced with constant - fixed randomization of armies with random stacks
This commit is contained in:
		| @@ -16,9 +16,9 @@ | ||||
| #include "../VCMI_Lib.h" | ||||
|  | ||||
| static const std::string conditionNames[] = { | ||||
| "haveArtifact", "haveCreatures", "haveResources",   "haveBuilding", | ||||
| "control",      "destroy",       "transport", | ||||
| "daysPassed",   "isHuman",       "daysWithoutTown", "standardWin" | ||||
| "haveArtifact", "haveCreatures",   "haveResources",   "haveBuilding", | ||||
| "control",      "destroy",         "transport",       "daysPassed", | ||||
| "isHuman",      "daysWithoutTown", "standardWin",     "constValue" | ||||
| }; | ||||
|  | ||||
| static const std::string typeNames[] = { "victory", "defeat" }; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user