1 #include "object-activation/activation-util.h"
2 #include "object/object-info.h"
3 #include "system/baseitem-info.h"
4 #include "system/item-entity.h"
5 #include "system/player-type-definition.h"
7 ae_type *initialize_ae_type(PlayerType *player_ptr, ae_type *ae_ptr, const INVENTORY_IDX item)
9 ae_ptr->o_ptr = ref_item(player_ptr, item);
10 ae_ptr->lev = ae_ptr->o_ptr->get_baseitem().level;