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.
7 lines
229 B
Plaintext
7 lines
229 B
Plaintext
void main()
|
|
{
|
|
object oPC=GetClickingObject();
|
|
ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectDamage(d4(),DAMAGE_TYPE_ELECTRICAL),oPC);
|
|
ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectVisualEffect(VFX_COM_HIT_ELECTRICAL),oPC);
|
|
}
|