davewx7 / citadel

A turn based strategy game based on the Anura engine
Other
97 stars 25 forks source link

Possible bug: Hailstorm affects creatures under "Cover" #175

Closed crabel closed 6 years ago

crabel commented 6 years ago

Shouldn't creatures under cover be immune to spells? But casting Hailstorm still damages them.

davewx7 commented 6 years ago

Creatures with Cover are not immune to spells. They cannot be targeted by enemy spells. That is, any spell which uses the word "target" cannot have an enemy creature with Cover as the target. However, Hailstorm doesn't use the word target in its rules text and it doesn't have any targets when cast. As such, Hailstorm interacts with creatures with Cover in the same way as it interacts with any other creature.

ghost commented 6 years ago

There is a game doc with part of the rules, even though is game data (just to be printed, but game data), it is really nicely readable: https://github.com/davewx7/citadel/blob/8c6567f82569b1fa4da3190105ed81b8dfae4bb8/data/help-abilities.cfg#L13 Good reread (I caught an error there recently).