generated from Jaysyn/ModuleTemplate
18 lines
317 B
Plaintext
18 lines
317 B
Plaintext
// Wizard tower any level on-enter
|
|
// - Activate wild-magic zone
|
|
|
|
#include "x2_inc_switches"
|
|
#include "nw_i0_generic"
|
|
|
|
|
|
void main()
|
|
{
|
|
object oPC = GetEnteringObject();
|
|
if(!GetIsPC(oPC))
|
|
return;
|
|
|
|
SetModuleOverrideSpellscript("q6_wild_magic");
|
|
SetLocalInt(OBJECT_SELF, "X2_L_WILD_MAGIC", 1);
|
|
|
|
}
|