mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	* added slow spell
* a few mistakes in AC_desc.txt fixed * appropriate spells cannot be casted at any tile * small memory optimizations in CDefHandler * minor fixes
This commit is contained in:
		| @@ -1279,6 +1279,16 @@ upgend: | ||||
| 									sendAndApply(&sse); | ||||
| 									break; | ||||
| 								} | ||||
| 							case 54: //slow | ||||
| 								{ | ||||
| 									SetStackEffect sse; | ||||
| 									sse.stack = gs->curB->getStackT(ba.destinationTile)->ID; | ||||
| 									sse.effect.id = 54; | ||||
| 									sse.effect.level = getSchoolLevel(h,s); | ||||
| 									sse.effect.turnsRemain = h->getPrimSkillLevel(2); | ||||
| 									sendAndApply(&sse); | ||||
| 									break; | ||||
| 								} | ||||
| 							} | ||||
|  | ||||
| 							//TODO: spells to support possibly soon (list by Zamolxis): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user