Page 1 of 1

Triggering antimagic encounter

Posted: Thu Oct 28, 2010 2:22 am
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?

Re: Triggering antimagic encounter

Posted: Thu Oct 28, 2010 3:08 am
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.

Re: Triggering antimagic encounter

Posted: Thu Oct 28, 2010 10:47 pm
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?

Re: Triggering antimagic encounter

Posted: Thu Oct 28, 2010 10:49 pm
by darkgod
Are considered spells:
* All magic spells
* All divine talents
* All corruption talents

Re: Triggering antimagic encounter

Posted: Tue Nov 09, 2010 8:49 pm
by Charlatan73
is there a particular area of the wilderness you have to wander?
Am level 15, am confident I met the criteria.

Re: Triggering antimagic encounter

Posted: Wed Nov 10, 2010 9:38 pm
by Final Master
darkgod wrote:Are considered spells:
* All magic spells
* All divine talents
* All corruption talents
Out of curiosity, why the corruptions?

Re: Triggering antimagic encounter

Posted: Wed Nov 10, 2010 10:28 pm
by darkgod
corruptions are "evil" magic. It works of the magic stat

Re: Triggering antimagic encounter

Posted: Thu Nov 11, 2010 3:29 am
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....

Re: Triggering antimagic encounter

Posted: Thu Nov 11, 2010 1:41 pm
by darkgod
They are not spells

Re: Triggering antimagic encounter

Posted: Thu Nov 11, 2010 3:42 pm
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.

Re: Triggering antimagic encounter

Posted: Fri Nov 12, 2010 4:40 am
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!

Re: Triggering antimagic encounter

Posted: Fri Nov 12, 2010 8:23 pm
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.