配列のメモ書き
$array = array( 'AI' => array( 'action' => 'attack', ), 'skill' => array( 'skill_name' => 'dice_attack', 'skill_damege_rate' => '150', ), 'initiative' => array( 'ini_dice' => 2, 'ini_range' => 6, 'ini_bonus' => 4, ), 'unit_type' => 'fire', 'stats' => array( 'atk_dice' => 2, 'atk_range' => 6, 'atk_bonus' => 4, 'def_dice' => 1, 'def_range' => 6, 'def_bonus' => 4, 'rec_dice' => 1, 'rec_range' => 6, 'rec_bonus' => 4, 'max_hp' => 80, ), 'unit_name' => 'type1', );