Senior Member
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788
|
I am trying to find the fields (or array) that tracks how many spells a hero can cast per spell level.
ie: 5th level caster - 4 x 1st, 3 x 2nd, 2 x 3rd I'm trying to create an item that grants +1 to the number of 1st level spells a hero can cast. For example a hero who is a 5th level caster would have 5 x 1st, 3 x 2nd, 2 x 3rd with this item. I've found a set of children on hero called: SlotHold1 through SlotHold9 that I thought would do the trick.Each has a field named MaxAllow that I thought could e incremented, but I've had no luck. Here is the code I am using atm: Phase: Post-Level, Priority: 21000 Quote:
Watch your back, Conserve your ammo, and NEVER cut a deal with a dragon! |
|
#1 |
Senior Member
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788
|
Forget it, I found my problem right after posting this. I was looking for tagis[hero.Caster] on the item, not on the hero . .. <bah.
Watch your back, Conserve your ammo, and NEVER cut a deal with a dragon! |
#2 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
|
#3 |
Senior Member
Join Date: Jan 2016
Location: Adelaide, Australia
Posts: 2,294
|
haha - the quickest way to solve any issue that i have found is to post it here and then /facepalm as you stare at the solution.
|
#4 |
Senior Member
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788
|
Tell me about it.
Watch your back, Conserve your ammo, and NEVER cut a deal with a dragon! |
#5 |
Senior Member
Lone Wolf Staff
Join Date: Aug 2012
Posts: 779
|
I've never come across the term 'Rubber duck debugging' before, but I shall treasure it henceforth! Right up there with 'bit bucket.' (No, not the website. Think punch cards.)
|
#6 |
Senior Member
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788
|
<ack> Punch card.
The year is 1981, I just finished a 1200 card program. I'm takign the stairs from the building's cafeteria to the auditorium for a math course . . . Card box slips and spills its contents does the stairs . . . <cry> Watch your back, Conserve your ammo, and NEVER cut a deal with a dragon! |
#7 |
Senior Member
Join Date: Jul 2012
Location: Texas
Posts: 707
|
@ Mergon.... you're dating your self :O) ( I feel your pain by the way... ) only you left out the part where it was raining and the wind just blew the cards across campus... and AFTER your FINALLY gathered, replaced and resorted and debugged your cards your realize after many midnight hours in the computer lab (because no one had a computer then) ONE card was missing or has a crease the width of a hair that makes it a "null error"......
And since it is certain that some wont fully understand the Mergon Dilemma..... Translation for all you Millennials... Mom got tired of the way your room "looked" and shuffled and put all your magic, pokemon, baseball AND those special "foil cards" that are "collectors" into one box to get them "organized"... And somewhere within that single box, is that "epic deck" you built for the tournament TONIGHT. D&D> Pre 1e White Box Edition, 1e, 2e, 3.5 Currently, Set in the World of Greyhawk (The first, longest running and Best Campaign Setting) Software>Extensive use of all forms of MS Products, Visual Studio 2012, DAZ 3d, AutoCAD, Adobe Products. Gaming Specific>Campaign Cartographer, D20 Pro Alpha & BattleGrounds Beta Tester, World Builder, Dungeon Crafter, LWD Hero Lab, Realm Works, Inkwell Ideas Citybuilder & Dungeon Builder, Auto-Realm, Dundjinni Contributing Writer for TSR, WOC, & Canonfire |
#8 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2011
Location: Nowhere, Virginia
Posts: 3,633
|
Punch cards, you guys shouldn't carbon date yourselves online. I was perfectly fine listening to my professors discuss punch cards as a thing of the past while using Mathematica to run 2 lines of code of solve complex iterative method problems. My university still has punch card machines in a museum like display on the first floor of the computational sciences building though. Boo Fortran, Boo I say!
RavenX Pronouns: She/Her Please do not PM me to inquire about datafiles I coded "for personal use" such as Exalted, World of Darkness, AD&D, or Warhammer 40K Roleplaying. I appreciate your interest, but I do not own the Intellectual Property rights to these game systems. Nor do I have permission from any of the Publishers to distribute the data files. As such, I cannot distribute the work I have done with community on these files. They are "for personal use" only. Thank you. I am far too busy these days to answer emails. If you message me here there is no guarantee I will get back to you at all. |
#9 |
Senior Member
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788
|
PL/C ftw
Watch your back, Conserve your ammo, and NEVER cut a deal with a dragon! |
#10 |
Thread Tools | |
Display Modes | |
|
|