Update for new nwscript.nss
Update for new nwscript.nss. Added & updated notes. Continuing with spellcasting marker feats.
This commit is contained in:
@@ -225,7 +225,7 @@ string SetRace(int nRace);
|
||||
string AdjustHitPoints(int nHP, int nLevel = 1);
|
||||
|
||||
//returns a script to change gender
|
||||
string SetGender(int nGender);
|
||||
void SetGender(object oCreature, int nGender);
|
||||
|
||||
//returns a script to change skin color
|
||||
//the values are based on the windows in the toolset
|
||||
@@ -251,7 +251,7 @@ string SetMovement(int nRate);
|
||||
|
||||
//returns a script to change soundset
|
||||
//as defined in soundset.2da
|
||||
string SetSoundset(int nSoundsetID);
|
||||
void SetSoundset(object oCreature, int nSoundset);
|
||||
|
||||
//returns a script to change portrait
|
||||
//as defined in portrats.2da
|
||||
@@ -528,13 +528,13 @@ string AdjustHitPoints(int nHP, int nLevel = 1)
|
||||
return sReturn;
|
||||
}
|
||||
|
||||
string SetGender(int nGender)
|
||||
void SetGender(object oCreature, int nGender)
|
||||
{
|
||||
//pheonix
|
||||
//<gff:add 'Gender' {value=2 setifexists=True}>
|
||||
//unicorn
|
||||
// /Gender = 2;
|
||||
return LetoSet("Gender", IntToString(nGender), "byte");
|
||||
LetoSet("Gender", IntToString(nGender), "byte");
|
||||
}
|
||||
|
||||
string SetSkinColor(int nColor)
|
||||
@@ -573,13 +573,13 @@ string SetMovement(int nRate)
|
||||
return LetoSet("MovementRate", IntToString(nRate), "byte");
|
||||
}
|
||||
|
||||
string SetSoundset(int nSoundsetID)
|
||||
void SetSoundset(object oCreature, int nSoundset)
|
||||
{
|
||||
//pheonix
|
||||
//<gff:add 'SoundSetFile' {value=2 setifexists=True}>
|
||||
//unicorn
|
||||
// /SoundSetFile = 2;
|
||||
return LetoSet("SoundSetFile", IntToString(nSoundsetID), "word");
|
||||
LetoSet("SoundSetFile", IntToString(nSoundset), "word");
|
||||
}
|
||||
|
||||
string SetPCPortrait(string sPortrait)
|
||||
|
@@ -214,6 +214,9 @@ const int CLASS_TYPE_FROSTRAGER = 252;
|
||||
const int CLASS_TYPE_CRINTI_SHADOW_MARAUDER = 253;
|
||||
const int CLASS_TYPE_SHADOW_THIEF_AMN = 254;
|
||||
|
||||
//:: Work in Progress
|
||||
const int CLASS_TYPE_FOCHULAN_LYRIST = -1;
|
||||
|
||||
const int CLASS_TYPE_NIGHTSTALKER = -1; //Just here to make things compile until it gets stripped out
|
||||
const int CLASS_TYPE_MINSTREL_EDGE = -1;
|
||||
const int CLASS_TYPE_BRAWLER = -1;
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -780,8 +780,7 @@ int GetIsDivineClass(int nClass, object oCaster = OBJECT_SELF)
|
||||
|| nClass == CLASS_TYPE_SOHEI
|
||||
|| nClass == CLASS_TYPE_SOLDIER_OF_LIGHT
|
||||
|| nClass == CLASS_TYPE_UR_PRIEST
|
||||
|| nClass == CLASS_TYPE_VASSAL
|
||||
|| nClass == CLASS_TYPE_VIGILANT;
|
||||
|| nClass == CLASS_TYPE_VASSAL;
|
||||
}
|
||||
|
||||
int GetArcanePRCLevels(object oCaster, int nCastingClass = CLASS_TYPE_INVALID)
|
||||
|
Reference in New Issue
Block a user