12 lines
2.3 KiB
Plaintext
12 lines
2.3 KiB
Plaintext
int StartingConditional()
|
|
{
|
|
int iResult;
|
|
|
|
iResult = (GetClassByPosition(1, OBJECT_SELF) == CLASS_TYPE_WEAPON_MASTER || GetClassByPosition(2, OBJECT_SELF) == CLASS_TYPE_WEAPON_MASTER || GetClassByPosition(3, OBJECT_SELF) == CLASS_TYPE_WEAPON_MASTER || GetClassByPosition(3, OBJECT_SELF) == CLASS_TYPE_INVALID) && (GetHasFeat(FEAT_WEAPON_FOCUS_BASTARD_SWORD, OBJECT_SELF) || GetHasFeat(FEAT_WEAPON_FOCUS_BATTLE_AXE, OBJECT_SELF) || GetHasFeat(FEAT_WEAPON_FOCUS_CLUB, OBJECT_SELF)
|
|
|| GetHasFeat(FEAT_WEAPON_FOCUS_DAGGER, OBJECT_SELF) || GetHasFeat(FEAT_WEAPON_FOCUS_DIRE_MACE, OBJECT_SELF) || GetHasFeat(FEAT_WEAPON_FOCUS_DOUBLE_AXE, OBJECT_SELF) || GetHasFeat(FEAT_WEAPON_FOCUS_DWAXE, OBJECT_SELF) || GetHasFeat(FEAT_WEAPON_FOCUS_GREAT_AXE, OBJECT_SELF) || GetHasFeat(FEAT_WEAPON_FOCUS_GREAT_SWORD, OBJECT_SELF) || GetHasFeat(FEAT_WEAPON_FOCUS_HALBERD, OBJECT_SELF) || GetHasFeat(FEAT_WEAPON_FOCUS_HAND_AXE, OBJECT_SELF)
|
|
|| GetHasFeat(FEAT_WEAPON_FOCUS_HEAVY_FLAIL, OBJECT_SELF) || GetHasFeat(FEAT_WEAPON_FOCUS_KAMA, OBJECT_SELF) || GetHasFeat(FEAT_WEAPON_FOCUS_KATANA, OBJECT_SELF) || GetHasFeat(FEAT_WEAPON_FOCUS_KUKRI, OBJECT_SELF) || GetHasFeat(FEAT_WEAPON_FOCUS_LIGHT_FLAIL, OBJECT_SELF) || GetHasFeat(FEAT_WEAPON_FOCUS_LIGHT_HAMMER, OBJECT_SELF) || GetHasFeat(FEAT_WEAPON_FOCUS_LIGHT_MACE, OBJECT_SELF) || GetHasFeat(FEAT_WEAPON_FOCUS_LONG_SWORD, OBJECT_SELF)
|
|
|| GetHasFeat(FEAT_WEAPON_FOCUS_MORNING_STAR, OBJECT_SELF) || GetHasFeat(FEAT_WEAPON_FOCUS_RAPIER, OBJECT_SELF) || GetHasFeat(FEAT_WEAPON_FOCUS_SCIMITAR, OBJECT_SELF) || GetHasFeat(FEAT_WEAPON_FOCUS_SCYTHE, OBJECT_SELF) || GetHasFeat(FEAT_WEAPON_FOCUS_SHORT_SWORD, OBJECT_SELF) || GetHasFeat(FEAT_WEAPON_FOCUS_SICKLE, OBJECT_SELF) || GetHasFeat(FEAT_WEAPON_FOCUS_SPEAR, OBJECT_SELF) || GetHasFeat(FEAT_WEAPON_FOCUS_STAFF, OBJECT_SELF)
|
|
|| GetHasFeat(FEAT_WEAPON_FOCUS_TWO_BLADED_SWORD, OBJECT_SELF) || GetHasFeat(FEAT_WEAPON_FOCUS_WAR_HAMMER, OBJECT_SELF)) && (GetHasFeat(FEAT_DODGE, OBJECT_SELF)) && (GetHasFeat(FEAT_MOBILITY, OBJECT_SELF)) && (GetHasFeat(FEAT_EXPERTISE, OBJECT_SELF)) && (GetHasFeat(FEAT_SPRING_ATTACK, OBJECT_SELF)) && (GetHasFeat(FEAT_WHIRLWIND_ATTACK, OBJECT_SELF)) && (GetSkillRank(SKILL_INTIMIDATE, OBJECT_SELF) >= 4) && (GetLevelByClass(CLASS_TYPE_WEAPON_MASTER, OBJECT_SELF) != 40);
|
|
return iResult;
|
|
}
|