Version 1.04 (Improves the firing of the share spell feature) This code will implement the Player Handbook rules (or very close) to the UMD/Spellcraft checks that are done in HoTU. This fixes several weaknesses like a level 25 fighter/level 1 sorc casting a level 9 scroll. Many ways to configure the system. Just look at the code and read the top section. That is the readme for this. Please report any errors you find. Requires HotU and should work with all versions of HotU.
Posted by bighairyandy at 2012-01-27 04:29:39 Voted 10.00 on 01/27/12
10/10. This system is one for which I've been searching for years. I love it!
This can also work as a server-side or single-player override, meaning it doesn't even need built into the module. It can therefore be easily added to a module, edited without having to restart the module, and removed at your leisure. That's how I use it, meaning it works in every module I play. Fantastic work. Thanks!
Posted by Hanzo666 at 2011-08-25 06:41:55 Voted 9.50 on 08/25/11
I don't remember why I said it was not working. But since the time of my first comment I have made this system work (mostly).
There are still some spell that don't apply, such as the elemental damage shields (death, fire and acid). But that is a small loss.
Every other self buff works fine on both your character and his familiar. And it really does make quite a difference, spell-casters are able to solo much easier in my PW.
I give it 9.5 because I think the script itself could be enhanced and give more option to the user (such as enabling/disabling specific spells).
Posted by Hanzo666 at 2010-10-20 20:49:40 Voted 9.50 on 08/25/11
The spellshare does not seem to work anymore. Maybe its only me, because my PW has a lot of custom scripts. But the UMD works 100% So I dont know why the spellshare would not work.
What other scripts does spellshare depend upon (like any includes? or familiar related scripts)
Or any 2da?
Please help, I would love for the spellshare to work entirely!
Posted by TheInquistor at 2008-03-02 15:06:02 Voted 10.00 on 03/02/08
Excellent work!!!!
Just want to let you know that on line 252 there is a small insignificant error when placed in the toolset. There is a bunch of --------------- that wordwraped to the next line.
Posted by scepter2012 at 2007-05-11 17:02:04 Voted 9.75 on 05/11/07
:) thanks
Posted by Sir_Elric at 2004-12-26 15:13:45 Voted 8.50 on 12/26/04
Good addition to my PW, well written and easy to use.
SE _________________________ City of Melnibone
ausnwn.dyndns.org:5121
Posted by Sir_Elric at 2004-12-26 15:10:00 Voted 8.50 on 12/26/04
Hi, firstly great script!
I found one small bug, well I think it's a bug.
With Protection from Alignment which is useable by a variety of classes it always returns sDC =="20" because the SpellID is 138 or 139 (evil & good) and the Get2DAString will always result in " " for all classes.
This ends up meaning a level 19 Paladin for example can't use it even though it's an innate level of 1 scroll.
I added this code to your script to get around it.
//Protection from alignment fix - Sir Elric
if(iSpellId == 138 || iSpellId == 139)
{
sDC = "1";
}
HTH
SECity of Melnibone - PW
ausnwn2.dyndns.org:5121 _________________________ City of Melnibone
ausnwn.dyndns.org:5121
Posted by Anonymous ( 82.43.xxx.xxx ) at 2004-10-16 15:35:00
Hi...
love the script... one request a work around for the default rez and raise scrolls. I will look into doing it myself but your skills are way ahead of mine can you suggest?
Howdy - so how would I use this script to add to the OC or other modules? Just drop the file in somewhere (override?), or does it have to be added via the toolset? If so, can you point me somewhere for instructions on how to do that?
Howdy - so how would I use this script to add to the OC or other modules? Just drop the file in somewhere (override?), or does it have to be added via the toolset? If so, can you point me somewhere for instructions on how to do that?
Posted by jen at 2004-08-02 05:19:31 Voted 9.75 on 08/02/04
Haven't tried this, but a quick heads-up that it looks like you've missed: Shapechange is a level 9 spell, but *Shapechange, Iron Golem* has a no spell level so naive UMD checks will fail. Same for pretty much all the radials. :/
Posted by MorganQuickthrust at 2004-03-11 19:57:56 Voted 9.00 on 03/11/04
What got me giggling was the "I'll just write one myself" comment. It's so very easy to assume things are easy to write, which they really are. It's the debugging that always kills me...-Merentha
Purveyor of Fine Music, Fine Wines and Fine Women!
(hey we all dream!) _________________________ Currently awfg and deep into cyberpunk of AO, but I'll eventually come back to NWN :)
No wait, playin' DDO! But I've got a copy of NWN2 to load up and play ><
*goes to fire off the "smokes a pipe" emote on the DMFI set.* "I guess that is why they put that thing in here."
PreacherMan - What's up? I tried to confirm the report and got nothing - I provided more info from my test than you provided in your bug report. You gave me basically nothing to work with, but I took the time to go try and figure out what went wrong. After I tested I thought maybe you turned it off when you decided it didn't work and forgot. Reality is, until you give me basic information and a reproducable bug, there isn't anything I can do.
If others have a problem - report it here and I will continue to look into them and IF I can figure out what is happening - I will fix it.
Posted by MorganQuickthrust at 2004-03-01 10:45:00 Voted 9.00 on 03/11/04
Wake up on the wrong side of the bed there, PreacherMan? Why come down on Demetrious? He was simply looking for more clues and taking a stab in the dark. It's not like your bug report had any details in it for him to work with. Sheesh. Some people just don't get it... :(
Thanks for all your hard work on this, Demetrious. It's working fine for me. ;)
Just thought you ought to know that Spell Sharing does not work at all now in version 1.04 The Familiars do not even attempt to "cast the spell on themselves" so I have reverted back to the Caster doing the casting like before, better that a handful of spells do not work than none at all. Hope you find a solution soon, have been very impressed with the UMD side of things so far.www.Dalakora.com Link
Right now the share spell exclusions are both POLYMORPH and SHAPECHANGE. That code is at the bottom.
DM possessed NPC will AUTO PASS this check - search for DM possessed and you will find the commented line. You can take that out if you like, but as a DM if I want to use it - I want it to pass (but I can see situations where this might not be the case so feel free to alter the thing to suit your needs).
This is just what I am looking for. I havn't had chance to got home and test it, but could this work with NPCs casting from items etc? (once a few other bits are changed too of course)
And also with the polymorph effects, has anyone checked if shifter abilities affect familiars too? Just a thought.
Good - Players know the details of their char better than me. I don't play much so I miss specifics like this in playtesting with my 20 or so various casting chars. I will look into it.
I'm sorry, I haven't tested the UMD stuff myself. I am coming at this more as a player than a builder (the PW I play on uses the share spell code), and my character is a sorceror, so UMD doesn't really apply. From the feedback in the PW's forum, though, UMD appears to be working pretty well.
I will look specifically at that. If it is a game engine limitation then it might be easiest just to change the caster to the familiar - the share spell code is waaay at the bottom, just above void main. Make sure to turn "cheat" to true so that the familiar can cast the thing.
I will try that tonight and see what I can figure out. Reality is that the ShareSpell code is amazingly simple, but it has run into the most issues with exactly how BW defined beneficial spells and exactly how they are cast.
UMD wise everything appears cool? - Little feedback (other than the votes) and such a widespread system with so many options - I just am trying to check.
Thanks again for reporting the issue - If I can reproduce it - I will try and get the thing fixed.
I saw a comment earlier about Shield, and I'd like to post my experiences with this too. It appears that the spell is cast twice on the caster, rather than once on the caster and once on the familiar, leading to a no-stacking message because the spell won't stack with itself.
Is this because Shield can only be cast on the caster? How about other caster-only spells, like Expeditious retreat (also appears not to share), or True Strike (haven't had a chance to check yet)?
That's cool but I meant that if you supported it (probably better in a different version) then this would meld well with the Prestige Class packs out there that use his scripts to make classes like the Archmage or Heirophant work.
Anyhow just loading this version in and gonna rag it out...I'm running 1.62 Beta so I may be slow to give feedback (as I make sure it's not the script hee hee)-Merentha
Purveyor of Fine Music, Fine Wines and Fine Women!
(hey we all dream!) _________________________ Currently awfg and deep into cyberpunk of AO, but I'll eventually come back to NWN :)
No wait, playin' DDO! But I've got a copy of NWN2 to load up and play ><
Haven't looked at his code for the spell level but I think *crosses fingers* that this should be it. It was simply missing the code for abilities and I was using the Pale Master description on the website rather than testing live in game - there seems to be a slight difference as PM levels will give you higher level spells in game.
I tried to add a bit of code for the polymorph stuff - lol. I did a quick add of two exceptions. I think it should work but didn't test because honestly - couldn't find the shapechange spell. Looked all through druid stuff and my manual and searched but couldn't find the thing. Let me know if this didn't work and I will fix it.