Junior Member
|
I was playing last night with a Cleric that fell under a silence spell.
Since the cleric was decently high level, it was hell browsing through his spells to see which ones he could cast that had no vocal components. If I can, I'd suggest a feature to filter available spells based on components. If I have my arms held, I'd like to see which spells I can cast that only have vocal components. If I have lost my spell pouch, I'd like to see which spells which require material components I cannot cast anymore until I go in town. Etc... |
#1 |
Member
Join Date: Sep 2010
Location: South Central PA
Posts: 61
|
Nice idea!
Member: Amorphous Blob Games |
#2 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Since all the text in the description box is searchable, you can get close to this with the existing filter mechanisms. Searching for "V" is too general, but how often does ": V" or "V," or "components: V" appear, unless it's among the spell components listing.
A more complex search capability for everything in HL is on the to-do list, of course. |
#3 |
Member
Join Date: Jul 2010
Posts: 75
|
Have been trying to implement this as a spell effect condition... thusfar the following has been working.
Code:
foreach pick in hero from BaseSpell where "!Helper.CustomItem" if ( eachpick.tagis[sComp.V] <> 0) then eachpick.field[sIsOver].value = 1 eachpick.field[CustDesc].text = eachpick.field[CustDesc].text & "{br}Currently disabled as caster's lack of speech precludes spells with a verbal component." endif nexteach |
#4 |
Member
Join Date: Jul 2010
Posts: 75
|
I posted this question in another thread, but it got buried pretty fast. Anyone know of a mechanism similar to Helper.SpcDisable or Helper.ftDisable that can be used to disable select spells (such as those with the sComp.V tag for the inability to cast verbal spells while silenced) and/or spellcasting as a whole (for Transformation)?
|
#5 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Please don't post barely related questions to other threads because I haven't answered the original yet. sIsOver is the only disabling mechanism that currently exists for spells.
|
#6 |
Member
Join Date: Jul 2010
Posts: 75
|
Eh? It was related for two different spell adjustments... which I listed... and which I'd hoped to add there after figuring out the mechanism for it.
Pardoneh mwah. Anyways, thanks for the heads up. I haven't figured out a way to access a list of the Helper objects as they seem to live in the compiled part of the data files and the editor doesn't have a means I've found for poking around in their guts. |
#7 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
BTW, I wouldn't recommend doing a silence spell adjustment yet. The effects of the spell are probably best handled within the definition of how spells work, rather than from an external thing (I want to be able to set flags for not having any material components/not having the expensive components for this spell, or not being able to gesture, or not able to speak, that the spells look up and apply the effects of, so all the Silence adjustment will do is set the flag).
When you do Transformation, just skip the "no spellcasting" part - the user can ignore that themselves. |
#8 |
|
|