[1.0.4] Grappling/Crushing Hold fails to apply Strangle Hold

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
jotwebe
Uruivellas
Posts: 725
Joined: Fri Apr 15, 2011 6:58 am
Location: GMT+1

[1.0.4] Grappling/Crushing Hold fails to apply Strangle Hold

#1 Post by jotwebe »

Seems there's a mistake in

grappling.lua (113)

Code: Select all

if grappled and not target.no_breath and not target:attr("undead") and target:canBe("silence") then
				target:setEffect(target.EFF_STRANGLE_HOLD, duration, {src=self, power=t.getDamage(self, t) * 1.5})
			else
				target:setEffect(target.EFF_CRUSHING_HOLD, duration, {src=self, power=t.getDamage(self, t)})
			end
Compare with oozing horrors, where strangle hold works:

horrors.lua (line 583)

Code: Select all

if not target:attr("no_breath") and not target:attr("undead") and target:canBe("silence") then
					target:setEffect(target.EFF_STRANGLE_HOLD, t.getDuration(self, t), {src=self, power=t.getDamage(self, t) * 1.5, damtype="SLIME"})
				else
					target:setEffect(target.EFF_CRUSHING_HOLD, t.getDuration(self, t), {src=self, power=t.getDamage(self, t), damtype="SLIME"})
				end
target:attr("no_breath") good, target.no_breath bad.
Ghoul never existed, this never happened!

jotwebe
Uruivellas
Posts: 725
Joined: Fri Apr 15, 2011 6:58 am
Location: GMT+1

Re: [1.0.4] Grappling/Crushing Hold fails to apply Strangle

#2 Post by jotwebe »

Ghoul never existed, this never happened!

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: [1.0.4] Grappling/Crushing Hold fails to apply Strangle

#3 Post by darkgod »

fixed
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Post Reply