------------------------------------------------------------------------------- -- Mob Framework Mod by Sapier -- -- You may copy, use, modify or do nearly anything except removing this -- copyright notice. -- And of course you are NOT allow to pretend you have written it. -- --! @file flight_pattern1.lua --! @brief movementpattern flight 1 --! @copyright Sapier --! @author Sapier --! @date 2012-08-10 -- --! @addtogroup mpatterns --! @{ -- Contact sapier a t gmx net ------------------------------------------------------------------------------- --! @struct flight_pattern1_prototype --! @brief a movement pattern used for flying mobs local flight_pattern1_prototype = { name ="flight_pattern1", jump_up =0, random_jump_chance =0.4, random_jump_initial_speed =0, random_jump_delay =10, random_acceleration_change =0.3, -- -- --run towards player or run away? 1 <-> -1 -- player_attraction =0, -- --maximum distance a player has an effect -- player_attraction_range =-1, } --!@} table.insert(mov_patterns_defined,flight_pattern1_prototype)