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.
11 lines
315 B
Plaintext
11 lines
315 B
Plaintext
void main()
|
|
{
|
|
object oPC = GetPCSpeaker();
|
|
effect eBoom = EffectVisualEffect(VFX_IMP_DESTRUCTION, FALSE);
|
|
effect eDamage = EffectDamage(d10(1), DAMAGE_TYPE_MAGICAL, DAMAGE_POWER_NORMAL);
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_INSTANT, eBoom, oPC, 1.0);
|
|
ApplyEffectToObject(DURATION_TYPE_INSTANT, eDamage, oPC, 1.0);
|
|
|
|
}
|