This is a set of scripts and items that basically makes a dagger 'level up' when wielded by a wizard. The blade doesn't do much for non-wizards, but gets very powerful as the wizard gains levels (granting feats, extra spell slots, extra damage, gaining spellcasting powers...). It reverts to the base item when unequipped. The dagger does not level up while wielded - it does it at the time it is equipped. The base dagger can be wielded by anybody, it just doesn't level up for non-wizards. The erf includes the base dagger (two versions, one normal and one already identified), 9 leveled up versions of the dagger (1st, 5th, 10th, 15th, 20th, 25th, 30th, 35th, and 40th), and all the scripts I used.
This item and scripts was created as an experiment that actually worked. It could probably be done with different scripting and variables and such, but this method seemed to be the simplest to understand (I'm a beginning scripter) and implement.
[Edit:] I've reworked this item so that it makes use of tag based item scripting. A new .erf has been uploaded (as of May 3rd, 2005) to the Vault that does not contain the old equip_scriptrun and uequip_scriptrun scripts.
"Black Wax, says change your mind and say they do and he will give you a hearing, while MEAT HOUSE SLIM, laying in the bin killing all good men." - L. A. Vaugh
Posted by daveyeisley at 2009-11-27 23:12:20 Voted 10.00 on 11/27/09
I loved this item when my Wizard found it in Aenea. Sadly, it has since been changed drastically in the PW, and now lacks most of the properties I prized from this version. This version still gets a big thumbs up :)
Posted by olcottr at 2009-11-19 02:19:52 Voted 10.00 on 11/19/09
Marvelous. Bonus points for the tag-based scripting.
Posted by RustyDios at 2009-06-04 04:37:46 Voted 10.00 on 06/04/09
After some time(a day), the PW resting scripts have been altered to allow this weapon to remain in hand through rest...
It was actually unfair of me to drop a Vault vote based on the actions occuring in the PW.
The content (this dagger) is top notch work from AD, and has the same flare and polish as everything else he has created...
Vote adjusted to what it should be..
Keep up the good work AD !
Posted by RustyDios at 2009-06-03 16:31:21 Voted 10.00 on 06/04/09
Wow!! Aenea content I've not yet voted on!! Just came across one of these in the PW with my wiz.. and it works great... It does what it says and "levels up" to match the power of the wiz ...
The .5 drop in the vote?... that's only because in the PW weapons are unequiped on rest, thus making the "extra slot" properties useless for wizards.. if that gets changed, I'll attempt to remember to come and adjust my vote...
"Black Wax, says change your mind and say they do and he will give you a hearing, while MEAT HOUSE SLIM, laying in the bin killing all good men." - L. A. Vaugh
It could be modified to work with different haks. I've only glanced into the PRC workings, but you'd probably just have to get the CLASS_TYPE_* of each new wizard class, get the levels of each, add them up, then alter the if statements in the main script (familiardg00).
Here's some code changes that you could make to familiardg00. Just copy the new code over top of the old, being sure to update the beginnings of each "else if" part of the code from "GetLevelByClass(CLASS_TYPE_WIZARD, oPC)" to "WizardLevels" and including the new class type constants (these can be found in classes.2da of the PRC hak).
--------------------------------------------------------------------
if (!GetIsPC(oPC)) return;
int Wiz1;
int Wiz2;
int Wiz3;
Wiz1 = GetLevelByClass(CLASS_TYPE_WIZARD, oPC);
// Wiz2 = GetLevelByClass(CLASS_TYPE_WIZARD, oPC); // Change CLASS_TYPE_* to that of desired new wizard classes and remove comment marks
// Wiz3 = GetLevelByClass(CLASS_TYPE_WIZARD, oPC); // Change CLASS_TYPE_* to that of desired new wizard classes and remove comment marks
int WizardLevels = Wiz1 + Wiz2 + Wiz3;
if (GetTag(GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, oPC)) == "familiardg00")
{
if (WizardLevels > 39)
{
--------------------------------------------------------------------
-The Amethyst Dragon _________________________ World of Aenea (Hall of Fame PW and the origin of all my works)
Vault Entries: The Complete List (50+ entries, including 17 Hall of Fame awards)
Self-Promotional Honesty: If you have opinions on stuff I've made, or if you use any of it (as a player or builder), I like comments/votes/feedback...so do other content makers and builders. Keep us motivated. :)
Posted by Vincent Delacroix ( 69.211.xxx.xxx ) at 2005-04-21 20:12:00
Amethyst Dragon, would this work with such haks as PRC where you could have 3 class types of wizard and if not could it be modified to such haks.
Posted by DuncanZahn at 2005-02-12 07:34:00 Voted 8.00 on 02/06/05
Great idea and good work! And don't knock your approach; you've got a good method, there. Yes, it could be done via item properties scripting, but some properties are either a pain in the unmentionables to deal with, or can't be done at all.
Posted by DuncanZahn at 2005-02-06 14:51:03 Voted 8.00 on 02/06/05
You must be Logged In to post comments in this section.