Pinned while having pin immunity

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Peppersauce
Thalore
Posts: 190
Joined: Tue Jul 03, 2012 7:04 pm

Pinned while having pin immunity

#1 Post by Peppersauce »

A char of mine has Wanderer's Rest on (they give 100% pin resistance) but Pinning Shots from skeleton master archers still pin him... weird, huh?

Peppersauce
Thalore
Posts: 190
Joined: Tue Jul 03, 2012 7:04 pm

Re: Pinned while having pin immunity

#2 Post by Peppersauce »

Update: Just noticed, I actually get pinned by everything every time even with pinning immunity, it's not limited to skellie master archers.

Hachem_Muche
Uruivellas
Posts: 744
Joined: Thu Nov 18, 2010 6:42 pm

Re: Pinned while having pin immunity

#3 Post by Hachem_Muche »

Are you sure you are stilling wearing the boots? Make sure that you have 100% pinning resistance listed on the character sheet's defense tab.
Author of the Infinite 500 and PlenumTooltip addons, and the joys of Scaling in ToME.

Peppersauce
Thalore
Posts: 190
Joined: Tue Jul 03, 2012 7:04 pm

Re: Pinned while having pin immunity

#4 Post by Peppersauce »

Absolutely 100% sure and the char sheet shows the pinning immunity. Heck, I'm so sure I have them I have two pairs. :lol:

http://te4.org/characters/19173/tome/17 ... 4deee40be3

Hachem_Muche
Uruivellas
Posts: 744
Joined: Thu Nov 18, 2010 6:42 pm

Re: Pinned while having pin immunity

#5 Post by Hachem_Muche »

There is a bug that causes levitation to negate pinning immunity - so your Featherwind spell is making you pinnable. Fix:

Code: Select all

Index: game/modules/tome/class/Actor.lua
===================================================================
--- game/modules/tome/class/Actor.lua	(revision 6655)
+++ game/modules/tome/class/Actor.lua	(working copy)
@@ -4395,7 +4406,7 @@
 	if what == "blind" and rng.percent(100 * (self:attr("blind_immune") or 0)) then return false end
 	if what == "silence" and rng.percent(100 * (self:attr("silence_immune") or 0)) then return false end
 	if what == "disarm" and rng.percent(100 * (self:attr("disarm_immune") or 0)) then return false end
-	if what == "pin" and rng.percent(100 * (self:attr("pin_immune") or 0)) and not self:attr("levitation") then return false end
+	if what == "pin" and rng.percent(100 * (self:attr("pin_immune") or 0)) or self:attr("levitation") or self:attr("fly") then return false end
 	if what == "stun" and rng.percent(100 * (self:attr("stun_immune") or 0)) then return false end
 	if what == "sleep" and rng.percent(100 * math.max((self:attr("sleep_immune") or 0), (self:attr("confusion_immune") or 0))) then return false end
 	if what == "fear" and rng.percent(100 * (self:attr("fear_immune") or 0)) then return false end
Note that the "fly" attribute appears to be deprecated but is included for completeness.
Author of the Infinite 500 and PlenumTooltip addons, and the joys of Scaling in ToME.

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

Re: Pinned while having pin immunity

#6 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