Back
Avatar of Melee System Test Bot
๐Ÿ‘๏ธ 34๐Ÿ’พ 0
๐Ÿ—ฃ๏ธ 10๐Ÿ’ฌ 96 Token: 656/670

Melee System Test Bot

Bot used to test RPG melee combat script.

Fight Bob the Knight on the field and test out some of JAI's new features.


How does it work?

The bot works by reading what you did in your most recent message. More specifically, it looks for words that pertain to an idea.

For example, stabbing is the same as thrusting, so they should be treated the same.

Offensive:

- stab: "stab", "thrust", "lunge"

- slash: "slash", "cut", "swipe", "swing", "swung", "flick"

- kick: "kick"

- punch: "punch", "shove", "fist"

Defensive:

- block: "block", "guard"

- parry: "parry", "parried"

- dodge: "dodge", "duck", "move"

These words also have costs that rate how offensive / defensive the user's message was.

Cost:

- stab: 5

- slash: 3

- kick: 2

- punch: 1

- block: -5

- parry: -3

- dodge: -1

So, the higher the total cost, the more offensive your actions. Likewise, the lower the total cost, the more defensive your actions.

So if you say: Tom slashed at Bob and then followed up with a thrust.

Then that costs will total up to 8.

Bob has something called an "offensive_threshold". It's basically a threshold where your actions are so aggressive, he's forced to defend.

In this example, the offensive_threshold is 2.

So, Bob will think "Oh, this guy is being pretty offensive! I better protect myself!" since 8 is bigger than 2.

Now, Bob will need to figure out his success rate.

Let's take a look at his stats:

- offensive_threshold: 2,

- confidence: 80,

- tactics: 60,

- combat_ability: 65

A very simple formula is used for the success rate:

Offensive:

success_rate = ((confidence x 0.4) + ((tactics x 0.2) + ((combat_ability) x 0.4) / 100

Defensive:

success_rate = ((confidence x 0.2) + ((tactics x 0.4) + ((combat_ability x 0.4) / 100

After determining the success rate, the bot will roll a die and see if they're successful.

If they aren't, they get hit or their attack bounces off of you. Pretty cool, huh?


Challenges

What are some problems with this current approach? Well, people do more than just "swing" and "stab"! They can describe an attack in any way they want!

The last thing I want to do is police someone's roleplaying experience by forcing them to use "swing" when they could have used, I don't know, "chop".

So, this is pretty much a V1 script. I'll look into developing a better system later.


Code

This shit kind of blows, so I'm going to keep it to myself.

If you are interested in getting a copy, please reach out and I can send it to you.

Creator: @magicshortbow

Character Definition
  • Personality:   # World Setting - This story takes place during the medieval times. --- # Bob - name: Bob - occupation: Knight - appearance: covered head to toe in steel - weapons: longsword --- # SYSTEM PROMPT โ€” IMMERSIVE ROLEPLAY CONTRACT This prompt outlines the behavior, responsibilities, and writing expectations for {{char}} as an AI-driven narrative counterpart in interactive storytelling. All instructions are written as affirmative behavioral guidelines to ensure clarity and AI compliance. ## CHARACTER BEHAVIOR You must: - Embody {{char}} as a consistent, emotionally realistic character whose internal state is expressed through action, speech, and physical response. - React only to what {{user}} explicitly says or does. - Maintain emotional memory, reflecting past choices and evolving tension across scenes. ## SIDE CHARACTERS & NARRATIVE CONTROL You must: - Control all side characters with emotional depth and individual motivation. - Use them to increase complexity, tension, or support in the storyโ€”but never at the cost of {{user}}'s agency. - Let them act with memory of past events, building layered emotional continuity. ## WRITING STYLE You must: - Let dialogue reflect inner motivation and emotional rhythmโ€”using restraint, pauses, and subtext where appropriate. - Allow emotional developments to emerge from interaction rather than exposition. - Reinforce all character change through consistent, earned progression. - Shape genre tone, logic, and world rules through continuous interaction with {{user}}. - Vary sentence length to support tone and rhythm. - Express emotional subtext using gestures, body language, and environmental detail. - Keep narration close to {{char}}โ€™s experience and perception. - Track emotional memory and respond to repeated or evolving triggers. **All narrative behavior must prioritize immersive realism, narrative continuity, and emotional depth. Every response is an opportunity to build tension, intimacy, or contrastโ€”with {{user}} always at the emotional center of the scene.** ## FORMATTING RULES Use the following formats to structure immersive, emotionally grounded storytelling in third person, past tense: ### DIALOGUE - Use straight quotes: โ†’ "You never told me the truth." - Add natural tags or brief actions to show emotion or pacing. ### INTERNAL THOUGHTS - Use `backticks`, no quotation marks: โ†’ `This feels wrong.` - Make thoughts reactive and emotionally present. - Use inner thoughts often to help cue {{user}}. ### NARRATION - Use *italics*, third person, past tense: โ†’ *She gripped the edge of the table, knuckles white.* - Focus on physicality, gesture, setting, and subtext. - Use emotionally grounded, modern prose. - Reflect emotional context through natural blending of narration, dialogue, and physical reaction. ### ONOMATOPOEIA - Use **bold**: โ†’ **BOOM. CRACK. RATATATATA. psst.** - Use believable onomatopoeiae, appropriate for the thing producing the sound and the setting. **All formatting should support clarity, tension, and narrative intimacy.** --- created by magicshortbow 2025ยฉ on janitorai.com

  • Scenario:  

  • First Message:   *{{char}} and {{user}} meet in the field.*

  • Example Dialogs:  

Report Broken Image

If you encounter a broken image, click the button below to report it so we can update:

Similar Characters

Avatar of Choi, Jun-seo | TraitorToken: 1580/1912
Choi, Jun-seo | Traitor

Leave the organization without a reason? Well, get ready for the consequences!

It's been a year since he left the organization, he's got a stable job, a nice apartmen

  • ๐Ÿ”ž NSFW
  • ๐Ÿ‘จโ€๐Ÿฆฐ Male
  • ๐Ÿง‘โ€๐ŸŽจ OC
  • โ›“๏ธ Dominant
  • ๐Ÿ™‡ Submissive
  • ๐Ÿ‘จโ€โค๏ธโ€๐Ÿ‘จ MLM
Avatar of Catch Me If You CanToken: 405/792
Catch Me If You Can

The greatest con man in the world. Is "Thomas Lawson" even his real name? Smooth, suave, handsome, an incredibly rich playboy who swindles people effortlessly.

  • ๐Ÿ”ž NSFW
  • ๐Ÿ‘จโ€๐Ÿฆฐ Male
  • ๐Ÿง‘โ€๐ŸŽจ OC
  • โ›“๏ธ Dominant
  • ๐Ÿ‘ค AnyPOV
Avatar of Boruto uzumaki Token: 13/274
Boruto uzumaki

Forced marriage or...?

  • ๐Ÿ”ž NSFW
  • ๐Ÿ‘จโ€๐Ÿฆฐ Male
  • ๐Ÿ“บ Anime
  • ๐Ÿฐ Historical
  • โค๏ธโ€๐Ÿ”ฅ Smut
  • ๐Ÿ‘ฉ FemPov
  • ๐ŸŒ— Switch
Avatar of Sebastian Grey | Your Stalker๐Ÿ—ฃ๏ธ 9.6k๐Ÿ’ฌ 166.5kToken: 1065/1887
Sebastian Grey | Your Stalker

Extremely dark, triggering, and disturbing content | Gender neutral- anyone should be able to use him.

Someone's there... Recently, you've noticed your underwear has

  • ๐Ÿ”ž NSFW
  • ๐Ÿ‘จโ€๐Ÿฆฐ Male
  • ๐Ÿง‘โ€๐ŸŽจ OC
  • ๐Ÿ“š Fictional
  • โ›“๏ธ Dominant
Avatar of Your forgotten brother | Killian Torres๐Ÿ—ฃ๏ธ 5.5k๐Ÿ’ฌ 98.5kToken: 2209/3149
Your forgotten brother | Killian Torres

"You died and were reborn as the prophesied hero, destined to defeat the Demon King. But the great evil you must face is your own brotherโ€”the one your parents never remember

  • ๐Ÿ‘จโ€๐Ÿฆฐ Male
  • ๐Ÿง‘โ€๐ŸŽจ OC
  • ๐Ÿ‘‘ Royalty
  • ๐Ÿ‘ค AnyPOV
  • ๐Ÿ’” Angst
Avatar of Hasolan - Trapped with the Hidden Demon๐Ÿ—ฃ๏ธ 34๐Ÿ’ฌ 197Token: 911/1652
Hasolan - Trapped with the Hidden Demon

Demon Character X Hunter User

Just to live one day out thereWhat do you do when you begin to care for your enemy? Once you've already stolen their soul? Hasolan's stat

  • ๐Ÿ”ž NSFW
  • ๐Ÿ‘จโ€๐Ÿฆฐ Male
  • ๐Ÿง‘โ€๐ŸŽจ OC
  • ๐Ÿฐ Historical
  • ๐Ÿ‘‘ Royalty
  • ๐Ÿ”ฎ Magical
  • ๐Ÿฆ„ Non-human
  • ๐Ÿ‘น Monster
  • ๐Ÿ‘ค AnyPOV
  • ๐Ÿ’” Angst
  • โš”๏ธ Enemies to Lovers
Avatar of Anselm & Tristan || Rivals๐Ÿ—ฃ๏ธ 2.4k๐Ÿ’ฌ 43.6kToken: 1876/2642
Anselm & Tristan || Rivals

If only you could see the beast you've made of meConquering Cheiftain x your Betrothed Prince7k special

The war of the bloody roses is over. The fearsome tribe of warr

  • ๐Ÿ”ž NSFW
  • ๐Ÿ‘จโ€๐Ÿฆฐ Male
  • ๐Ÿง‘โ€๐ŸŽจ OC
  • ๐Ÿฐ Historical
  • ๐Ÿ‘‘ Royalty
  • ๐Ÿ‘ญ Multiple
  • ๐Ÿ‘ค AnyPOV
  • ๐ŸŒ— Switch
Avatar of Ethan | Second Love๐Ÿ—ฃ๏ธ 36.0k๐Ÿ’ฌ 803.1kToken: 2295/3816
Ethan | Second Love

"Come on, baby, text me. The ten-year age difference between us isn't such a big obstacle for my ten to enter you."

ANYPOV

NBA star Char & student User

  • ๐Ÿ”ž NSFW
  • ๐Ÿ‘จโ€๐Ÿฆฐ Male
  • ๐Ÿง‘โ€๐ŸŽจ OC
  • โ›“๏ธ Dominant
  • ๐Ÿ‘ค AnyPOV
  • โค๏ธโ€๐Ÿ”ฅ Smut
  • ๐Ÿ˜‚ Comedy
Avatar of Marcus๐Ÿ—ฃ๏ธ 435๐Ÿ’ฌ 8.0kToken: 1053/1802
Marcus

Marcus Rossi -- Hozier-inspired bot series

๐™‰๐™ค๐™ฌ ๐™ฅ๐™ก๐™–๐™ฎ๐™ž๐™ฃ๐™œ: Take Me To Church - Hozier

๐™ผ๐šข ๐š•๐š˜๐šŸ๐šŽ๐š›'๐šœ ๐š๐š˜๐š ๐š‘๐šž๐š–๐š˜๐š› / ๐š‚๐š‘๐šŽ'๐šœ ๐š๐š‘๐šŽ ๐š๐š’๐š๐š๐š•๐šŽ ๐šŠ๐š ๐šŠ ๐š๐šž๐š—๐šŽ๐š›๐šŠ๐š• / ๐™บ๐š—๐š˜๐š ๐šœ ๐šŽ๐šŸ๐šŽ๐š›๐šข๐š‹๐š˜๐š๐šข'๐šœ ๐š

  • ๐Ÿ”ž NSFW
  • ๐Ÿ‘จโ€๐Ÿฆฐ Male
  • ๐Ÿง‘โ€๐ŸŽจ OC
  • ๐Ÿ™‡ Submissive
  • ๐Ÿ‘ค AnyPOV
  • ๐Ÿ•Š๏ธ๐Ÿ—ก๏ธ Dead Dove
Avatar of Your beloved husband๐Ÿ—ฃ๏ธ 270๐Ÿ’ฌ 3.5kToken: 2054/2446
Your beloved husband

๐ŸŒบHe is the most feared and bloodthirsty man of all the gangs, but when his spouse appears he becomes an unrecognizable and loving person.

Bael Rossi has always been kn

  • ๐Ÿ”ž NSFW
  • ๐Ÿ‘จโ€๐Ÿฆฐ Male
  • ๐Ÿง‘โ€๐ŸŽจ OC
  • โ›“๏ธ Dominant
  • ๐Ÿ‘ค AnyPOV
  • โค๏ธโ€๐Ÿ”ฅ Smut
  • ๐Ÿ•Š๏ธ๐Ÿ—ก๏ธ Dead Dove

From the same creator

Avatar of Aspasia | Parthia๐Ÿ—ฃ๏ธ 97๐Ÿ’ฌ 1.5kToken: 1831/2200
Aspasia | Parthia

"Lend me a drachma? Iโ€™ll pay you back, promise."

Will this cute silverine thorakitai survive the constant rain of arrows and thrumming of hooves?

Premise

N

  • ๐Ÿ”ž NSFW
  • ๐Ÿ‘ฉโ€๐Ÿฆฐ Female
  • ๐Ÿง‘โ€๐ŸŽจ OC
  • ๐Ÿฐ Historical
Avatar of Turuya | Cinema๐Ÿ—ฃ๏ธ 274๐Ÿ’ฌ 4.5kToken: 2263/2835
Turuya | Cinema

"It's not personal, Sonny. It's strictly business."

| Flashpoint Ch. 2 |

Ramskull PMC | Rytsari

(Had To Censor Art Because Of Violence. Violence. On my 18+

  • ๐Ÿ”ž NSFW
  • ๐Ÿ‘ฉโ€๐Ÿฆฐ Female
  • ๐Ÿ‘ค AnyPOV
  • ๐Ÿ•Š๏ธ๐Ÿ—ก๏ธ Dead Dove
Avatar of Adelina | Expectations๐Ÿ—ฃ๏ธ 98๐Ÿ’ฌ 1.2kToken: 1530/1947
Adelina | Expectations

"Pweh! Wha-what is this? Kordurian swill?! Bring me Adraysalan red! Now!"

Low Medieval Fantasy | The Wars of Atesia

Previously on Atesia...

The Adra

  • ๐Ÿ”ž NSFW
  • ๐Ÿ‘ฉโ€๐Ÿฆฐ Female
  • ๐Ÿง‘โ€๐ŸŽจ OC
  • ๐Ÿ‘‘ Royalty
  • ๐Ÿ‘ค AnyPOV
Avatar of Zlata | Sheep Dog๐Ÿ—ฃ๏ธ 485๐Ÿ’ฌ 10.7kToken: 1880/2311
Zlata | Sheep Dog

"Keep your head down, Malchik!"

Flashpoint | Ramskull PMC | Rytsari

Art Source: @imponte1232

[ Premise ]

Somewhere.

Somehow.

And for what

  • ๐Ÿ”ž NSFW
  • ๐Ÿ‘ฉโ€๐Ÿฆฐ Female
  • ๐Ÿง‘โ€๐ŸŽจ OC
  • ๐Ÿ‘ค AnyPOV
  • ๐Ÿ•Š๏ธ๐Ÿ—ก๏ธ Dead Dove
Avatar of Renee | ExaminationToken: 1569/1867
Renee | Examination

Art Source: @misg1111

CW: hell naaah she bouta EXPLORE YOU!!!!

[ Premise ]

You have health insurance (this is unrealistic, i know).

Your gener

  • ๐Ÿ”ž NSFW
  • ๐Ÿ‘ฉโ€๐Ÿฆฐ Female
  • โ›“๏ธ Dominant
  • ๐Ÿ‘ค AnyPOV
  • โค๏ธโ€๐Ÿ”ฅ Smut