Page 1 of 1

SVN Anti-magic and Rod of Recall

Posted: Tue Mar 01, 2011 3:25 am
by edge2054
[LOG] Your antimagic disrupts #FFD700#Rod of Recall (1/1)#LAST#.

It's flagged as an unknown source now so maybe this is a hold over from before and it's because it's a wand? (Orb of Scrying works fine even though it's also Unknown Forces)

Re: SVN Anti-magic and Rod of Recall

Posted: Tue Mar 01, 2011 3:40 am
by edge2054
737 mod/player

Code: Select all

			-- Count magic devices
			if (o.is_magic_device or (o.power_source and o.power_source.arcane)) and self:attr("forbid_arcane") then
				game.logPlayer(self, "Your antimagic disrupts %s.", o:getName{no_count=true, do_color=true})
				return true
			end
It looks like all wands are now inheriting powered by arcane forces unless over ridden (judging by the Rod of Recall code) so the magic_device stuff is probably redundant.

Re: SVN Anti-magic and Rod of Recall

Posted: Tue Mar 01, 2011 2:51 pm
by darkgod
fixed