Senior Member
Join Date: Oct 2010
Location: Under a different rock
Posts: 120
|
Hi all,
I'm reaching out because I have no idea how to code, and need to create a magic item for my campaign. The item in question is a magical tome. Let's call it "Necromancy Grimoire". I need it to do the following: 1) Give the wizard who equips it a +2 to DC / attack rolls, and SR rolls when using any spell from the Necromancy school. 2) Require the wizard to memorise at least one necromancy spell for every spell level they possess. 3) Grant them access to the spells on either the Cleric's Death domain spell list OR I can work out a list of suitable Sor/Wiz spells (this is ensure they can satisfy rule #2). Can some one please help me out? I have a custom Editor file which I can supply to the, um... lucky winner? "Cleverly disguised as a responsible adult" |
#1 |
Senior Member
Join Date: Mar 2013
Location: Melbourne, Australia
Posts: 1,125
|
What's in the user file? While I could probably only do part (not all) of what you want, (and I'm not sure that some of what you want is possible except as displayed text) I'm curious about the incentive!
Current RPG's: Pathfinder (GM), Pathfinder (Player), Gamma World (GM, Pathfinder homebrew). HeroLab: 3.5 & Pathfinder. HL User Files for PF: Greyhawk Setting, Gamma World (WIP). DM and player of D&D since 1980. |
#2 |
Senior Member
Join Date: May 2015
Posts: 830
|
Everything short of #2 should be doable (will need to use the community adjustment for CL vs SR for the second part of #1)
|
#3 |
Senior Member
Join Date: Sep 2014
Posts: 105
|
DC is easy run this script at First 10000
Code:
doneif (field[gIsEquip].value = 0) ~ +2 Necromancy school spell DC hero.childfound[ssNecro].field[schDC].value += 2 Granting spells is a bit more difficult, you'll need to push the spell tags onto the class. Below is a script that needs to be run at First 20000. You need replace "cWizard" with the class you're pushing availability to, and "?" with the ID for the Spell, repeat the second line for each spell you wish to add. Code:
doneif (field[gIsEquip].value = 0) perform field[cWizard].chosen.pushtags[ClsAllowSp.?] |
#4 |
Senior Member
Join Date: Oct 2010
Location: Under a different rock
Posts: 120
|
Thank you for the replies:
The item is generic, it's being equipped by a Wizard. I initially hoped that the Domain spells would be easy as they are already "grouped" somewhere and could be then just somehow made available as additional bonus spells in their spellbook. I'm fine to forget about the SR bonus; that's something we can remember as a text input if that's easier. "Cleverly disguised as a responsible adult" Last edited by McTaff; July 25th, 2019 at 10:03 PM. |
#5 |
Senior Member
Join Date: Oct 2010
Location: Under a different rock
Posts: 120
|
I meant my file so they could put the item into it hahaha. My apologies for the miscommunication
"Cleverly disguised as a responsible adult" |
#6 |
Senior Member
Join Date: May 2015
Posts: 830
|
With GenCon next week, there will be a delay getting this written up, but if you could get me a list of spells you want added I can draft something up. Domains are handled by a class archetype and not magic items. That's why they are not compatible.
|
#7 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
The death domain does have a group of tags on it which indicate what spells belong to it. You could use an eval script to pull those tags and transform them into the tag group which expands spell lists with specific spells, and then you could have all those tags pushed to the wizard class. That will probably work so long as you don't have a bunch of other things pushing expand spell list tags.
|
#8 |
|
|