Skip to content
This repository was archived by the owner on Jun 29, 2024. It is now read-only.

given_skills added to classes (attempt 2)#929

Open
ShadowLeaderJordanzo wants to merge 19 commits intoBlackstone-SS13:mainfrom
ShadowLeaderJordanzo:tempnametestbranch
Open

given_skills added to classes (attempt 2)#929
ShadowLeaderJordanzo wants to merge 19 commits intoBlackstone-SS13:mainfrom
ShadowLeaderJordanzo:tempnametestbranch

Conversation

@ShadowLeaderJordanzo
Copy link
Contributor

About The Pull Request

an attempt to be able to find a class's skills
tested and it works w/ rouge, kinda new to code base but im assuming we can tell what job/class somebody is? given thats the case, /type:: can call given_skills or stats_given if not i can try and add a text ref to the class they are

the idea: add given_skills and stats_given to the advclass datum / perhaps to job as well, not sure how jobs tie into this codebase yet
use these lists as both a ref and a way to apply stats/skills

the dream: easier to adjust skills/stats
capable of finding skills/stats of a class

Why It's Good For The Game

makes code life easier ig, i seen this and decided to take a shot at it.
in the long run it'll b a lot of replacing chunks of code which may b easy with a regex or something

an attempt to be able to find a class's skills
tested and it works w/ rouge, kinda new to code base but im assuming we can tell what job/class somebody is? given thats the case, /type:: can call given_skills or stats_given
if not i can try and add a text ref to the class they are
also added warrior, ig im making a faux const, but i don't think theres massive instances of these classes(?) so having them shouldn't be a big deal?
tested the job, after_spawn() does take care of it.
didnt test adjust_experience() i assume from looking it works the same as adjust_skillrank() idk
also warrior and rouge have both the stat and skills. amazon is there.

I DID NOT TEST change_stat!!!
COMPILE->TEST pipeline is like 3 mins for me
soemthin was runtiming and bufspe should be bufspd
made an oopsie with vars[variable], fixed it
change_stat rewritten seems fine
@ShadowLeaderJordanzo
Copy link
Contributor Author

all other jobs/classes have to b updated. ill prob get around to it this weekend if this all checks

@ShadowLeaderJordanzo
Copy link
Contributor Author

should b good

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

hallowed This s very good! Maintainers are very happy with you. Test Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments