RealmsMud / RealmsCode

RealmsCode
GNU Affero General Public License v3.0
5 stars 2 forks source link

Hold spell refactor, racial quirks first pass, many other additions/fixes #193

Closed ocelot134269 closed 11 months ago

ocelot134269 commented 1 year ago

-Refactored hold-person and added new hold spells, and added all functionality around them across the code -Entries/logic added into combat system for MARA and LINOTHAN capabilities -Added racial and class weaponskill modifiers for various weapontypes (racial quirks) -Added miss modification bonuses/penalties for various monTypes vs various races (racial quirks) -Cleaned up some old copy/paste "function over form" Bane-ness in comments in various places :P -Adjusted some alignment requirements in various places to account for additional alignment tiers -Added monType information to displayCreature() so players can see mob type -Added Player::canUseWands() function for future use (doesn't do anything now) -Added Creature::checkResistEnchantments() function for hold spells and also for fear and scare. It checks resistances by race/class and monType, as well as handles which hold spells can work on what -Added getWisdom(), getAgility(), getElusiveness(), and getWillpower(), which return stat averages of various stats representing those things. The hold spells use getWillpower() and getWisdom(). Gore attack (below) uses getAgility(), and getElusiveness() isn't used yet, but is available now. -Added more "is" functions to monTypes..i.e. monType::isPlant(), isElemental(), isMindless(), etc...used by various hold spells -Changed free-action into an effect, and coded it to remove all hold spells; cleaned up existing P_FREE_ACTION flags -Fixed radiation spell to be the correct MP...was 6, supposed to be 18 based on its helpfile -Fixed a crash bug with the dispel-magic spells -Added sexes and monTypes to bard and mage conjure mobs, and druid/gradius ones all are monType elemental now -Added monType, monType name, diety, deity name, and race name to List for players/monsters -Adjusted List so it separates .area and .id into different columns -Fixed camouflage pulse effect in python to have output -Added initial armor skills for Linothan, Mara, and Jakar -Added greater-invis to *gcast -Added gore attack for minotaurs - added gore skill to existing minotaurs at 75% max of player level (racial quirks) -Reduced timer for kick by 3 sec. Was 12 for monks/fighters and 15 for everbody else. Now it's 9/12. -Reduced chances significantly of armor and weapons losing shots -Fixed ambush to be same as backstab regarding chance to lose shots (was a bug)

ocelot134269 commented 1 year ago

-bumped version to 2.5.9

ocelot134269 commented 1 year ago