Thanks a lot, mate! Included in my game version now.
Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!
Quick links for Beyond New Horizons
- Download latest version
- Wiki
- FAQ
- Report bugs here
- Bug Tracker on Github
Quick links for Maelstrom
- Download the latest version of Maelstrom
- Download the latest version of ERAS II
- Download the latest version of New Horizons on Maelstrom
Quick links for PotC: New Horizons
- Download latest version
- Wiki
- FAQ
- Report bugs here
Thanks to YOUR votes, GOG.com now sells:
- Sea Dogs
- Sea Dogs: Caribbean Tales
- Sea Dogs: City of Abandoned Ships
Vote now to add Pirates of the Caribbean to the list!
Quick links for AoP2: Gentlemen of Fortune 2
- Downloads and info
- ModDB Profile
- Forums Archive
A Pirate Podcast with Interviews
Music, Comedy and all things Pirate!
- Episode Guide - About - Subscribe -
- Twitter - Facebook - iTunes - Android -
- Youtube - Fill the Coffers -
Here they are:i'd like to see the name of quick repair changed to emergency repairs myself. it's too easy to confuse it with light repairs at the moment. or at least i want the one that fixes only 10% changed to emergency repairs. i might be confusing them again.
LightRepair {Light Repairs}
perkLightRepair
{
Using this ability, the character's crew can slowly repair the ship up to 10% of max HP. This ability doesn't require any resources.
}
InstantRepair {Quick Repairs}
perkInstantRepair
{
Using this ability, the character's crew can instantly repair the ship when not locked in a battle. It requires resources - planks and sailcloth. This ability doesn't repair fallen masts or crew. Maximum repair is up to 90% of max HP.
}
if(!LAi_IsDead(enemy)) //checks if char now dead or not
{
// if(rand(100) < punch + sti(attack.skill.Sneak) && sti(enemy.index) != GetMainCharacterIndex()) // PB: Orig code
if(rand(50) < damage && sti(enemy.index) != GetMainCharacterIndex()) // Baste
// Checks if punch knocks enemy out; character's rank increases chance
{ //MAXIMUS: during fight, character can join to his crew. Sometimes it may be helpful -->
bPlayer = false;
if(CheckAttribute(enemy, "chr_ai.group") && enemy.chr_ai.group==LAI_GROUP_PLAYER)
{
if(sti(GetCharacterSkill(mainCh,SKILL_LEADERSHIP)) > sti(GetCharacterSkill(enemy,SKILL_LEADERSHIP))) bPlayer = true; // Baste
}
else
{
if(sti(GetCharacterSkill(mainCh,SKILL_LEADERSHIP)) < sti(GetCharacterSkill(enemy,SKILL_LEADERSHIP))) bPlayer = true; // Baste
}
LAi_Stunned_StunCharacter(enemy, 100, true, STUN_STARS, bPlayer);
//MAXIMUS: during fight, character can join to his crew. Sometimes it may be helpful <--
SetHostile = false;
}
}
// Baste -->
float damage = rand(rank)*0.5;
float kDmg = 1.0;
if(IsCharacterPerkOn(enemy, "BasicDefense")) kDmg = 0.9;
if(IsCharacterPerkOn(enemy, "AdvancedDefense")) kDmg = 0.8;
if(IsCharacterPerkOn(enemy, "SwordplayProfessional")) kDmg = 0.7;
damage = damage*kDmg;
if(makeint(damage) <= 0) damage = 1;
float critical = 0.0;
if(rand(100) <= 5) critical = damage*2.0;
bool noExp = false;