Triggering antimagic encounter

Any discussions regarding the spoilers present in ToME 4.x.x should be restricted to this forum

Moderator: Moderator

Post Reply
Message
Author
Susramanian
Spiderkin
Posts: 454
Joined: Sat May 15, 2010 3:09 am

Triggering antimagic encounter

#1 Post by Susramanian »

I got to 15 as a berserker using no scrolls, but wandering around the wilderness produces nothing. I took Imbue Item as an escort quest reward, which gave me a mana bar. Did that screw me?

yufra
Perspiring Physicist
Posts: 1332
Joined: Tue Jul 13, 2010 2:53 pm

Re: Triggering antimagic encounter

#2 Post by yufra »

You can check the encounter triggering code by opening mod/data/general/encounters/arda-west.lua.

Code: Select all

	special_filter = function(self)
		local p = game.player
		if p.level < 15 then return false end
		if p:attr("casted_spells") then return false end
		if p:attr("used_magic_devices") then return false end
		if p:knowTalent(p.T_TELEPORT_ANGOLWEN) then return false end
		if p:attr("angolwen_access") then return false end
		return true
	end,
You can search for the the "casted_spells" and "used_magic_devices" variables in the tome folder and find that magic devices have a "is_magic_device" flag, whereas talents that have "is_spell" count against you. The "is_spell" variable is actually set for the entire talent type/category, so you can identify which talents qualify there. It looks like only scrolls and wands are considered magic devices for now (I think activated artifacts should be included, eg. Ring of Ulmo).

Finally, if you can access Angolwen you have demonstrated a friendly attitude to those accursed magic users, which I am guessing is what actually did you in.
<DarkGod> lets say it's intended

Taxorgian
Archmage
Posts: 300
Joined: Mon May 17, 2010 11:56 am

Re: Triggering antimagic encounter

#3 Post by Taxorgian »

I was able to understand where to find info on objects (and thank DarkGod you can still use potions...) but I'm not clear on where to find spell info. In particular, are Hymns and Chants considered to be spells?

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

Re: Triggering antimagic encounter

#4 Post by darkgod »

Are considered spells:
* All magic spells
* All divine talents
* All corruption talents
[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 ;)

Charlatan73
Thalore
Posts: 145
Joined: Tue Jan 10, 2006 6:57 pm

Re: Triggering antimagic encounter

#5 Post by Charlatan73 »

is there a particular area of the wilderness you have to wander?
Am level 15, am confident I met the criteria.

Final Master
Sher'Tul
Posts: 1022
Joined: Fri May 21, 2010 8:16 pm
Location: Inside the minds of all
Contact:

Re: Triggering antimagic encounter

#6 Post by Final Master »

darkgod wrote:Are considered spells:
* All magic spells
* All divine talents
* All corruption talents
Out of curiosity, why the corruptions?
Final Master's Character Guides
Final Master's Guide to the Arena
Edge: Final Master... official Tome 4 (thread) necromancer.
Zonk: I'd rather be sick than on fire! :D

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

Re: Triggering antimagic encounter

#7 Post by darkgod »

corruptions are "evil" magic. It works of the magic stat
[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 ;)

Sirrocco
Sher'Tul
Posts: 1059
Joined: Fri Apr 23, 2010 4:56 am

Re: Triggering antimagic encounter

#8 Post by Sirrocco »

The skills of the Cursed class all run off of Willpower or Strength, and the word "magic" doesn't show up in any of the text descriptions. Are they offensive to the antimagic types? I'd thought they were, but if "uses the magic stat" is the criteria....

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

Re: Triggering antimagic encounter

#9 Post by darkgod »

They are not spells
[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 ;)

Sirrocco
Sher'Tul
Posts: 1059
Joined: Fri Apr 23, 2010 4:56 am

Re: Triggering antimagic encounter

#10 Post by Sirrocco »

*blinks*

Right. Total reading/comprehension fail on my part. Thank you.

I suppose I haven't yet unlocked the class that uses corruptions.

kingvictory2003
Thalore
Posts: 158
Joined: Wed May 19, 2010 4:05 am

Re: Triggering antimagic encounter

#11 Post by kingvictory2003 »

So just to make completely crystal clear--selecting magical abilities/hyms/chants as a reward, but not using them, does NOT violate the quest?

Thanks!

Taxorgian
Archmage
Posts: 300
Joined: Mon May 17, 2010 11:56 am

Re: Triggering antimagic encounter

#12 Post by Taxorgian »

So just to make completely crystal clear--selecting magical abilities/hyms/chants as a reward, but not using them, does NOT violate the quest?
I was able to get the antimagic quest with a hymn and an imbue item reward with no problem.

Post Reply