Vehumet AE Question


Ask fellow adventurers how to stay alive in the deep, dark, dangerous dungeon below, or share your own accumulated wisdom.

User avatar

Dis Charger

Posts: 2057

Joined: Wednesday, 7th August 2013, 08:25

Post Monday, 14th April 2014, 17:19

Vehumet AE Question

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.
I'm beginning to feel like a Cat God! Felid streaks: {FeVM^Sif Muna, FeWn^Dithmenos, FeAr^Pakellas}, {FeEE^Ashenzari, FeEn^Gozag, FeNe^Sif Muna, FeAE^Vehumet...(ongoing)}

Ziggurat Zagger

Posts: 11111

Joined: Friday, 8th February 2013, 12:00

Post Monday, 14th April 2014, 17:42

Re: Vehumet AE Question

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);
}
User avatar

Blades Runner

Posts: 614

Joined: Tuesday, 31st December 2013, 19:51

Post Monday, 14th April 2014, 22:24

Re: Vehumet AE Question

Nothing I guess?

Maybe it'll allow your lightning bolt to penetrate more foes before losing range? If air spells lose range at all.
114491 | Pan | Entered the realm of Gloorx Vloq.
114491 | Pan | Noticed Gloorx Vloq
114492 | Pan | Killed Gloorx Vloq

true lords of shadow NEVER sleep

Spider Stomper

Posts: 242

Joined: Tuesday, 27th August 2013, 01:36

Post Tuesday, 15th April 2014, 01:07

Re: Vehumet AE Question

I think it's mostly for limited range spells like sandblast and lehudib's crystal spear.

Barkeep

Posts: 3890

Joined: Wednesday, 14th August 2013, 23:25

Location: USA

Post Tuesday, 15th April 2014, 04:14

Re: Vehumet AE Question

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.)

Return to Dungeon Crawling Advice

Who is online

Users browsing this forum: No registered users and 32 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.