Quest Editor
  • Docs Home
  • Guides
    • Creating a Quest
      • Storywriting
      • Starting Out
      • Adding Stages
      • Stage 1
      • Stage 2
      • Stage 3
    • Creating an Enemy
    • Creating a Location
      • Creation
  • Logic Blocks
    • If Block
    • Equals Block
    • And/Or Block
    • Not Block
    • Boolean Block
    • Null Block
    • Ternary Block
  • List Blocks
    • Create Empty List Block
    • Length Of List Block
    • Create List Block
    • Find Index Block
    • Is Empty Block
    • Get In List Block
    • Edit In List Block
    • Split String Block
  • Text Blocks
    • Text Block
  • Quest Blocks
    • Quest Block
    • Continue Check Block
    • Dialog Block
    • Take Item Block
    • Has Item Block
    • Option Block
    • Option Dialog Block
    • Promise Block
    • Stage Block
    • Switch Stage Block
    • Update Quest Block
    • End Quest Block
    • Start Quest Block
    • Send Message Block
    • User Inventory Block
    • NPC Block
    • Set Adventure Block
    • Remove Adventure Block
    • New Adventure Class Block
  • Item Blocks
    • Dummy Item Block
    • Weapon Item Block
    • Healing Item Block
    • Helmet Item Block
    • Chestplate Item Block
    • Boots Item Block
    • Ring Item Block
  • Import Blocks
    • Import Adventure Block
  • Enemy Blocks
    • New Enemy Block
  • Locations Blocks
    • New Location Block
    • Search Data Block
    • Travel Data Block
Powered by GitBook
On this page
  • Starting out
  • Adding the enemy
  • Adding Item Drops
  1. Guides

Creating an Enemy

PreviousStage 3NextCreating a Location

Last updated 6 years ago

So, you want to create an enemy, eh? Oh boy, do I have some good news for you, because in this guide, that's exactly what we're going to do, let's go!

Please note that this guide will only go over how to create the enemy and properly setting it for the user, and as such will not have the context of stages.

Starting out

So, to start out, we need to drag out the from the Imports category in the toolbox in order to be able to set the users adventure later, and we need to place it above our Quest wrapper block.

Once that's done, drag a to the workspace from the Quest category and leave it there for now.

After this, drag a to the workspace.

Next up, drag a to the workspace and attach it to the Remove Adventure block we just added.

Then, drag a to the workspace and attach to the inside of the Promise block we just added.

Once done, it should something like this:

Adding the enemy

We're done with the groundwork, great!

Let's add the enemy itself.

Refering to the documentation of the enemy block, we can see that we need to fill in all the values, so for this guide, let's say our enemy is level 10, has 1000 HP, does 5 to 10 damage and is named Scary Monster.

Along with this, let's say it drops 100 to 150 gold, and the same amount of XP, and that it drops one rock which has the ID 42 that we can use later to check if the enemy has been killed.

Adding Item Drops

To do this, drag a and attach it to the Set adventure block.

To add our rock, we need to drag a block and set it to only have one item by clicking the cogwheel icon and then dragging two of the three item blocks to the grey area, then close it by clicking the cogwheel again.

Lastly, add a and add it to the List block we added, and add the ID of the rock in.

New Enemy Block
Create List With
Text Block
Import Adventure Block
New Adventure Class Block
Remove Adventure Block
Promise Block
Set Adventure Block
Stage 1 done
Set adventure block with enemy
Enemy block filled in
List with one item
Enemy adding done