| Berserker   
   
   Posts: 16786
 
 |  | 
	| 08.10.2014 19:40 |  | 
	
		| Valery   
   Posts: 2196
 
 | 
			| 
 
				Can't. Enemy stack is not affected by dispel without water skill, so mouse cursor does not change, no trigger, no cast.
			 |  | 
	| 08.10.2014 21:44 |  | 
	
		| gamecreator   
   Posts: 7107
 
 |  | 
	| 08.10.2014 22:21 |  | 
	
		| Valery   
   Posts: 2196
 
 | 
			| 
 
				Ah, you mean change cursor on mouse hover, set a flag if enemy creature under, trigger this if dispel is cast? That's way too complicate for a feature a guy asked, and will not work properly. If none of our creatures have a spell applied, clicking on dispel will trigger the "spell can not be cast" message, before you close the book.
 I was trying to change the regular flags.
 
 gamecreator
 
 I just experimented a bit at Kalu's request, in HC. Kalu is the author of succession wars mod, and asked explicitly if dispel without water can work on enemy. Looks like is too complicate and asking works around.
 
				
(This post was last modified: 08.10.2014 22:26 by Valery.)
 |  | 
	| 08.10.2014 22:24 |  | 
	
		| gamecreator   
   Posts: 7107
 
 |  | 
	| 09.10.2014 00:03 |  | 
	
		| Valery   
   Posts: 2196
 
 | 
			| 
 
				Quote:in other words friendly and enemy destination. no mass, no own stacks without change the hero water magic skill between the actionsHe asked   precisely without changing the skill. Now up to him.
			 
				
(This post was last modified: 09.10.2014 00:27 by Valery.)
 |  | 
	| 09.10.2014 00:24 |  | 
	
		| gamecreator   
   Posts: 7107
 
 |  | 
	| 09.10.2014 00:38 |  | 
	
		| Valery   
   Posts: 2196
 
 | 
			| 
 
				Unfortunately, I have no clue how to make UN:C or plugins, from such received data. Then I suppose he needs  the reversed code as well, to have dispel dependent of water too, no idea.
			 
				
(This post was last modified: 09.10.2014 00:53 by Valery.)
 |  | 
	| 09.10.2014 00:51 |  | 
	
		| gamecreator   
   Posts: 7107
 
 |  | 
	| 09.10.2014 01:17 |  | 
	
		| Berserker   
   
   Posts: 16786
 
 |  | 
	| 09.10.2014 01:19 |  | 
	
		| Valery   
   Posts: 2196
 
 |  | 
	| 09.10.2014 01:47 |  | 
	
		| Shiva   
 Posts: 122
 
 | 
			| 
 
				Как на случайный артефакт в редакторе например (ботинки), поставить заклинание скрипт защита от слепоты, также как на артефакте брелок ясновидения, который весит на шее.
			 |  | 
	| 09.10.2014 18:08 |  | 
	
		| Shiva   
 Posts: 122
 
 | 
			| 
 
				 (09.10.2014 18:53)Algor Wrote:  Можно на время боя подменять артефакт. 
Мне нужно чтобы на шее висел Брелок смелости, который дает +3 к лидерству и +3 к удаче, а сапоги или плащ давали защиту от ослепления. Компьютер постоянно слепит и слепит не используя др заклинаний.
 
Как вообще запрограммировать пустой артефакт? Установить в него стандартные свойства от обычных артефактов.
			 |  | 
	| 09.10.2014 19:54 |  |