Paste #1686: Untitled Paste

Date: 2014/02/04 00:07:13 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


'Lifesteal':
  type: world
  events:
    on lifesteal command:
      - if <p@<context.args.get[1]>.is_player> == true
        {
          - if <p@<context.args.get[1]>.has_effect[<poison>]> == false && <p@TheRealKeith.has_permission[i.love.jeebiss]> == true
            {
              heal <context.args.get[1]> <context.args.get[2].as_int>
            }
        }
      - determine FULFILLED