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.
17 lines
538 B
Plaintext
17 lines
538 B
Plaintext
void main()
|
|
{
|
|
object oAttacker=GetLastDamager();
|
|
object oWeapon1=GetItemInSlot(INVENTORY_SLOT_LEFTHAND,oAttacker);
|
|
object oWeapon2=GetItemInSlot(INVENTORY_SLOT_RIGHTHAND,oAttacker);
|
|
|
|
if (GetTag(oWeapon1)=="jw_smiths_tools"||GetTag(oWeapon2)=="jw_smiths_tools")
|
|
|
|
{
|
|
DelayCommand(0.3,ApplyEffectAtLocation(DURATION_TYPE_INSTANT,EffectVisualEffect(VFX_COM_SPARKS_PARRY),GetLocation(OBJECT_SELF)));
|
|
FloatingTextStringOnCreature("*Bashes*",oAttacker);
|
|
ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectHeal(400),OBJECT_SELF);
|
|
|
|
|
|
}
|
|
}
|