Ok now i can try to rewrite and test it
// PB: Queen Anne's Revenge -->
case "BI_QARSword":
BI_retComValue = 0;
break;
case "BI_QARSword":
BI_retComValue = 0;
"BI_KrakenAttack":
BI_retComValue = BI_COMMODE_ENEMY_SHIP_SELECT + BI_COMMODE_ALLLOCATOR_SELECT;
BattleInterface.Commands.KrakenAttack.EffectRadius = 1.5*MIN_ENEMY_DISTANCE_TO_DISABLE_MAP_ENTER;
break;
// PB: Queen Anne's Revenge <--
// PB: Queen Anne's Revenge -->
case "BI_QARSword":
if(IsPerkIntoList("QARSword"))
{
pchar.Ship.Impulse.Rotate.z = 0.0;
DelPerkFromActiveList("QARSword");
PChar.ship.speedburst = "QARSword";
PostEvent("SpeedBurstFinished",120000, "i", pchar);
}
else
{
AddPerkToActiveList("QARSword");
PChar.Ship.Impulse.Rotate.z = 0.16; // = 8 knots max
}
break;
case "BI_QARSword":
BI_retComValue = BI_COMMODE_ENEMY_SHIP_SELECT + BI_COMMODE_ALLLOCATOR_SELECT;
BattleInterface.Commands.KrakenAttack.EffectRadius = 1.5*MIN_ENEMY_DISTANCE_TO_DISABLE_MAP_ENTER;
break;
case "BI_QARSword":
float fDamageMultiply = 0.5;
ref rShip = GetShipByType(GetCharacterShipType(&Characters[targetNum]));
float fBaseSailHP = stf(rShip.SP);
MakeSailDmg(targetNum, fDamageMultiply * (fBaseSailHP / 100.0) * 0.05);
break;
I don't understand were...please be patient with me
// PB: Queen Anne's Revenge -->
case "BI_QARSword":
BI_retComValue = 0;
break;
case "BI_QARSword":
BI_retComValue = 0;
"BI_KrakenAttack":
BI_retComValue = BI_COMMODE_ENEMY_SHIP_SELECT + BI_COMMODE_ALLLOCATOR_SELECT;
BattleInterface.Commands.KrakenAttack.EffectRadius = 1.5*MIN_ENEMY_DISTANCE_TO_DISABLE_MAP_ENTER;
break;
// PB: Queen Anne's Revenge <--
// PB: Queen Anne's Revenge -->
case "BI_QARSword":
if(IsPerkIntoList("QARSword"))
{
pchar.Ship.Impulse.Rotate.z = 0.0;
DelPerkFromActiveList("QARSword");
PChar.ship.speedburst = "QARSword";
PostEvent("SpeedBurstFinished",120000, "i", pchar);
}
else
{
AddPerkToActiveList("QARSword");
PChar.Ship.Impulse.Rotate.z = 0.16; // = 8 knots max
}
break;
case "BI_QARSword":
BI_retComValue = BI_COMMODE_ENEMY_SHIP_SELECT + BI_COMMODE_ALLLOCATOR_SELECT;
BattleInterface.Commands.KrakenAttack.EffectRadius = 1.5*MIN_ENEMY_DISTANCE_TO_DISABLE_MAP_ENTER;
break;
case "BI_QARSword":
float fDamageMultiply = 0.5;
ref rShip = GetShipByType(GetCharacterShipType(&Characters[targetNum]));
float fBaseSailHP = stf(rShip.SP);
MakeSailDmg(targetNum, fDamageMultiply * (fBaseSailHP / 100.0) * 0.05);
break;
I don't understand were...please be patient with me
Last edited: