27 lines
408 B
Plaintext
27 lines
408 B
Plaintext
void main()
|
|
{
|
|
|
|
object oPC = GetLastHostileActor();
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
object oTarget;
|
|
oTarget = oPC;
|
|
|
|
effect eEffect;
|
|
eEffect = EffectKnockdown();
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 300.0f);
|
|
|
|
oTarget = oPC;
|
|
|
|
eEffect = EffectDazed();
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 300.0f);
|
|
|
|
FloatingTextStringOnCreature("That Wasn't Bright", oPC);
|
|
|
|
}
|
|
|
|
|