Rune_PRC8/_module/nss/vtw_haswarriorlv.nss
Jaysyn904 d1c309ae63 Initial commit
Initial commit
2024-09-13 09:10:39 -04:00

79 lines
3.5 KiB
Plaintext

#include "prc_class_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
int iAllWarrior = GetLevelByClass(CLASS_TYPE_FIGHTER, oPC)
+ GetLevelByClass(CLASS_TYPE_CW_SAMURAI, oPC)
+ GetLevelByClass(CLASS_TYPE_KNIGHT, oPC)
+ GetLevelByClass(CLASS_TYPE_MARSHAL, oPC)
+ GetLevelByClass(CLASS_TYPE_SAMURAI, oPC)
+ GetLevelByClass(CLASS_TYPE_SOULKNIFE, oPC)
+ GetLevelByClass(CLASS_TYPE_SOULBORN, oPC)
+ GetLevelByClass(CLASS_TYPE_SCOUT, oPC)
+ GetLevelByClass(CLASS_TYPE_INCARNATE, oPC)
+ GetLevelByClass(CLASS_TYPE_HEXBLADE, oPC)
+ GetLevelByClass(CLASS_TYPE_DUSKBLADE, oPC)
+ GetLevelByClass(CLASS_TYPE_PSYWAR, oPC)
+ GetLevelByClass(CLASS_TYPE_SWASHBUCKLER, oPC)
+ GetLevelByClass(CLASS_TYPE_BLACKGUARD, oPC)
+ GetLevelByClass(CLASS_TYPE_WARBLADE, oPC)
+ GetLevelByClass(CLASS_TYPE_MONK, oPC)
+ GetLevelByClass(CLASS_TYPE_BARBARIAN, oPC)
+ GetLevelByClass(CLASS_TYPE_PALADIN, oPC)
+ GetLevelByClass(CLASS_TYPE_RANGER, oPC)
+ GetLevelByClass(CLASS_TYPE_CRUSADER, oPC)
+ GetLevelByClass(CLASS_TYPE_SWORDSAGE, oPC)
+ GetLevelByClass(CLASS_TYPE_ARCANE_ARCHER, oPC)
+ GetLevelByClass(CLASS_TYPE_BATTLERAGER, oPC)
+ GetLevelByClass(CLASS_TYPE_BATTLESMITH, oPC)
+ GetLevelByClass(CLASS_TYPE_COC, oPC)
+ GetLevelByClass(CLASS_TYPE_DISPATER, oPC)
+ GetLevelByClass(CLASS_TYPE_DIVINECHAMPION, oPC)
+ GetLevelByClass(CLASS_TYPE_DUELIST, oPC)
+ GetLevelByClass(CLASS_TYPE_DWARVENDEFENDER, oPC)
+ GetLevelByClass(CLASS_TYPE_ETERNAL_BLADE, oPC)
+ GetLevelByClass(CLASS_TYPE_FOE_HUNTER, oPC)
+ GetLevelByClass(CLASS_TYPE_GHOST_FACED_KILLER, oPC)
+ GetLevelByClass(CLASS_TYPE_HALFLING_WARSLINGER, oPC)
+ GetLevelByClass(CLASS_TYPE_HEXTOR, oPC)
+ GetLevelByClass(CLASS_TYPE_IAIJUTSU_MASTER, oPC)
+ GetLevelByClass(CLASS_TYPE_INCARNUM_BLADE, oPC)
+ GetLevelByClass(CLASS_TYPE_JUDICATOR, oPC)
+ GetLevelByClass(CLASS_TYPE_LASHER, oPC)
+ GetLevelByClass(CLASS_TYPE_LEGENDARY_DREADNOUGHT, oPC)
+ GetLevelByClass(CLASS_TYPE_MASTER_OF_NINE, oPC)
+ GetLevelByClass(CLASS_TYPE_ORC_WARLORD, oPC)
+ GetLevelByClass(CLASS_TYPE_PURPLE_DRAGON_KNIGHT, oPC)
+ GetLevelByClass(CLASS_TYPE_PYROKINETICIST, oPC)
+ GetLevelByClass(CLASS_TYPE_RAVAGER, oPC)
+ GetLevelByClass(CLASS_TYPE_REAPING_MAULER, oPC)
+ GetLevelByClass(CLASS_TYPE_SANCTIFIED_MIND, oPC)
+ GetLevelByClass(CLASS_TYPE_SERENE_GUARDIAN, oPC)
+ GetLevelByClass(CLASS_TYPE_SHINING_BLADE, oPC)
+ GetLevelByClass(CLASS_TYPE_SHOU, oPC)
+ GetLevelByClass(CLASS_TYPE_SPINEMELD_WARRIOR, oPC)
+ GetLevelByClass(CLASS_TYPE_TEMPEST, oPC)
+ GetLevelByClass(CLASS_TYPE_THAYAN_KNIGHT, oPC)
+ GetLevelByClass(CLASS_TYPE_WARCHIEF, oPC)
+ GetLevelByClass(CLASS_TYPE_WARFORGED_JUGGERNAUT, oPC)
+ GetLevelByClass(CLASS_TYPE_WARMIND, oPC)
+ GetLevelByClass(CLASS_TYPE_WEAPON_MASTER, oPC)
+ GetLevelByClass(CLASS_TYPE_WEREWOLF, oPC);
if(iAllWarrior == 0)
return FALSE;
/* if ((GetLevelByClass(CLASS_TYPE_BARBARIAN, oPC)==0)&&
(GetLevelByClass(CLASS_TYPE_FIGHTER, oPC)==0)&&
(GetLevelByClass(CLASS_TYPE_PALADIN, oPC)==0)&&
(GetLevelByClass(CLASS_TYPE_RANGER, oPC)==0)&&
(GetLevelByClass(CLASS_TYPE_ARCANE_ARCHER, oPC)==0)&&
(GetLevelByClass(CLASS_TYPE_BLACKGUARD, oPC)==0)&&
(GetLevelByClass(CLASS_TYPE_DIVINECHAMPION, oPC)==0)&&
(GetLevelByClass(CLASS_TYPE_DWARVENDEFENDER, oPC)==0)&&
(GetLevelByClass(CLASS_TYPE_WEAPON_MASTER, oPC)==0)) */
return TRUE;
}