Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- A basic monster script skeleton you can copy and modify for your own creations.
- comments = {"That saber looks sharp...", "Try not to get deleted.", "The hall is in ruins."}
- commands = {"Act 1", "Act 2", "Act 3"}
- randomdialogue = {"Just [effect:shake]die [effect:none]already.", "You're going to regret your actions.", "Actions have consequences."}
- sprite = "empty" --Always PNG. Extension is added automatically.
- name = "Hunter S"
- hp = 32000
- atk = 32
- def = 32
- xp = 99999
- gold = 0
- check = "S-Rank Maverick Hunter.\n"
- dialogbubble = "right" -- See documentation for what bubbles you have available.
- canspare = false
- cancheck = true
- SetBubbleOffset(45, 120)
- SetSliceAnimOffset(0, 90)
- SetDamageUIOffset(0, 60)
- -- Happens after the slash animation but before
- function HandleAttack(attackstatus)
- if attackstatus == -1 then
- -- player pressed fight but didn't press Z afterwards
- else
- -- player did actually attack
- end
- end
- -- This handles the commands; all-caps versions of the commands list you have above.
- function HandleCustomCommand(command)
- if command == "ACT 1" then
- currentdialogue = {"Selected\nAct 1."}
- elseif command == "ACT 2" then
- currentdialogue = {"Selected\nAct 2."}
- elseif command == "ACT 3" then
- currentdialogue = {"Selected\nAct 3."}
- end
- BattleDialog({"You selected " .. command .. "."})
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement