Initial commit. Updated release archive.

This commit is contained in:
Jaysyn904
2024-06-20 15:47:42 -04:00
parent d14b20cb85
commit e49d03aa23
6897 changed files with 6107848 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
void main()
{
object oTroll = GetLocalObject(OBJECT_SELF,"LAST_TROLL_ATTACKED");
int TORCHDMG = d4(4)+1; //This is the torch fire damage roll
// Makes sure the troll_on_dmg script knows a PC torched the troll
SetLocalInt(oTroll,"TROLL_WAS_TORCHED",1);
// Apply the torch damage
effect eDmg = EffectDamage(TORCHDMG,DAMAGE_TYPE_FIRE);
ApplyEffectToObject(DURATION_TYPE_INSTANT,eDmg,oTroll);
// Cleanup
DeleteLocalObject(OBJECT_SELF,"LAST_TROLL_ATTACKED");
}