Need Help Modding Species Aptitudes


Questions, Explanations, Howtos

Dungeon Dilettante

Posts: 1

Joined: Sunday, 31st July 2016, 19:30

Post Sunday, 31st July 2016, 19:44

Need Help Modding Species Aptitudes

Basically, exactly what I said above. I've been fiddling with Crawl for a few days now, trying to find a way to mess with a few species' aptitudes. I've been digging around online trying to find a way to quickly and easily do this, but have had no luck. I'm not sure why what I want to do seems so complicated, in my (admittedly very limited) coding experience, what I'm trying to do should be as simple as finding and changing a few integers. Any help would be appreciated, whether it's a tip or two or just flat out telling me "do this".

For those interested, I'd specifically like to make it so certain species have a "preferred" weapon type, and make mummies less horrendously bad at everything.
User avatar

Dungeon Master

Posts: 502

Joined: Wednesday, 7th March 2012, 13:25

Location: Lexington, KY, US

Post Monday, 1st August 2016, 03:11

Re: Need Help Modding Species Aptitudes

See aptitudes.h. For example, if you wanted to give mummies a Staves aptitude of 0 (instead of the current -2), you would change:
  Code:
APT(SP_MUMMY,           SK_STAVES,         -2),

to
  Code:
APT(SP_MUMMY,           SK_STAVES,         0),

Return to Coding

Who is online

Users browsing this forum: No registered users and 5 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.