Post by Acaos on Aug 16, 2008 18:13:50 GMT
nwnx_defenses
nwnx_weapons
nwnx_funcs
int GetACByType (object oCreature, int nACType=AC_DODGE_BONUS);
int GetACVersus (object oAttacker, object oTarget=OBJECT_SELF);
int GetDefenseOption (int nOption);
int GetTrueDamageImmunity (object oCreature, int nDamType);
int SetDefenseOption (int nOption, int nValue);
nwnx_weapons
int GetWeaponOption (int nOption);
int SetWeaponOption (int nOption, int nValue);
int GetWeaponIsMonkWeapon (int nBaseItem);
int SetWeaponIsMonkWeapon (int nBaseItem, int nMonkLevelsRequired);
int GetWeaponDevastatingCriticalFeat (int nBaseItem);
int GetWeaponEpicFocusFeat (int nBaseItem);
int GetWeaponEpicSpecializationFeat (int nBaseItem);
int GetWeaponFocusFeat (int nBaseItem);
int GetWeaponGreaterFocusFeat (int nBaseItem);
int GetWeaponImprovedCriticalFeat (int nBaseItem);
int GetWeaponLegendaryFocusFeat (int nBaseItem);
int GetWeaponOfChoiceFeat (int nBaseItem);
int GetWeaponOverwhelmingCriticalFeat (int nBaseItem);
int GetWeaponPowerCriticalFeat (int nBaseItem);
int GetWeaponSpecializationFeat (int nBaseItem);
int GetWeaponSuperiorCriticalFeat (int nBaseItem);
int SetWeaponDevastatingCriticalFeat (int nBaseItem, int nFeat);
int SetWeaponEpicFocusFeat (int nBaseItem, int nFeat);
int SetWeaponEpicSpecializationFeat (int nBaseItem, int nFeat);
int SetWeaponFocusFeat (int nBaseItem, int nFeat);
int SetWeaponGreaterFocusFeat (int nBaseItem, int nFeat);
int SetWeaponImprovedCriticalFeat (int nBaseItem, int nFeat);
int SetWeaponLegendaryFocusFeat (int nBaseItem, int nFeat);
int SetWeaponOfChoiceFeat (int nBaseItem, int nFeat);
int SetWeaponOverwhelmingCriticalFeat (int nBaseItem, int nFeat);
int SetWeaponPowerCriticalFeat (int nBaseItem, int nFeat);
int SetWeaponSpecializationFeat (int nBaseItem, int nFeat);
int SetWeaponSuperiorCriticalFeat (int nBaseItem, int nFeat);
nwnx_funcs
void ActionUseItemAtLocation (object oItem, location lTarget, int nProp=0);
void ActionUseItemOnObject (object oItem, object oTarget, int nProp=0);
int AddKnownFeat (object oCreature, int nFeat, int nLevel=-1);
int AddKnownSpell (object oCreature, int nClass, int nSpellLevel, int nSpellId);
int AddSpecialAbility (object oCreature, struct SpecialAbilitySlot sas);
void BootPCWithMessage (object oPC, int nStrRef);
int ClearMemorizedSpell (object oCreature, int nClass, int nLevel, int nIndex);
void DumpObject (object oObject);
int GetACNaturalBase (object oCreature);
int GetAbilityIncreaseByLevel (object oCreature, int nLevel);
string GetAllMemorizedSpells (object oCreature);
string GetAllRemainingFeatUses (object oCreature);
int GetBonusSpellSlots (object oCreature, int nClass, int nSpellLevel);
int GetClassByLevel (object oCreature, int nLevel);
int GetClericDomain (object oCreature, int nIndex);
string GetConversation (object oCreature);
string GetCreatureEventHandler (object oCreature, int nEvent);
int GetDamageImmunity (object oCreature, int nDamType);
int GetFactionId (object oObject);
object GetFirstArea ();
struct LocalVariable GetFirstLocalVariable (object oObject);
float GetGroundHeight (object oArea, vector vPos);
float GetGroundHeightFromLocation (location lLoc);
int GetIsVariableValid (struct LocalVariable lv);
int GetIsWalkable (object oArea, vector vPos);
int GetIsWalkableLocation (location lLoc);
object GetItemByPosition (object oCreature, int nPos);
int GetItemCount (object oCreature);
int GetKnownFeat (object oCreature, int nIndex);
int GetKnownFeatByLevel (object oCreature, int nLevel, int nIndex);
int GetKnownSpell (object oCreature, int nClass, int nSpellLevel, int nIndex);
int GetKnowsFeat (int nFeatId, object oCreature);
int GetKnowsSpell (int nSpellId, object oCreature, int nClass=CLASS_TYPE_INVALID);
int GetLocalVariableCount (object oObject);
int GetMaxHitPointsByLevel (object oCreature, int nLevel);
int GetMaxSpellSlots (object oCreature, int nClass, int nSpellLevel);
object GetNextArea ();
struct LocalVariable GetNextLocalVariable (struct LocalVariable lv);
int GetPCBodyBag (object oPC);
int GetPCPort (object oPC);
int GetPCSkillPoints (object oPC);
string GetPortrait (object oCreature);
string GetRawQuickBarSlot (object oPC, int nSlot);
int GetRemainingFeatUses (object oCreature, int nFeat);
int GetRemainingSpellSlots (object oCreature, int nClass, int nSpellLevel);
int GetSavingThrowBonus (object oCreature, int nSave);
int GetSkillIncreaseByLevel (object oCreature, int nLevel, int nSkill);
int GetSoundset (object oCreature);
int GetTotalFeatUses (object oCreature, int nFeat);
int GetTotalKnownFeats (object oCreature);
int GetTotalKnownFeatsByLevel (object oCreature, int nLevel);
int GetTotalKnownSpells (object oCreature, int nClass, int nSpellLevel);
int GetTotalSpecialAbilities (object oCreature);
int GetWizardSpecialization (object oCreature);
object IntToObject (int nObjectId);
void JumpToLimbo (object oCreature);
struct LocalVariable GetLocalVariableByPosition (object oObject, int nPos);
struct MemorizedSpellSlot GetMemorizedSpell (object oCreature, int nClass, int nLevel, int nIndex);
int ModifyAbilityScore (object oCreature, int nAbility, int nValue);
int ModifyCurrentHitPoints (object oCreature, int nHP);
int ModifySkillRank (object oCreature, int nSkill, int nValue);
int RemoveKnownFeat (object oCreature, int nFeat);
int RemoveKnownSpell (object oCreature, int nClass, int nSpellId);
int RemoveSpecialAbility (object oCreature, int nIndex);
int ReplaceKnownSpell (object oCreature, int nClass, int nOldSpell, int nNewSpell);
int RestoreReadyFeats (object oCreature, string sFeats);
int RestoreReadySpells (object oCreature, string sSpells);
int SetACNaturalBase (object oCreature, int nAC);
int SetAbilityScore (object oCreature, int nAbility, int nValue);
int SetAlignmentGoodEvil (object oCreature, int nValue);
int SetAlignmentLawChaos (object oCreature, int nValue);
int SetClericDomain (object oCreature, int nIndex, int nDomain);
string SetConversation (object oCreature, string sConv);
string SetCreatureEventHandler (object oCreature, int nEvent, string sScript);
int SetCreatureSize (object oCreature, int nSize);
int SetCurrentHitPoints (object oCreature, int nHP);
int SetFactionId (object oObject, int nFaction);
int SetGoldPieceValue (object oItem, int nValue);
int SetItemWeight (object oItem, int nTenthLbs);
int SetKnownFeat (object oCreature, int nIndex, int nFeat);
int SetKnownFeatByLevel (object oCreature, int nLevel, int nIndex, int nFeat);
int SetKnownSpell (object oCreature, int nClass, int nSpellLevel, int nIndex, int nSpellId);
int SetMaxHitPoints (object oCreature, int nHP);
int SetMaxHitPointsByLevel (object oCreature, int nLevel, int nValue);
int SetMemorizedSpell (object oCreature, int nClass, int nLevel, int nIndex, struct MemorizedSpellSlot mss);
int SetMovementRate (object oCreature, int nRate);
int SetPCBodyBag (object oPC, int nBodyBag);
int SetPCLootable (object oPC, int nLootable);
int SetPCSkillPoints (object oPC, int nSkillPoints);
int SetPortrait (object oCreature, string sPortrait);
int SetRacialType (object oCreature, int nRacialType);
void SetRawQuickBarSlot (object oPC, string sSlot);
int SetRemainingSpellSlots (object oCreature, int nClass, int nSpellLevel, int nSlots);
int SetSavingThrowBonus (object oCreature, int nSave, int nValue);
int SetSkillRank (object oCreature, int nSkill, int nValue);
int SetSoundset (object oCreature, int nSoundset);
int SetSpecialAbility (object oCreature, int nIndex, struct SpecialAbilitySlot sas);
string SetTag (object oObject, string sTag);
int SetTrapCreator (object oTrap, object oCreator);
int SetWizardSpecialization (object oCreature, int nSchool);
struct SpecialAbilitySlot GetSpecialAbility (object oCreature, int nIndex);