@vibemancer/core 1.0.8 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/types.ts CHANGED
@@ -151,9 +151,15 @@ export interface WizardActions
151
151
  cancel?: boolean;
152
152
 
153
153
  /**
154
- * Update aim direction while casting a missile (degrees).
155
- * The missile fires in this direction at launch, allowing tracking during cast.
156
- * Only applies while state === 'casting' and castingSpell === 'missile'.
154
+ * Set the wizard's facing this tick (degrees). Set it with `aim()`.
155
+ *
156
+ * A missile launches with whatever rotation the wizard has when the cast COMPLETES, so
157
+ * applying this on every tick of a cast is how you aim a shot at a moving target —
158
+ * recomputing the lead each tick, rather than freezing it at cast start.
159
+ *
160
+ * Applies whenever it is set, not only while casting: the previous version of this
161
+ * comment claimed "Only applies while state === 'casting' and castingSpell === 'missile'"
162
+ * and the engine has never checked either condition.
157
163
  */
158
164
  aimDirection?: number;
159
165