… | |
… | |
502 | * If certain skills should take more/less time, that should be |
502 | * If certain skills should take more/less time, that should be |
503 | * in the code for the skill itself. |
503 | * in the code for the skill itself. |
504 | */ |
504 | */ |
505 | |
505 | |
506 | if (op->type == PLAYER) |
506 | if (op->type == PLAYER) |
507 | op->speed_left -= 1.0; |
507 | op->speed_left -= 1.f; |
508 | |
508 | |
509 | /* this is a good place to add experience for successfull use of skills. |
509 | /* this is a good place to add experience for successfull use of skills. |
510 | * Note that add_exp() will figure out player/monster experience |
510 | * Note that add_exp() will figure out player/monster experience |
511 | * gain problems. |
511 | * gain problems. |
512 | */ |
512 | */ |