SVN Anti-magic and Rod of Recall

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
edge2054
Retired Ninja
Posts: 3756
Joined: Fri May 28, 2010 4:38 pm

SVN Anti-magic and Rod of Recall

#1 Post 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)

edge2054
Retired Ninja
Posts: 3756
Joined: Fri May 28, 2010 4:38 pm

Re: SVN Anti-magic and Rod of Recall

#2 Post 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.

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

Re: SVN Anti-magic and Rod of Recall

#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