23 lines
565 B
Plaintext
23 lines
565 B
Plaintext
#include "x0_i0_partywide"
|
|
|
|
void main()
|
|
{
|
|
object oTarget;
|
|
effect eVFX;
|
|
|
|
// Get the PC who is in this conversation.
|
|
object oPC = GetPCSpeaker();
|
|
|
|
// Give 50 gold (to party) to the PC.
|
|
GiveGoldToAll(oPC, 50);
|
|
GiveXPToAll(oPC, 10);
|
|
|
|
// Destroy an object (not fully effective until this script ends).
|
|
|
|
eVFX = EffectVisualEffect(VFX_FNF_SUMMON_MONSTER_2);
|
|
oTarget = GetObjectByTag("Syclya2");
|
|
DelayCommand(1.0, ApplyEffectToObject(DURATION_TYPE_INSTANT, eVFX, oTarget));
|
|
DelayCommand(1.0, DestroyObject(oTarget, 3.0));
|
|
}
|
|
|