Page 1 of 1

Vehumet AE Question

PostPosted: Monday, 14th April 2014, 17:19
by bcadren
I figured this is the right place for this. Not about a specific character; just a question.

Does Vehu's range increase affect how far bolt bouncing spells bounce, since their range is already full LoS? What about arc lengths or Static Discharge and Chain Lightning?
Overall what benefits does the range increase give to Air spells; since most of them are either full LoS already or really weird.

Re: Vehumet AE Question

PostPosted: Monday, 14th April 2014, 17:42
by Sandman25
I just checked the code and it looks like full LoS is max.

  Code:
int spell_range(spell_type spell, int pow, bool player_spell)
{
    int minrange = _seekspell(spell)->min_range;
    int maxrange = _seekspell(spell)->max_range;
    ASSERT(maxrange >= minrange);

    // spells with no range have maxrange == minrange == -1
    if (maxrange < 0)
        return maxrange;

    // Sandblast is a special case.
    if (spell == SPELL_SANDBLAST && wielding_rocks())
    {
        minrange++;
        maxrange++;
    }

    if (player_spell
        && vehumet_supports_spell(spell)
        && you_worship(GOD_VEHUMET)
        && spell != SPELL_STICKY_FLAME
        && spell != SPELL_FREEZE
        && spell != SPELL_DISCHARGE
        && spell != SPELL_GLACIATE
        && !player_under_penance()
        && you.piety >= piety_breakpoint(3))
    {
        maxrange++;
        minrange++;
    }

    if (minrange == maxrange)
        return min(minrange, (int)you.current_vision);

    const int powercap = spell_power_cap(spell);

    if (powercap <= pow)
        return min(maxrange, (int)you.current_vision);

    // Round appropriately.
    return min((int)you.current_vision,
           (pow * (maxrange - minrange) + powercap / 2) / powercap + minrange);
}

Re: Vehumet AE Question

PostPosted: Monday, 14th April 2014, 22:24
by Lyrick
Nothing I guess?

Maybe it'll allow your lightning bolt to penetrate more foes before losing range? If air spells lose range at all.

Re: Vehumet AE Question

PostPosted: Tuesday, 15th April 2014, 01:07
by Knight9910
I think it's mostly for limited range spells like sandblast and lehudib's crystal spear.

Re: Vehumet AE Question

PostPosted: Tuesday, 15th April 2014, 04:14
by and into
Vehumet also doesn't extend sticky flame or freeze. Doesn't do anything to static discharge (I'm pretty sure.)

I am pretty sure Veh does extend Lightning Bolt when that spell is at less than full LOS range, not sure if it gives it the equivalent of a "nine square" bounce once you've gotten enough spell power that it would naturally have eight square range. (According to Sandman25 it does not, based on code, but that code is all Greek to me so idk.)