| 216 | } |
| 217 | |
| 218 | static int _vortex_age(const actor *caster) |
| 219 | { |
| 220 | const string name = POLAR_VORTEX_KEY; |
| 221 | if (caster->props.exists(name.c_str())) |
| 222 | return you.elapsed_time - caster->props[name.c_str()].get_int(); |
| 223 | return 100; // for permanent vortices |
| 224 | } |
| 225 | |
| 226 | // time needed to reach the given radius |
| 227 | static int _age_needed(int r) |
no test coverage detected