Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experimental PR - MOBA Agents #2669

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Kitsunemitsu
Copy link
Contributor

@Kitsunemitsu Kitsunemitsu commented Jan 6, 2025

About The Pull Request

Let's agents pick from a randomly generated 3 of whatever classes exist.
Captains and Interns cannot pick a class.

These classes come with upsides and downsides.
Currently there are 3:
Healer: -10 Justice for healing skills (Don't affect yourself)
Defensive: -10 Temperance for defensive skills
Ranged: Slower melee for Gun Buffs
No Class and a random class is always available.

To:Do

  • Make it once every 30 minutes that you get to pick a class to remove abuse
  • Add a few more classes

Why It's Good For The Game

Hopefully will create a bit of randomization and replayability in our game for agents.
The idea is for something akin to CM/TGMC's MOBA update. This will take some balancing and some work, but it could be good!

But also
image

Changelog

🆑
add: Added Agent Classes
/:cl:

@Kitsunemitsu Kitsunemitsu added Do Not Merge Do not merge, untill a headcoder approves it. Feature Something new being added. labels Jan 6, 2025
//Curing
/datum/action/cooldown/agent_soothing
name = "Soothing"
desc = "Heal all humans in a 5 tile radius (except the user) by 15 HP. Costs 10SP"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
desc = "Heal all humans in a 5 tile radius (except the user) by 15 HP. Costs 10SP"
desc = "Heal all humans in a 5 tile radius (except the user) by 15 SP. Costs 10SP"

var/mob/living/carbon/human/user = owner
user.adjustSanityLoss(10)

var/obj/item/grenade/r_corp/F = new /obj/item/grenade/r_corp/lcorp(get_turf(user))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
var/obj/item/grenade/r_corp/F = new /obj/item/grenade/r_corp/lcorp(get_turf(user))
var/obj/item/grenade/r_corp/lcorp/F = new(get_turf(user))

var/list/gunsinhand = list()
for(var/obj/item/ego_weapon/ranged/Gun in shooter.held_items)
gunsinhand+=Gun
if(!LAZYLEN(gunsinhand))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use length() instead of LAZYLEN when not working with lazy lists for clarity please

Suggested change
if(!LAZYLEN(gunsinhand))
if(!LAZYLEN(gunsinhand))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Do Not Merge Do not merge, untill a headcoder approves it. Feature Something new being added.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants