예제 #1
0
static int _get_powers(spell_info* spells, int max) 
{
    int ct = get_powers_aux(spells, max, _powers);
    switch (p_ptr->current_r_idx)
    {
    case MON_AKLASH: 
        ct += get_powers_aux(spells + ct, max - ct, _aklash_powers);
        break;
    case MON_STORM_TROLL: 
        ct += get_powers_aux(spells + ct, max - ct, _storm_troll_powers);
        break;
    case MON_TROLL_KING: 
        ct += get_powers_aux(spells + ct, max - ct, _troll_king_powers);
        break;
    }
    return ct;
}
예제 #2
0
static int _get_powers(spell_info* spells, int max) 
{
    int ct = get_powers_aux(spells, max, _powers);
    switch (p_ptr->current_r_idx)
    {
    case MON_COLOSSUS:
        ct += get_powers_aux(spells + ct, max - ct, _colossus_powers);
        break;
    case MON_SKY_GOLEM:
        ct += get_powers_aux(spells + ct, max - ct, _sky_powers);
        break;
    case MON_SPELLWARP_AUTOMATON:
        ct += get_powers_aux(spells + ct, max - ct, _spellwarp_powers);
        break;
    }

    return ct;
}
예제 #3
0
static int _get_powers(spell_info* spells, int max)
{
    return get_powers_aux(spells, max, _powers);
}
예제 #4
0
static int _get_powers(spell_info* spells, int max) {
    int ct = get_powers_aux(spells, max, _powers);
    if (p_ptr->current_r_idx == MON_HOUND_OF_TINDALOS)
        ct += get_powers_aux(spells + ct, max - ct, _tindalos_powers);
    return ct;
}
static int _get_powers(spell_info* spells, int max)
{    
    _on_mirror = is_mirror_grid(&cave[py][px]);
    return get_powers_aux(spells, max, _powers);
}
예제 #6
0
static int _half_titan_get_powers(spell_info* spells, int max)
{
    return get_powers_aux(spells, max, _half_titan_powers);
}
예제 #7
0
static int _cave_spider_get_powers(spell_info* spells, int max) {
    return get_powers_aux(spells, max, _cave_spider_powers);
}