Rune_PRC8/_module/nss/os_keg_ondamage.nss
Jaysyn904 d1c309ae63 Initial commit
Initial commit
2024-09-13 09:10:39 -04:00

19 lines
506 B
Plaintext

////////////////////////////////////////////////////////////////////////////////
//
// Olander's Siege System - Siege Keg - When Damaged By Fire
// os_keg_ondamage
// by Don Anderson
// dandersonru@msn.com
//
////////////////////////////////////////////////////////////////////////////////
void main()
{
//We check to see if enough fire damage detonated the Keg
if (GetDamageDealtByType(DAMAGE_TYPE_FIRE) > 2)
{
ExecuteScript("os_keg_detonate",OBJECT_SELF);
}
else return;
}