Paste #33101: Untitled Paste

Date: 2016/04/27 12:13:58 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


on mythicmob mob ZombieHorder killed by player:        
          - if <context.mob.internal_name> == ZombieHorder {
            - if !<player.has_flag[d01_stage1_started]> {
              - flag <player> d01_stage1_started 
            }    


            - if !<player.has_flag[stage1_mobcounter1]> {
              - flag <player> stage1_mobcounter1:1
              - narrate "<player.flag[stage1_mobcounter1].as_int> Zombie Killed"
              - queue clear
            }
          }

          - if <player.has_flag[d01_stage1_started]> {
            - flag <player> stage1_mobcounter1:++
            - listen kill type:entity target:zombie quantity:5 script:d01_Stage1_subtask1
            - narrate "<player.flag[stage1_mobcounter1].as_int> Zombies Killed"
          }
          - wait 3
          - if <player.has_flag[stage1_mobcounter1]> = 5 {
            - marrate "yo yo yo"
          }