Paste #9553: QuetsTrinamento

Date: 2014/09/12 19:59:02 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


theocto:
  Type: Assignment
  Interact Scripts:
  - 1 MatarQuest
MatarQuest:
  Type: Interact
  Requirements:
    Mode: All
  Steps:
    1:
      Click Trigger:
        Script:
        - if <player.flag[Oct01]> {
          - narrate "<blue>Octo:<white> Hmmm... Voce parece um candidato a <red>HUNTER"
          - wait 3
          - narrate "<blue>Octo:<white> Tenho uma tarefe para voce !"
          - narrate "<blue>Octo:<white> Encontre e destrua uma <red>Rainha Aranha"
          - wait 3
          - narrate "<blue>Octo:<white> Feito isso, voce passara em meu teste"
          - narrate "<blue>Octo:<green> Boa sorte !"
          - listen kill type:entity name:aranhaboss qty:1 script:CheckAranha
          - zap miss1
          } else {
          - RANDOM 5
          - narrate "<blue>Octo:<white> As vezes e muito chato ficar aqui !"
          - narrate "<blue>Octo:<white> Cuidado com as Aranhas !"
          - narrate "<blue>Octo:<white> ZzzzZzzzZzzzz.... ZzzzZzzzZzzzz.... ZzzzZzzzZzzzz.... "
          - narrate "<blue>Octo:<white> Eu amo Bacon !"
          - narrate "<blue>Octo:<white> Sera que vai chover hoje ?"
          }
    miss1:
      Click Trigger:
        Script:
        - if <player.flag[recOct01]> {
          - narrate "<red>Octo:<green> Parabens! Voce conseguiu !"
          - wait 2
          - narrate "<red>Octo:<white> Fale com o lider da Ordem Hunter ! Ele lhe recompensará !"
          - wait 1
          - narrate "<yellow> Fase Terminara!"
          - Flag Oct02
          } else {
          - narrate "<blue>Octo:<white> hmmm ? Voce aqui ainda ?"
          - wait 1
          - narrate "<blue>Octo:<white> Mate a <red>Rainha Aranha !"
          - wait 2
          - narrate "<blue>Octo:<white> Anda logo !"
          }
CheckAranha:
    Type: Task
    Script:
    - flag player AranhaCount:++
    - narrate "-- Numero de Aranhas Rainhas Mortas <player.flag[ZombieCount].asint>! --"
    - if <player.flag[AranhaCount].asint> >= 1 run AranhaQuestReward
      else run ZombieQuestContinue
ZombieQuestContinue:
  type: task
  script:
  - listen kill type:entity name:aranhaboss qty:1 script:ZombieQuestCheck
AranhaQuestReward:
  type: task
  script:
  - narrate "<yellow>Volte para o Octo!"
  - flag player recOct01