Added Chasing Perfection spell
Added Chasing Perfection spell. Moved katar to simple weapons for crafting. Updated release archive.
This commit is contained in:
@@ -1365,7 +1365,6 @@ int GetWeaponType(int nBaseItem)
|
||||
case BASE_ITEM_SCIMITAR:
|
||||
case BASE_ITEM_THROWINGAXE:
|
||||
case BASE_ITEM_TRIDENT:
|
||||
case BASE_ITEM_KATAR:
|
||||
case BASE_ITEM_HEAVY_PICK:
|
||||
case BASE_ITEM_LIGHT_PICK:
|
||||
case BASE_ITEM_FALCHION:
|
||||
@@ -1385,6 +1384,7 @@ int GetWeaponType(int nBaseItem)
|
||||
case BASE_ITEM_HEAVYCROSSBOW:
|
||||
case BASE_ITEM_CLUB:
|
||||
case BASE_ITEM_QUARTERSTAFF:
|
||||
case BASE_ITEM_KATAR:
|
||||
case BASE_ITEM_HEAVY_MACE:
|
||||
case BASE_ITEM_GOAD:
|
||||
return PRC_CRAFT_SIMPLE_WEAPON;
|
||||
|
@@ -427,8 +427,9 @@ const int SPELL_SUDDEN_STALAGMITE = 3827;
|
||||
const int SPELL_BONES_OF_THE_EARTH = 3828;
|
||||
const int SPELL_PHANTOM_STEED = 2347;
|
||||
const int SPELL_GASEOUS_FORM = 2348;
|
||||
const int SPELL_CHASING_PERFECTION = 2479;
|
||||
|
||||
//racial spell additions
|
||||
//:: Racial spell additions
|
||||
const int SPIRETOP_FOG_CLOUD_BREATH = 1487; //:: Spiretop Dragon
|
||||
const int MEPHLING_BREATH_WEAPON = 1488; //:: Mephlings
|
||||
const int SPELL_ARANEA_ALTER = 1489; //:: Aranea
|
||||
|
@@ -395,7 +395,7 @@ object CICraftCraftWand(object oCreator, int nSpellID )
|
||||
AddItemProperty(DURATION_TYPE_PERMANENT,ipLevel,oTarget);
|
||||
itemproperty ipMeta = ItemPropertyCastSpellMetamagic(nSpellID, PRCGetMetaMagicFeat());
|
||||
AddItemProperty(DURATION_TYPE_PERMANENT,ipMeta,oTarget);
|
||||
itemproperty ipDC = ItemPropertyCastSpellDC(nSpellID, PRCGetSaveDC(PRCGetSpellTargetObject(), OBJECT_SELF));
|
||||
itemproperty ipDC = ItemPropertyCastSpellDC(nSpellID, PRCGetSaveDC(PRCGetSpellTargetObject(), OBJECT_SELF));
|
||||
AddItemProperty(DURATION_TYPE_PERMANENT,ipDC,oTarget);
|
||||
}
|
||||
|
||||
@@ -993,7 +993,7 @@ int CICraftCheckCraftStaff(object oSpellTarget, object oCaster, int nSpellID = 0
|
||||
int nMetaMagic = PRCGetMetaMagicFeat();
|
||||
if(nMetaMagic && !GetHasFeat(X2_CI_CRAFTSTAFF_EPIC_FEAT_ID, oCaster))
|
||||
{
|
||||
FloatingTextStringOnCreature("* Failure - You must be able to craft epic staffs to apply metamagic *", oCaster);
|
||||
FloatingTextStringOnCreature("* Failure - You must be able to craft epic staves to apply metamagic *", oCaster);
|
||||
return TRUE; // tried item creation but do not know how to do it
|
||||
}
|
||||
if(CIGetIsSpellRestrictedFromCraftFeat(nSpellID, X2_CI_CRAFTSTAFF_FEAT_ID))
|
||||
|
Reference in New Issue
Block a user