Junior Member
Join Date: Jan 2008
Posts: 15
|
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? |
#1 |
Senior Member
Join Date: Jul 2007
Location: Syracuse, NY (USA)
Posts: 213
|
See if this works (untested):
~ Add a +1 racial bonus to Claw attacks #applybonus[Bonus, hero.childfound[wClaw], 1] |
#2 |
Junior Member
Join Date: Jan 2008
Posts: 15
|
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 |
#3 |
Senior Member
Join Date: Jul 2007
Location: Syracuse, NY (USA)
Posts: 213
|
How about this one instead:
~ Add a +1 racial bonus to Claw attacks hero.childfound[wClaw].field[wAttBonus].value += 1 |
#4 |
Junior Member
Join Date: Jan 2008
Posts: 15
|
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? |
#5 |
Senior Member
Join Date: Jul 2007
Location: Syracuse, NY (USA)
Posts: 213
|
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 |
#6 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
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. |
#7 |
Junior Member
Join Date: Jan 2008
Posts: 15
|
Whats the tag for offhand? inthe bootstrap i see wMain as the group tag...
|
#8 |
Senior Member
Lone Wolf Staff
Join Date: Dec 2008
Posts: 4,690
|
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... |
#9 |
Senior Member
Join Date: Jul 2007
Location: Syracuse, NY (USA)
Posts: 213
|
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!
|
#10 |
|
|