Paste #846: Untitled Paste

Date: 2014/01/01 18:09:06 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9


NPCLoot: 
    type: assignment    
    actions:
      on damage:
      - flag npc attackers:->:<player>
      on death:
      - foreach <npc.flag[attackers].aslist> {
        - give <player[<npc.flag[attackers]>].inventory>" i@<proc:Determine Loot>"
        }