Page 1 of 1

My area spell has the wrong radius, what am I doing wrong?

PostPosted: Sunday, 29th March 2015, 13:18
by Grudge
I am coding an area spell that works like silence, it seems to work, but the radius is wrong. It starts out one tile too small, and then disappears in two turns. I am fairly sure that the code for the area is the same as leda's liquefaction. One thing to note is that this is a strictly monster only spell. I am wondering if there are any areas that are easy to break when coding this type of thing.

EDIT: Fixed the problem. Didn't add the duration code in mon-ench.cc. Apologies for useless post.

Re: My area spell has the wrong radius, what am I doing wron

PostPosted: Sunday, 29th March 2015, 18:57
by wheals
It's could be useful for someone who ran into the same problem in the future. Now, if you hadn't said how you fixed it then it definitely would have been useless :P

Re: My area spell has the wrong radius, what am I doing wron

PostPosted: Monday, 30th March 2015, 20:50
by tasonir
Image