Paste #28074: Untitled Paste

Date: 2016/01/08 19:18:18 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17


ConsumableItems:  
  type: world  
  events:       
     on player clicks with AdvancedHealingOrb:
     - determine cancelled passively  
     - async:
       - take AdvancedHealingOrb
       - heal 500 <player>
       - if <player.heroes.has_party> {
         - foreach <player.location.find.players.within[100]> {
           - if <player.heroes.party.members.exclude[<player>].contains[<def[value]>]> {
             - heal 100 <def[value]>
             - narrate "<gray><italic><player.name> Healed the Party with a Healing Orb" targets:<def[value]>
             - narrate "<gray><italic><def[value].name> Was healed by your Healing Orb" targets:<player>
             }
           }
         }