2025-04-15 Update
Added Elven blades to Weaponmaster prereqs Fixed Beckon the Frozen Fixed bug with Fire Brand Fixed duration bug with Improved Invisibility Added Soul Eater to Shifter prereqs Fixed ability based class prereqs in prc_prereq.nss Update Eye of Gruumsh for epic levels Update Ur-Priest for epic levels Update Forsaker for epic levels Update Anima Mage for epic levels Update Serene Guardian for epic levels Bladesinger abilities can use chain shirts Fixed Elemental Abjuration Fixed bug with prc cache creature. Forsakers can use non-magic items (heal kits, alchemy, etc) Updated ruleset.2da for NWNEE update Updated AotS bonus feats -Notes Added 3.5e Template index Added 3.5e update booklet Removed release archive
This commit is contained in:
@@ -32,11 +32,38 @@ void RemoveSpellEffectSong(object oPC)
|
||||
}
|
||||
|
||||
void OnEquip(object oPC,object oSkin)
|
||||
{
|
||||
object oChest = GetItemInSlot(INVENTORY_SLOT_CHEST, oPC);
|
||||
int nBaseAC = GetBaseAC(oChest);
|
||||
int nWeight = GetWeight(oChest);
|
||||
|
||||
//:: 1 longsword/rapier & light armour
|
||||
if (!GetIsBladesongWeapon(GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, oPC))
|
||||
|| GetIsObjectValid(GetItemInSlot(INVENTORY_SLOT_LEFTHAND, oPC))
|
||||
|| (nBaseAC > 3 && !(nBaseAC == 4 && nWeight < 160)))
|
||||
{
|
||||
if (GetHasFeatEffect(FEAT_SONG_OF_FURY, oPC))
|
||||
RemoveSpellEffectSong(oPC);
|
||||
|
||||
SetCompositeBonus(oSkin, "BladesAC", 0, ITEM_PROPERTY_AC_BONUS);
|
||||
SetCompositeBonus(oSkin, "BladesCon", 0, ITEM_PROPERTY_SKILL_BONUS, SKILL_CONCENTRATION);
|
||||
return;
|
||||
}
|
||||
//:: Bonus Lvl BladeSinger Max Bonus Int
|
||||
int BladeLv = PRCMin(GetLevelByClass(CLASS_TYPE_BLADESINGER, oPC), GetAbilityModifier(ABILITY_INTELLIGENCE, oPC));
|
||||
SetCompositeBonus(oSkin, "BladesAC", BladeLv, ITEM_PROPERTY_AC_BONUS);
|
||||
|
||||
if (GetHasFeat(FEAT_LESSER_SPELLSONG, oPC))
|
||||
SetCompositeBonus(oSkin, "BladesCon", 5, ITEM_PROPERTY_SKILL_BONUS, SKILL_CONCENTRATION);
|
||||
}
|
||||
|
||||
/* void OnEquip(object oPC,object oSkin)
|
||||
{
|
||||
// 1 longsword/rapier & light armour
|
||||
if(!GetIsBladesongWeapon(GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, oPC))
|
||||
|| GetIsObjectValid(GetItemInSlot(INVENTORY_SLOT_LEFTHAND, oPC))
|
||||
|| GetBaseAC(GetItemInSlot(INVENTORY_SLOT_CHEST, oPC)) > 3)
|
||||
//:: Handles Mithral Chain Shirt
|
||||
|| GetBaseAC(GetItemInSlot(INVENTORY_SLOT_CHEST, oPC)) > 3 || GetBaseAC(GetItemInSlot(INVENTORY_SLOT_CHEST, oPC)) == 4 && GetWeight(GetItemInSlot(INVENTORY_SLOT_CHEST)) < 160)
|
||||
{
|
||||
if(GetHasFeatEffect(FEAT_SONG_OF_FURY, oPC))
|
||||
RemoveSpellEffectSong(oPC);
|
||||
@@ -54,7 +81,7 @@ void OnEquip(object oPC,object oSkin)
|
||||
|
||||
if(GetHasFeat(FEAT_LESSER_SPELLSONG,oPC))
|
||||
SetCompositeBonus(oSkin, "BladesCon", 5, ITEM_PROPERTY_SKILL_BONUS, SKILL_CONCENTRATION);
|
||||
}
|
||||
} */
|
||||
|
||||
void OnUnEquip(object oPC,object oSkin)
|
||||
{
|
||||
|
Reference in New Issue
Block a user