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.
23 lines
696 B
Plaintext
23 lines
696 B
Plaintext
void main()
|
|
{
|
|
|
|
effect eExplode = EffectVisualEffect(VFX_FNF_DISPEL_GREATER);
|
|
location lTarget = GetLocation(OBJECT_SELF);
|
|
|
|
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eExplode, lTarget);
|
|
|
|
effect eDam;
|
|
effect eRay;
|
|
effect eVis = EffectVisualEffect(VFX_IMP_NEGATIVE_ENERGY);
|
|
object oTarget;
|
|
int nDamage;
|
|
nDamage=100;
|
|
oTarget = GetObjectByTag("jok_golem");
|
|
eDam = EffectDamage(nDamage, DAMAGE_TYPE_MAGICAL);
|
|
ApplyEffectToObject(DURATION_TYPE_INSTANT, eDam, oTarget);
|
|
eRay = EffectBeam(VFX_BEAM_EVIL, OBJECT_SELF, BODY_NODE_HAND);
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eRay, oTarget, 1.7);
|
|
DelayCommand(0.5, ApplyEffectToObject(DURATION_TYPE_INSTANT, eVis, oTarget));
|
|
|
|
}
|