Initial upload
Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
This commit is contained in:
23
_module/nss/jw_aishab_hb.nss
Normal file
23
_module/nss/jw_aishab_hb.nss
Normal file
@@ -0,0 +1,23 @@
|
||||
void main()
|
||||
{
|
||||
|
||||
|
||||
|
||||
if (GetLocalInt(OBJECT_SELF,"beendone"))
|
||||
|
||||
{}
|
||||
|
||||
else
|
||||
|
||||
{
|
||||
SetLocalInt(OBJECT_SELF,"beendone",1);
|
||||
object oTree=GetObjectByTag("jw_tree");
|
||||
location lLoc;
|
||||
lLoc = GetLocation(oTree);
|
||||
//AssignCommand(oTree,ApplyEffectAtLocation(DURATION_TYPE_PERMANENT,EffectSanctuary(28),lLoc));
|
||||
AssignCommand(oTree,ApplyEffectToObject(DURATION_TYPE_PERMANENT,EffectVisualEffect(VFX_DUR_LIGHT_YELLOW_20),oTree));
|
||||
AssignCommand(GetObjectByTag("tree_glow"),ApplyEffectToObject(DURATION_TYPE_PERMANENT,EffectVisualEffect(VFX_DUR_LIGHT_YELLOW_20),GetObjectByTag("tree_glow")));
|
||||
AssignCommand(GetObjectByTag("tree_glow"),ApplyEffectToObject(DURATION_TYPE_PERMANENT,EffectVisualEffect(VFX_DUR_ELEMENTAL_SHIELD),oTree));
|
||||
}
|
||||
RecomputeStaticLighting(OBJECT_SELF);
|
||||
}
|
||||
Reference in New Issue
Block a user