36 lines
1.0 KiB
Plaintext
36 lines
1.0 KiB
Plaintext
// *** Tarashon special spawn boost for quest creatures *** //
|
|
|
|
void main()
|
|
{
|
|
|
|
ExecuteScript("nw_c2_default2", OBJECT_SELF);
|
|
|
|
object oPC = GetLastPerceived();
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
if (!GetLastPerceptionSeen()) return;
|
|
|
|
object oTarget;
|
|
oTarget = OBJECT_SELF;
|
|
|
|
int nInt;
|
|
nInt = GetObjectType(oTarget);
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectVisualEffect(VFX_DUR_AURA_RED_LIGHT), oTarget);
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectTemporaryHitpoints(GetMaxHitPoints(oTarget)*4), oTarget);
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectAbilityIncrease(ABILITY_STRENGTH, 12), oTarget);
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectACIncrease(4), oTarget);
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectConcealment(20), oTarget);
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectHaste(), oTarget);
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectImmunity(IMMUNITY_TYPE_MOVEMENT_SPEED_DECREASE), oTarget);
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectImmunity(IMMUNITY_TYPE_SLOW), oTarget);
|
|
|
|
}
|