67 lines
2.1 KiB
Plaintext
67 lines
2.1 KiB
Plaintext
int StartingConditional()
|
|
{
|
|
object oItem = GetLocalObject(GetPCSpeaker(), "MODIFY_ITEM");
|
|
int iTyp = GetBaseItemType(oItem);
|
|
return (
|
|
(iTyp == BASE_ITEM_ARMOR ) ||
|
|
(iTyp == BASE_ITEM_LARGESHIELD ) ||
|
|
(iTyp == BASE_ITEM_SMALLSHIELD ) ||
|
|
(iTyp == BASE_ITEM_TOWERSHIELD ) ||
|
|
(iTyp == BASE_ITEM_BASTARDSWORD ) ||
|
|
(iTyp == BASE_ITEM_BATTLEAXE ) ||
|
|
(iTyp == BASE_ITEM_CLUB ) ||
|
|
(iTyp == BASE_ITEM_DAGGER ) ||
|
|
(iTyp == BASE_ITEM_DIREMACE ) ||
|
|
(iTyp == BASE_ITEM_DOUBLEAXE ) ||
|
|
(iTyp == BASE_ITEM_DWARVENWARAXE ) ||
|
|
(iTyp == BASE_ITEM_GREATAXE ) ||
|
|
(iTyp == BASE_ITEM_GREATSWORD ) ||
|
|
(iTyp == BASE_ITEM_HALBERD ) ||
|
|
(iTyp == BASE_ITEM_HANDAXE ) ||
|
|
(iTyp == BASE_ITEM_HEAVYFLAIL ) ||
|
|
(iTyp == BASE_ITEM_KAMA ) ||
|
|
(iTyp == BASE_ITEM_KATANA ) ||
|
|
(iTyp == BASE_ITEM_KUKRI ) ||
|
|
(iTyp == BASE_ITEM_LIGHTFLAIL ) ||
|
|
(iTyp == BASE_ITEM_LIGHTHAMMER ) ||
|
|
(iTyp == BASE_ITEM_LIGHTMACE ) ||
|
|
(iTyp == BASE_ITEM_LONGSWORD ) ||
|
|
(iTyp == BASE_ITEM_MAGICSTAFF ) ||
|
|
(iTyp == BASE_ITEM_MORNINGSTAR ) ||
|
|
(iTyp == BASE_ITEM_QUARTERSTAFF ) ||
|
|
(iTyp == BASE_ITEM_RAPIER ) ||
|
|
(iTyp == BASE_ITEM_SCIMITAR ) ||
|
|
(iTyp == BASE_ITEM_SCYTHE ) ||
|
|
(iTyp == BASE_ITEM_SHORTSPEAR ) ||
|
|
(iTyp == BASE_ITEM_SHORTSWORD ) ||
|
|
(iTyp == BASE_ITEM_SICKLE ) ||
|
|
(iTyp == BASE_ITEM_SLING ) ||
|
|
(iTyp == BASE_ITEM_WARHAMMER ) ||
|
|
(iTyp == BASE_ITEM_WHIP )||
|
|
//Cep Melee Weapons
|
|
(iTyp == 300 ) ||
|
|
(iTyp == 301 ) ||
|
|
(iTyp == 302 ) ||
|
|
(iTyp == 303 ) ||
|
|
(iTyp == 304 ) ||
|
|
(iTyp == 305 ) ||
|
|
(iTyp == 306 ) ||
|
|
(iTyp == 308 ) ||
|
|
(iTyp == 309 ) ||
|
|
(iTyp == 310 ) ||
|
|
(iTyp == 312 ) ||
|
|
(iTyp == 313 ) ||
|
|
(iTyp == 316 ) ||
|
|
(iTyp == 317 ) ||
|
|
(iTyp == 318 ) ||
|
|
(iTyp == 319 ) ||
|
|
(iTyp == 320 ) ||
|
|
(iTyp == 321 ) ||
|
|
(iTyp == 322 ) ||
|
|
(iTyp == 323 ) ||
|
|
(iTyp == 324 )
|
|
);
|
|
}
|
|
|
|
|