MantisBT - VCMI
View Issue Details
0002555VCMIMechanics - Battlespublic2016-10-15 17:312022-04-12 11:19
misiokles 
AVS 
normalfeaturealways
closedfixed 
PCWindows10
0.98g 
0.99 
0002555: Problem with casting quick sand spell by creature.
In Axolotl Creature Pack there's creature called Lionman. During battle Lionman casts Quicksand spell at the begining of his first turn. In 0.98g version casting works, in last daily version casting doesn't work.
1. Load lionmen saves.
2. Attack nearby creatures
3. Try to casts quicksand by Lionmen during battles.
4. Compare with 0.98g version.
No tags attached.
related to 0001408closed  Combat screen - missing hotkeys 
related to 0001286assigned AVS Hotkey F for Faerie Dragon's area spells 
rar lionmen-Saves.rar (452,765) 2016-10-15 17:31
https://bugs.vcmi.eu/file_download.php?file_id=2594&type=bug
Issue History
2016-10-15 17:31misioklesNew Issue
2016-10-15 17:31misioklesFile Added: lionmen-Saves.rar
2016-10-15 17:32AVSAssigned To => AVS
2016-10-15 17:32AVSStatusnew => assigned
2016-10-15 17:37AVSNote Added: 0006832
2016-10-15 17:37AVSStatusassigned => feedback
2016-10-15 17:41misioklesNote Added: 0006833
2016-10-15 17:41misioklesStatusfeedback => assigned
2016-10-15 17:43misioklesNote Edited: 0006833bug_revision_view_page.php?bugnote_id=6833#r3268
2016-10-15 18:12AVSNote Added: 0006834
2016-10-15 18:17misioklesNote Added: 0006835
2016-10-15 18:22AVSNote Added: 0006836
2016-10-15 18:30misioklesNote Added: 0006837
2016-10-16 11:45AVSRelationship addedrelated to 0001286
2016-10-16 12:13AVSRelationship addedrelated to 0001408
2016-10-17 06:33AVSNote Added: 0006845
2016-10-17 06:33AVSStatusassigned => resolved
2016-10-17 06:33AVSFixed in Version => 0.99
2016-10-17 06:33AVSResolutionopen => fixed
2022-04-12 11:19PovelitelStatusresolved => closed

Notes
(0006832)
AVS   
2016-10-15 17:37   
Could you please write some more information: which creatures were attacked by you and on which terrain?
(0006833)
misiokles   
2016-10-15 17:41   
(edited on: 2016-10-15 17:43)
Load attached save.
Mod link is here: https://www.mediafire.com/?6urua69qt5dn6p2 [^]
When you load save, you have Lionmen in your army (AI never cast lionmen quicksand spell). So you can battle with any creature on any terrain. By compare - when after loading save I attack the same creature in 0.98g version and last builds, bug occurs in last builds.

(0006834)
AVS   
2016-10-15 18:12   
This is not exactly a bug:

"NO_LOCATION action target is not yet supported for creatures"

I`ve disables it on purpose: with SPELLCASTER player should be able to deside should creature cast or not.

To properly fix it wee need to deside how it should work. It may be hotkey to block cast (ALT, SHIFT or whatever) and then reenable creature cast with NO_LOCATION taregt on any hex.
(0006835)
misiokles   
2016-10-15 18:17   
Ok, I get it! Just wonder why casting works in 0.98g, and doesn't work now and thought it's a bug :) You may close this issue then!
(0006836)
AVS   
2016-10-15 18:22   
Any thought on hotkey?
(0006837)
misiokles   
2016-10-15 18:30   
Maybe like Fairy Dragons - cast activation F key (G in HotA)?
(0006845)
AVS   
2016-10-17 06:33   
should be fixed in https://github.com/vcmi/vcmi/pull/239 [^]