Any Questions you might have.
Moderators: Dungeon Masters, Hala DM
-
Thor
- Team Member; Retired with honors
- Posts: 982
- Joined: Fri Sep 28, 2007 12:00 am
Post
by Thor » Mon Dec 03, 2007 7:56 pm
What about the line after of:
Code: Select all
case CLASS_TYPE_CLERIC:
case CLASS_TYPE_DRUID:
case CLASS_TYPE_SORCERER:
if (iLevel >= 9)
iReturn = 1;
break;
Which should take in cleric, druid, or sorc of level 9 and above?
-
BrunoKnotslinger
- Team Member; Retired with honors
- Posts: 649
- Joined: Wed Nov 29, 2006 12:00 am
Post
by BrunoKnotslinger » Mon Dec 03, 2007 8:10 pm
If NWScript uses fall-through, then that snippet would indeed suggest that a level 9 cleric should be able to recharge. I've never actually tested whether it uses fall-through, though; although the presence of a break statement in the language suggests that it does (otherwise, what's the point of having it?).
-
Alphonse
- Team Member; Retired with honors
- Posts: 2475
- Joined: Fri Aug 19, 2005 12:00 am
- Location: the DM client (GMT)
Post
by Alphonse » Mon Dec 03, 2007 8:10 pm
Thor wrote:What about the line after of:
Code: Select all
case CLASS_TYPE_CLERIC:
case CLASS_TYPE_DRUID:
case CLASS_TYPE_SORCERER:
if (iLevel >= 9)
iReturn = 1;
break;
Which should take in cleric, druid, or sorc of level 9 and above?
I'm not sure how NWNScriping works but to me that reads as only Sorcerors should be able to recharge stuff
*creater / destroyer of worlds*
-
BrunoKnotslinger
- Team Member; Retired with honors
- Posts: 649
- Joined: Wed Nov 29, 2006 12:00 am
Post
by BrunoKnotslinger » Mon Dec 03, 2007 8:32 pm
Actually, Terry, you need to look at the GetCanEnchant function in inc_aes. Only Wizards and Sorcerers can use that table.
-
terryrayc
- lord of all I prevail

- Posts: 4646
- Joined: Wed Jun 22, 2005 12:00 am
- Location: Florida
-
Contact:
Post
by terryrayc » Mon Dec 03, 2007 9:43 pm
right that other script was from the enchanting system, which I thought was what the recharge was using....man too many scripts...ya I'll take a look at that...unless Bruno has it near by and wants to make some changes.
Though thinking about it...in pnp can clerics rechage items? I'm guessing they can recharge cleric items, but not mage items and mages cannot change cleric items?
-
BrunoKnotslinger
- Team Member; Retired with honors
- Posts: 649
- Joined: Wed Nov 29, 2006 12:00 am
Post
by BrunoKnotslinger » Mon Dec 03, 2007 9:56 pm
terryrayc wrote:right that other script was from the enchanting system, which I thought was what the recharge was using....man too many scripts...ya I'll take a look at that...unless Bruno has it near by and wants to make some changes.
Though thinking about it...in pnp can clerics rechage items? I'm guessing they can recharge cleric items, but not mage items and mages cannot change cleric items?
I don't recall any "official" recharging rules in the PnP resources.
-
terryrayc
- lord of all I prevail

- Posts: 4646
- Joined: Wed Jun 22, 2005 12:00 am
- Location: Florida
-
Contact:
Post
by terryrayc » Tue Dec 04, 2007 12:14 am
okay there are 2 types of enchanting tables. One allows mages the other clerics.
Or I should say
ARCANE
Allows Wizard/Sorcerer
DIVINE
Allows Cleric/Druid
I'm going to update the code for the ARCANE to allow bards. I'll also create a DIVINE table somewhere.
-
Akai
- Hala DM

- Posts: 662
- Joined: Thu Aug 02, 2007 12:00 am
Post
by Akai » Tue Dec 04, 2007 12:51 am
Yay thanks!

-
Dusk_Strider
- Wise One

- Posts: 467
- Joined: Wed Dec 13, 2006 12:00 am
- Location: The Old Hamlet (Evidently GMT-4)
Post
by Dusk_Strider » Tue Dec 04, 2007 1:06 am
Oh yeah! Thanks Terry!

Lomir Nolimon
Guardsman / Virtuoso of Nuvar; High Champion of Olyrn; Demon Hunter
"Heroism is only a word until you start to live it" - Lomir Nolimon
Jack Olivander (Pirate)
-
corwink
- Team Member; Retired with honors
- Posts: 1783
- Joined: Tue Dec 12, 2006 12:00 am
Post
by corwink » Tue Dec 04, 2007 3:56 am
Oh sweet, you da man terry

Gone