Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - d20 System (http://forums.wolflair.com/forumdisplay.php?f=46)
-   -   spell-like ability by HD (http://forums.wolflair.com/showthread.php?t=49806)

Guiche007 June 27th, 2014 02:48 AM

spell-like ability by HD
 
Hi everyone,

I have created the Silverbrow Human from the Dragon Magic. That race has feather fall spell-like ability. They have one use of it at each 5 level. What i need is some tips of how to upgrade the charge of this ability. i know the script to use but not the variable. I need to know how to check the Hit Dice and how to augment the number of charge of this ability.

Thanks

Sendric June 27th, 2014 04:41 AM

Quote:

Originally Posted by Guiche007 (Post 186334)
Hi everyone,

I have created the Silverbrow Human from the Unearth Arcana. That race has feather fall spell-like ability. They have one use of it at each 5 level. What i need is some tips of how to upgrade the charge of this ability. i know the script to use but not the variable. I need to know how to check the Hit Dice and how to augment the number of charge of this ability.

Thanks

Here's a couple of things to make it easier to find these things on your own. When you enter a number into the Total Charges box, you will see that a new entry is added to the "Fields" button in the upper right. Click on the Fields button, and you will find the field "hTotal" has been added. This is the field that controls how many charges there are.

Over in the portfolio, go to Develop -> Floating Info Windows -> Show Hero Fields. Looking through these fields you will come upon a field called "tHitDice". As you can imagine, this field contains the total number of Hit Dice your character has. To access this field, and any of the others in this dialogue, you would use the following:

Code:

herofield[tHitDice].value
You most likely need to run any script that uses this field post-levels.

Guiche007 June 30th, 2014 07:58 AM

Hi Sendric,

Thanks it's working perfectly. The last thing i'm working on is the Disguise class skill is always considered a class skill. I have checked the class skill in the race but it's not considered has a class skill. Can you give me some tips on that case?

Thanks

Sendric July 2nd, 2014 09:34 AM

Quote:

Originally Posted by Guiche007 (Post 186497)
Hi Sendric,

Thanks it's working perfectly. The last thing i'm working on is the Disguise class skill is always considered a class skill. I have checked the class skill in the race but it's not considered has a class skill. Can you give me some tips on that case?

Thanks

Sorry. Yes. By assigning it as a class skill to the race, that means its a class skill for any racial HD you have, and it isn't transferred to any classes the character takes. A simple solution would probably be to foreach through each class and add the appropriate tag, such as:

Code:

foreach pick in hero from BaseClHelp
 perform eachpick.assign[ClassSkill.kDisguise]
nexteach

Run this at First/1000, and you should be golden. It will create duplicate tags on some classes, but that's probably not an issue.

Guiche007 July 2nd, 2014 03:56 PM

Hi Sendric,

Where I should place that code?

Sendric July 2nd, 2014 04:15 PM

Quote:

Originally Posted by Guiche007 (Post 186674)
Hi Sendric,

Where I should place that code?

On the race would be fine.

Guiche007 July 3rd, 2014 01:03 PM

Hi,

It's work perfectly. Thanks a lot. The Silverbrow Human is completed at 100%.


All times are GMT -8. The time now is 01:34 AM.

Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.