• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Racial Weapon Bonus

cignus7

Member
I am creating a custom class that has claws. They have very sharp claws, so i want to give them a racial bonus of +1 on all claw attacks..

is this possible?
 
See if this works (untested):

~ Add a +1 racial bonus to Claw attacks
#applybonus[Bonus, hero.childfound[wClaw], 1]
 
Sweet thanks bro!

it adds +1 to attack AND damage tho...but i can live with that :) unless you know of a way to just give +1 on all attacks
 
How about this one instead:

~ Add a +1 racial bonus to Claw attacks
hero.childfound[wClaw].field[wAttBonus].value += 1
 
that worked GREAT!

Is there a list of arguments/names anywhere?

One last thing on the racial claws...how do i indicate 2 claw attacks?
 
1) In the editor, click "help" on the menu at the top and you'll get a page of help topics. If you scroll to the bottom, I think the 4 topics listed there will be the most useful ones for you.

2) As far as I know, you can't specify 2 claw attacks :(
 
An easy way to check what's available (example for weapons) is to create a new item, using the copy button - then, look through the list of what's there, and write down wClaw.

The other way was added only a few versions ago - in bootstraps, click the "Choose" button, or in scripts, click the "Find Thing" button - those lead to lists of what's available.
 
cignus7 wrote:
>
>
> Whats the tag for offhand? inthe bootstrap i see wMain as the group tag...


The offhand tag is for double weapons - for example, the double-bladed
sword, and so on. Currently there's no good way to represent 2 claw
attacks - I'll need to get that added to the data files. Representing 2
claws as a double weapon wouldn't work so well, because then you'd be
getting the double weapon penalties for attacking with your off-hand...
 
If you're adding a way to represent 2 claw attacks, you may want to allow it to represent X number of claw attacks... for example, Thri-kreen get 4 claw attacks!
 
huntercc wrote:
>
>
> If you're adding a way to represent 2 claw attacks, you may want to
> allow it to represent X number of claw attacks... for example,
> Thri-kreen get 4 claw attacks!


Yes, this will definitely be handled. :)
 
Back
Top