View Single Post
Old September 9, 2018, 15:47   #4
Join Date: May 2016
Posts: 330
t4nk is on a distinguished road
Originally Posted by wobbly View Post
Ok monsters wake in book keeping time not their turn. So player speed matters, monster speed doesn't?
I think it does. process_monster():
    /* Not enough energy to move yet */
    if (mon->energy < minimum_energy) continue;


    /* Give this monster some energy */
    mon->energy += turn_energy(mspeed);

     /* End the turn of monsters without enough energy to move */
     if (!moving)

    /* Use up "some" energy */
    mon->energy -= z_info->move_energy;

    /* Check if the monster is active */
    if (monster_check_active(c, mon)) {
        /* Process timed effects - skip turn if necessary */
         if (process_monster_timed(c, mon))
t4nk is offline   Reply With Quote