Can a spell being cast via a magic item be considered to be more than one class’ spell at the same time?

Can a spell being cast via a magic item be considered to be more than one class’ spell at the same time? Specifically, items phrased along the lines of “While holding it, you can use an action […] to cast [a spell] from it”, with no ties to a particular class (such as Wand of Magic Missiles, Helm of Teleportation, Wand of Entangle, etc.).

The reason I’m asking this question is it seems like it is possible via an odd interaction quirk of the following rules that I’m aware of, and I wanted to make sure I’m not missing anything:

  • From the answers over on the question of “What makes a spell being cast considered to be a {class} spell?”, the implication is that something is a ‘class spell’ if it is on that class’ spell list.

  • The multiclass spellcasting rules state “Each spell you know and prepare is associated with one of your classes”. However, in an instance where you are a multiclassed character who neither knows nor has prepared the spell from either class, I don’t think this rule would apply, removing the limit of being associated with only one class.

  • My current understanding is that spells cast from magic items can still be considered class spells, as per the answer to “Can a sorcerer spell cast from a magic item trigger a Wild Magic Surge” (plus, they are still on the class’ spell list, as mentioned above).


(For a specific application of where this may matter, consider this example: Could a multiclassed 10th level School of Evocation wizard/1st level Wild Magic sorcerer PC benefit from both Empowered Evocation and Wild Magic Surge on a single cast of magic missile from a Wand of Magic Missiles, assuming that they did not pick up magic missile as a spell via either of their classes? Empowered Evocation and Wild Magic Surge care that the spell being cast is a wizard spell and a sorcerer spell, respectively.)

Can Unfailing Endurance be used as a prerequisite to enter a prestige class?

Unfailing Endurance (Defenders of the Faith: A Guidebook to Clerics and Paladins) reads, in part:

[…] The benefits include: Endurance: This feat confers a +4 bonus on any check made for performing a physical action that extends over a period of time (running, swimming, holding breath, and so on). […]

Can it be used to satisfy a prerequisite for a prestige class?

Uncaught Error: Class ‘Redis’ errors on a site I’ve transfered to new hosting

I’ve been given a site that I need to install on my server. The site was made by someone else and it seems to have redis installed.

I get errors such as (paths altered/truncated in the error msg for privacy reasons):

Fatal error: Uncaught Error: Class ‘Redis’ not found in wp-content\object-cache.php:732 Stack trace: #0 wp-content\object-cache.php(171): WP_Object_Cache->__construct() #1 wp-includes\load.php(638): wp_cache_init() #2 wp-settings.php(131): wp_start_object_cache() #3 wp-config.php(94): require_once(‘\path\…’) #4 wp-load.php(37): require_once(‘\path\gree…’) #5 wp-blog-header.php(13): require_once(‘\path\…’) #6 index.php(17): require(‘\path\…’) #7 {main} thrown in wp-content\object-cache.php on line 732

What’s really odd is that they didn’t give me the WP codebase, just the wp-content folders with theme, plugins, uploads.

So the entire wp codebase, wp-config etc are all defaults that I’ve just obtained from the current latest version at WordPress.org.

So if the wp-config is as default, how can some redis like system be coming into play? I’ve never had this issue before and transferred 101 pre-build WP sites between servers.

Can anyone assist ?

What can a dragon use to increase their armour class?

It is hard to survive as dragon – and yet they do. Despite being known for their nasty claws+bite, fear radiance and breath weapon – thus becoming a high priority target for nearly any ranged attack – they survive past eight centuries. How is this done?

Any long-lasting dragon would fathom bounded accuracy and 150’/600′ range of bows. For example, a single-accidental pass of a small yet well-hidden community of wood elves (‘longbow proficiency + high dexterity = +4 to hit’) requires an AC of 25+, lest this wyrm suddenly become a pincushion.

How does a dragon increase their armour class? Possibilities abound: barding (need it be mithril for flight)? A shield (would it stack with their regular AC)?, retro-fitting magic plate armour (can a dragon wear dragon-scale armour? would-could-should they have a chest plate fitted)? What magic items fit ‘gargantuan’? The list goes on / i have no idea where to begin… i just want a better armour class for a Great Wyrm.

I was hoping this would gain some kind of general answer rather than a slew of over-simplistic questions (‘Could a dragon wear boiled leather barding – or must it be supple due to flexibility required for dragon-flight???’ etc.)

Best supporting class for a 3.5 low level campaign?

I’m adapting the FrozenSick campaign from the Explorer’s Guide to Wildermount to version 3.5. It’s going to be the first campaign I play as a DM. The party consists of only 2 players, a warlock and a dragon shaman; the warlock’s player is pretty experienced while the other one is totally new to the game (and to roleplaying in general).

While I don’t want to steal the players’ spotlight, I’m worried that fights could get rough without any other character, so I’m considering adding an NPC who could support them in battle, but I’m having trouble choosing the class.

My addition would primarly be a supporter and/or a utility character (buffer, debuffer, healer…).

As far as manuals are concerned, I’m using PH, PH2 and the Complete Series (all four).

Which class choice could best fit my situation, considering that the characters’ level goes from level 1 to level 3-4 through the campaign?

How do I approach towards an abstract production rule interpreter with this situation of converting XML to python or java class?

If I am asking in the wrong place, please forgive and direct me to a more suitable one

So I have a XML like this

<range>    unconstrained    <span>       <rttype>          String </range>  <range>    x type    <span>       <rttype>          int       <assert>          $   > 0 </range>  <range>    Simple class reference    <span>       <rttype>          SimpleClass </range>  <range>    Simple class set    <span>       <rttype>          ArrayList<SimpleClass> </range>  <class>   Simple class     <attribute>      x         <range>            x type   </attribute>    <attribute>      state   </attribute>    <action>      initializer      <guarantees>         x has been set to zero      </guarantees>      <pimaction>         .@a x @ = 0      </pimaction>   </action>    <action>      update x      <parameter>         new x         x type      <guarantees>         x has been set to new x      </guarantees>      <pimaction>         .@a x @ = @i new x @      </pimaction>   </action>    <state>      Exists   </state>    <state>      Doesn't exist   </state>    <event>      <<new>>   </event>    <event>      <<destroy>>   </event>    <event>      update   </event>    <transition>      Doesn't exist      <<new>>      Exists      <transitionaction>         initializer   </transition>    <transition>      Exists      <<destroy>>      Doesn't exist   </transition>    <transition>      Exists      update      Exists      <transitionaction>         update x   </transition> 

I have a Java compiler (let’s call this ToJavaCompiler) that will compile this into a Java class

And another Java compiler (let’s call this ToPythonCompiler) that will also compile this into a Python class.

class SimpleClass:      # State Enum Declaration     # see MMClass.ruleStateEnumDeclaration for implementation      SimpleClass_states = Enum("SimpleClass_states", "EXISTS DOESNTEXIST")      # Attribute instance variables     # see MMClass.ruleAttributeInstVarList for implementation      _x: int     _state: SimpleClass_states      # Class level attribute     # All class members accessor      SimpleClassSet: ClassVar[List[SimpleClass]] = []       # Constructor     # See MMClass.ruleConstructorOperation      # See constructEvent.ruleConstructorOperation     def __init__(self):         # requires         #    none         # guarantees         #    --> x has been set to zero and state == Exists         self._initializer()         self._state = SimpleClass.SimpleClass_states.EXISTS         SimpleClass.SimpleClassSet.append(self)      # Attribute getters      @property     def x(self) -> int:         # requires         #   none         # guarantees         #   returns the x         return self._x      @property     def state(self) -> SimpleClass_states:         # requires         #   none         # guarantees         #   returns the state         return self._state       # Pushed events      def destroy(self) -> None:         # requires         #    none         # guarantees         #   state was Exists --> state == Doesn't exist         if self._state == SimpleClass.SimpleClass_states.EXISTS:             self._state = SimpleClass.SimpleClass_states.DOESNTEXIST             SimpleClass.SimpleClassSet.remove(self)      def update(self, new_x: int) -> None:         # requires         #    none         # guarantees         #   state was Exists --> x has been set to new x         if self._state == SimpleClass.SimpleClass_states.EXISTS:             self._update_x(new_x)      # Private transition actions      def _initializer(self):         # requires         #   none         # guarantees         #   x has been set to zero         self._x = 0      def _update_x(self, new_x: int):         # requires         #   none         # guarantees         #   x has been set to new x         self._x = new_x 

THe thing is my production rule need access to instance variable data from the model object they are compiling.

For example to generate the instance variables declarations i need a production rule that’s written in Java code like this which require access to the underlying model itself at Context.model()

public void ruleAttributeInstVarList() {     // description     // this rule emits the set of (private) instance variable declarations, if any     //     // Class.#ATTRIBUTE_INST_VAR_LIST -->     // foreach anAttribute in class     // anAttribute.#DEFINE_INST_VAR     //     // requires     // none     // guarantees     // all attributes of this class have been declared as instance variable of the     // PIM Overlay run-time type     if (Context.model().isVerbose()) {         Context.codeOutput().indent();         Context.codeOutput().println("# Attribute instance variables");         Context.codeOutput().println("# see MMClass.ruleAttributeInstVarList for implementation");                  Context.codeOutput().println("");         if (!attributeSet.isEmpty()) {             for (Attribute anAttribute : attributeSet) {                 anAttribute.ruleDefineInstVarAsPrivate();             }         } else {             if (Context.model().isVerbose()) {                 Context.codeOutput().indent();                 Context.codeOutput().println("# none");             }         }         Context.codeOutput().indentLess();     } else {         for (Attribute anAttribute : attributeSet) {             anAttribute.ruleDefineInstVarAsPrivate();         }     }     Context.codeOutput().println("");     Context.codeOutput().println(""); } 

I wonder if there’s an easier way to add target languages or frameworks without creating separate codebases per target language.

For e.g. I now have a ToJavaCompiler and a ToPythonCompiler two separate codebases

So I am here asking if there’s a way I can create an abstract production rule interpreter that suits my needs. My aim is to ultimately produce model classes in the target language or framework (such as Django or Rails) with a single codebase that allows extensions for different target languages/frameworks

I am okay to move away from Java if there’s a better language that suits what I am trying to do.

Does the Sneak Attack class feature of the Generic Classes stack with the improved and greater versions of it?

Generic Classes have the possibility to gain different class features in exchange of a bonus feat:

For the purposes of these classes, the following class features can be selected in place of bonus feats (unless noted, each may only be selected once).

The Sneak Attack class features that can be selected are:

Sneak Attack (Ex)

As the rogue ability, but +2d6 on damage rolls. Prerequisites: Hide 4 ranks, Move Silently 4 ranks.

Improved Sneak Attack (Ex)

Add +3d6 to your sneak attack damage. Prerequisites: Hide 11 ranks, Move Silently 11 ranks, sneak attack.

Greater Sneak Attack (Ex)

Add +4d6 to your sneak attack damage. Prerequisites: Hide 18 ranks, Move Silently 18 ranks, sneak attack, improved sneak attack.

Do these three class features stack together?