Immune to Ranged Attacks

The code for the blessings “ghost” and “hit & run” says count_as_dodge_vs_ranged. Can you take ranged damage when these blessings are active?

No because it puts you in dodge state and you can’t be targeted or shot at with ranged attacks while in dodge state.

Can also activate Vet’s stamina back on dodging ranged attacks feat which is a neat little interaction.

2 Likes

My god, that lazy coding will surely not come back and bite them in the arse later with unintended interactions.

Wait it does what now? Ghost and Hit’n’Run both proc Duck and Dive?

That sounds like it could have some interesting interactions with deadshot.

I’ve heard from a reliable source that ghost certainly does. If hit and run uses the same dodge state code I can only assume it does too.

image

Ghost probably does. From personal experience I know Hit n Run still damages you and only ignores suppression.

Looking at the LUA, you have count_as_dodge_vs_ranged_on_weakspot and count_as_dodge_vs_ranged_on_close_kill base blessings both giving you count_as_dodge_vs_ranged which returns TRUE for is_dodging

		if buff_extension and (buff_extension:has_keyword(buff_keywords.count_as_dodge_vs_all) or is_melee and buff_extension:has_keyword(buff_keywords.count_as_dodge_vs_melee) or is_ranged and buff_extension:has_keyword(buff_keywords.count_as_dodge_vs_ranged)) then
			return true, dodge_types.buff
		end

Interesting that it counts as dodging…

I don’t suppose you can find in the code what actually counts as “close range”?

Seems to be 15m which also lines up w/ 8m “melee range” for bleed ogryn checks for instance.

damage_settings.ranged_close = 15
damage_settings.ranged_far = 30
damage_settings.in_melee_range = 8

You can probably get a good sense with the dum-dum blessing or similar in the meat grinder.

2 Likes

In game you can test this with ranged weapons as ballistic weapons start to have damage fall off beyond 15 meters and lasguns get increased damage at longer ranges which starts at 15+ meters upwards to 30 meters cap

1 Like

I’ve had duck and dive trigger while i’m standing still, doing nothing any enemy just missing me.

Yeah that same thought had occurred to me afterwards (RE:dropoffs) so I was gonna do more digging, got lazy then forgot.

Great point to bring up though!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.