The Black Wyrm Lair Forums
The Black Wyrm's Lair Terms of Use Help Search Members Calendar

Welcome Guest ( Log In | Register )

> SpellNoDec!, Tests contradict iesdp documentation
Sikret
post Jun 20 2006, 11:38 AM
Post #1


The Tactician
Group Icon

Distinguished Developer
Posts: 7794
Joined: 1-December 05




In the "bg2actions" document of iesdp (at least in the version I have), it is said:

QUOTE

SpellNoDec(O:Target*,I:Spell*Spell)
If I were to lengthen the name of this action, it would be called SpellNoDecrease. In short, it works the same way as Spell does--it will only cast a spell if it's in memory...

I checked it and noticed that the spells are cast even if they are not memorized or even known by the spellcasters. Not that it is a bad thing. On the contrary, It's much better in this way, because unlike "ForceSpell", "SpellNoDec" respects the usual delay needed for the aura being cleansed (between successive spells) and again unlike "Forcespell" the spells cast by "SpellNoDec" are interruptable (both of which are great and useful features).

However, I wonder if the iesdp document is incorrect or rather I have missed some essential point in my tests. As I tested it, SpellNoDec doesn't seem to require that the spell is memorized or even known. I wrote a simple script (for testing purposes) as follows:
CODE

IF
 Detect([PC])
THEN
 RESPONSE #100
   SpellNoDec(Myself,WIZARD_MINOR_GLOBE_OF_INVULNERABILITY)
END

And the mage began to cast the spell infinitely once he saw the PC, despite the fact that he neither had the spell memorized nor even known in his spellbook.

Any idea?

This post has been edited by Sikret: Jun 20 2006, 11:40 AM


--------------------
Improved Anvil




Cheating is not confined to using external software or the console commands. Abusing the flaws and limitations of the game engine to do something that a human Dungeon Master would not accept or allow is cheating.
Go to the top of the page
 
Quote Post
 
Start new topic
Replies
devSin
post Jun 20 2006, 03:50 PM
Post #2





Forum Member
Posts: 53
Joined: 22-March 05




I noted this here. igi just hasn't updated the IESDP yet.

SpellNoDec() in BG2 does not require the spell to be known nor memorized, and is interruptible and respects the spell range (if the target is outside the range, the caster will move until it is within range).
Go to the top of the page
 
Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:



- Lo-Fi Version Time is now: 29th August 2025 - 06:25 PM