38 lines
898 B
Plaintext
38 lines
898 B
Plaintext
#include "nw_i0_generic"
|
|
void main()
|
|
{
|
|
int fullHP=GetMaxHitPoints(OBJECT_SELF)*3;
|
|
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectHeal(fullHP),OBJECT_SELF);
|
|
ActionSpeakString("This time, you die!!!");
|
|
SetIsTemporaryEnemy(GetPCSpeaker());
|
|
ActionAttack(GetPCSpeaker());
|
|
DetermineCombatRound();
|
|
|
|
|
|
|
|
object oPC = GetPCSpeaker();
|
|
object oTarget;
|
|
oTarget = OBJECT_SELF;
|
|
effect eEffect;
|
|
eEffect = EffectAbilityIncrease(ABILITY_CONSTITUTION, 100);
|
|
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eEffect, oTarget, 60.0f);
|
|
|
|
oTarget = OBJECT_SELF;
|
|
eEffect = EffectAbilityIncrease(ABILITY_STRENGTH, 100);
|
|
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eEffect, oTarget);
|
|
|
|
oTarget = OBJECT_SELF;
|
|
eEffect = EffectACIncrease(40);
|
|
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eEffect, oTarget);
|
|
|
|
oTarget = oPC;
|
|
eEffect = EffectStunned();
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 300.0f);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|