mirror of
http://prc.nwn.ee:3000/Jaysyn/PRC8.git
synced 2026-01-23 04:36:28 -05:00
Updated Release Archive
Updated Release Archive. Fixed Mage-killer prereqs. Removed old LETO & ConvoCC related files. Added organized spell scroll store. Fixed Gloura spellbook. Various TLK fixes. Reorganized Repo. Removed invalid user folders. Added DocGen back in.
This commit is contained in:
37
nwn/trunk/spells/sp_chngshp_opts.nss
Normal file
37
nwn/trunk/spells/sp_chngshp_opts.nss
Normal file
@@ -0,0 +1,37 @@
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Change Shape - Start options conversation
|
||||
//:: prc_chngshp_opts
|
||||
//:://////////////////////////////////////////////
|
||||
/** @file
|
||||
Starts the Change Shape Options dynamiv conversation.
|
||||
|
||||
|
||||
@author Shane Hennessy
|
||||
@date Modified - 2006.10.08 - rewritten by Ornedan - modified by Fox
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
//#include "prc_inc_shifting"
|
||||
#include "inc_dynconv"
|
||||
#include "prc_alterations"
|
||||
#include "prc_inc_spells"
|
||||
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
DeleteLocalInt(OBJECT_SELF, "X2_L_LAST_SPELLSCHOOL_VAR");
|
||||
SetLocalInt(OBJECT_SELF, "X2_L_LAST_SPELLSCHOOL_VAR", SPELL_SCHOOL_TRANSMUTATION);
|
||||
// If code within the PreSpellCastHook (i.e. UMD) reports FALSE, do not run this spell
|
||||
if (!X2PreSpellCastCode()) return;
|
||||
|
||||
object oPC = OBJECT_SELF;
|
||||
|
||||
SetLocalInt(oPC, "ChangeShapeConfig", GetSpellId());
|
||||
|
||||
StartDynamicConversation("prc_chngshp_conv", oPC, DYNCONV_EXIT_ALLOWED_SHOW_CHOICE, TRUE, FALSE, oPC);
|
||||
|
||||
DeleteLocalInt(OBJECT_SELF, "X2_L_LAST_SPELLSCHOOL_VAR");
|
||||
// Getting rid of the local integer storing the spellschool name
|
||||
}
|
||||
Reference in New Issue
Block a user