• 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

Help: Flagbearer and Bard Inspire Courage

Eretas

Well-known member
Hi!
I try to create an adjustment for the Flagbearer (Innersee World Guide) That give a Moral bonus to attack and damage. The PC is a bard with the Inspire courage activatde (competence bonus to attack and domage so they must be cumulatives.

PRD said:
Inspire Courage (Su):
A 1st-level bard can use his performance to inspire courage in his allies (including himself), bolstering them against fear and improving their combat abilities. To be affected, an ally must be able to perceive the bard's performance. An affected ally receives a +1 morale bonus on saving throws against charm and fear effects and a +1 competence bonus on attack and weapon damage rolls.

Flagbearer (Combat)

When brandishing a flag adorned with the standard of an organization you owe allegiance to, you inspire nearby members of the same allegiance.
Prerequisites: Cha 15.
Benefit: As long as you hold your clan, house, or party’s flag, members of that allegiance within 30 feet who can see the flag (including yourself ) gain a +1 morale bonus on attack rolls, weapon damage rolls, and saving throws against fear and charm effects. You must hold the flag in one hand in order to grant this bonus.
If the standard is taken by the enemy or destroyed, this bonus becomes a penalty, affecting all creatures that the bonus previously affected for 1 hour (or until you reclaim the lost flag).

I made the adjustment, but the "to hit" bonus work well, but "the damage" bonus overlaps with the two abitity... How can i program it to be sure it's not the same type of bonus? For the bard with the Feat activated, it's working properly, but how to give te bonus to the team member???


I copy the Bard inspire courage to ceate the second adjustment...
Pre-Atributes(Users) priority 10000 index 2
~ If we're not enabled, get out now
doneif (field[pIsOn].value = 0)

~ Add to our damage bonus
hero.child[Damage].field[tDamBonus].value += field[pAdjust].value

Pre-Atributes(Users) priority 10000 index 1

~ If we're not enabled, get out now
doneif (field[pIsOn].value = 0)

~ Add to our attack bonus
#applybonus[BonComp, hero.child[Attack], field[pAdjust].value]
 

Attachments

  • near standard.jpg
    near standard.jpg
    216.2 KB · Views: 7
Last edited:
I made the adjustment, but the "to hit" bonus work well, but "the damage" bonus overlaps with the two abitity... How can i program it to be sure it's not the same type of bonus? For the bard with the Feat activated, it's working properly, but how to give te bonus to the team member???
The only way to do this is by doing a foreach loop against the Base Weapons and do an applybonus to each weapon individually. The official scripts don't do this as its a bit of an overhead to do this.

But you can do it yourself if you wish.

The code would be like this and this takes care of both the Attack and Damage.
Code:
~ If we're not enabled, get out now
doneif (field[pIsOn].value = 0)

~ loop through all the weapons on the hero
foreach pick in hero from BaseWep
  ~ Give a Comp bonus to hit and damage
  #applybonus[BonComp, eachpick, field[pAdjust].value] 
nexteach
 
First, thanks, I replaces both script by yours and it worked well.
But what in the script mean "morale" bonus versus "competence" bonus?
Inspire courage give a competence bonus and Flagbearer gives a moral bonus?


And how to do the opposite (Flag lost). I only change the minimum and maximum adjustment to -1 but it didn't worked...
 
Last edited:
But what in the script mean "morale" bonus versus "competence" bonus?
#applybonus[BonComp, eachpick, field[pAdjust].value]

The highlighted field BonComp is saying Bonus Competence. So to give a Moral Bonus it would be BonMoral instead. <- I am 99% sure that is the correct field name but not near HL so can't confirm.

And how to do the opposite (Flag lost). I only change the minimum and maximum adjustment to -1 but it didn't worked...
Sorry I am not following what your asking here. :confused:
 
First of all, many thank once again... For the second question...
When they lost the flag, the team got a malus for 1 hour...

If the standard is taken by the enemy or destroyed, this bonus becomes a penalty, affecting all creatures that the bonus previously affected for 1 hour (or until you reclaim the lost flag).


So I put the minimum and maximum adjustment to -1 like in the picture included...


Édit:
BonMoral instead. <- I am 99% sure that is the correct field name
By the way, it's BonMorale...

2nd Edit: Ok, I found it...
~ If we're not enabled, get out now
doneif (field[pIsOn].value = 0)

~ loop through all the weapons on the hero
foreach pick in hero from BaseWep
~ Give a Moral malus to hit and damage
#applypenalty[PenMorale, eachpick, field[pAdjust].value]
nexteach

Thanks again!
 

Attachments

  • Flaglost.jpg
    Flaglost.jpg
    127.2 KB · Views: 5
Last edited:
Is that feature has been implemented in HeroLab? It's an official feature, it should be there no?
 
No, I refer to my original message about the Flagbearer. I have to programed it, but i believe it should be available on the system.
Hi!
I try to create an adjustment for the Flagbearer (Innersee World Guide) That give a Moral bonus to attack and damage. The PC is a bard with the Inspire courage activatde (competence bonus to attack and domage so they must be cumulatives.

Quote:
Originally Posted by PRD
Inspire Courage (Su):
A 1st-level bard can use his performance to inspire courage in his allies (including himself), bolstering them against fear and improving their combat abilities. To be affected, an ally must be able to perceive the bard's performance. An affected ally receives a +1 morale bonus on saving throws against charm and fear effects and a +1 competence bonus on attack and weapon damage rolls.
Quote:
Flagbearer (Combat)

When brandishing a flag adorned with the standard of an organization you owe allegiance to, you inspire nearby members of the same allegiance.
Prerequisites: Cha 15.
Benefit: As long as you hold your clan, house, or party’s flag, members of that allegiance within 30 feet who can see the flag (including yourself ) gain a +1 morale bonus on attack rolls, weapon damage rolls, and saving throws against fear and charm effects. You must hold the flag in one hand in order to grant this bonus.
If the standard is taken by the enemy or destroyed, this bonus becomes a penalty, affecting all creatures that the bonus previously affected for 1 hour (or until you reclaim the lost flag).
 
Or, take a look at the stickied "Spell and Conferred ability adjustments" thread - http://forums.wolflair.com/showthread.php?t=11561

In that, I apologize for the fact that we haven't had the time to add as many adjustments as we'd like, given the number of other things we need to add to the Pathfinder files, and request the help of our community - I ask for donations of adjustments that we can integrate into Hero Lab, which will make them available to everyone.
 
Back
Top