Skip to content

Commit

Permalink
[Apr 10 2024] - Gicker
Browse files Browse the repository at this point in the history
  Added the leadership feat.
  Speed can now affect combat bonuses. See HELP SPEED for more info.
  Characters can now multiclass with up to 5 different classes, up from 3.
  Added Knight of the Rose class
[Apr 01 2024] - Gicker
  Added the holy aura spell for clerics
  Fixed a bug where Sometimes character advancement bugged out by an unspent class feat.
  Increase max number of classes per character for multiclassing from 3 to 4
  Added the Knight of the Sword prestige class
[Mar 30 2024] - Gicker
  Modified the 'class' command (class info, class feats, etc.) so that you can now use spaces when specifying the class name to view info on.
  Added the Knight of the Crown prestige class. Has no account experience cost. See more info with 'class info knight of the crown'
  Barghest and Banshee hunt trophies were reversed by mistake. This is now fixed.
  Temporarily disabled the etheral shift travel domain power as we don't have planar travel and need to recode this ability.
  • Loading branch information
GickerLDS committed Apr 10, 2024
1 parent 143c1e9 commit 4519fce
Show file tree
Hide file tree
Showing 29 changed files with 1,507 additions and 136 deletions.
8 changes: 8 additions & 0 deletions act.h
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,14 @@ ACMD_DECL(do_grand_destiny);
ACMD_DECL(do_evoweb);
ACMD_DECL(do_evobreath);
ACMD_DECL(do_vital_strike);
ACMD_DECL(do_strength_of_honor);
ACMD_DECL(do_crown_of_knighthood);
ACMD_DECL(do_soul_of_knighthood);
ACMD_DECL(do_rallying_cry);
ACMD_DECL(do_inspire_courage);
ACMD_DECL(do_wisdom_of_the_measure);
ACMD_DECL(do_final_stand);
ACMD_DECL(do_knighthoods_flower);

/*****************************************************************************
* Begin Functions and defines for act.other.c
Expand Down
6 changes: 6 additions & 0 deletions act.informative.c
Original file line number Diff line number Diff line change
Expand Up @@ -2022,6 +2022,12 @@ void perform_cooldowns(struct char_data *ch, struct char_data *k)
send_to_char(ch, "Channel Energy Cooldown - Duration: %d seconds\r\n", (int)(event_time(pMudEvent->pEvent) / 10));
if ((pMudEvent = char_has_mud_event(k, eEVOBREATH)))
send_to_char(ch, "Eidolon Breath Weapon Cooldown - Duration: %d seconds\r\n", (int)(event_time(pMudEvent->pEvent) / 10));
if ((pMudEvent = char_has_mud_event(k, eSTRENGTHOFHONOR)))
send_to_char(ch, "Strength of Honor Cooldown - Duration: %d seconds\r\n", (int)(event_time(pMudEvent->pEvent) / 10));
if ((pMudEvent = char_has_mud_event(k, eCROWNOFKNIGHTHOOD)))
send_to_char(ch, "Crown of Knighthood Cooldown - Duration: %d seconds\r\n", (int)(event_time(pMudEvent->pEvent) / 10));
if ((pMudEvent = char_has_mud_event(k, eSOULOFKNIGHTHOOD)))
send_to_char(ch, "Crown of Knighthood Cooldown - Duration: %d seconds\r\n", (int)(event_time(pMudEvent->pEvent) / 10));

if (GET_SETCLOAK_TIMER(ch) > 0)
send_to_char(ch, "Vampire 'Setcloak' Cooldown - Duration: %d seconds\r\n", GET_SETCLOAK_TIMER(ch) * 6);
Expand Down
15 changes: 10 additions & 5 deletions act.movement.c
Original file line number Diff line number Diff line change
Expand Up @@ -3916,12 +3916,17 @@ ACMD(do_pullswitch)
int get_speed(struct char_data *ch, sbyte to_display)
{

if (!ch) return 30;

int speed = 30;

if (IS_NPC(ch) && MOB_FLAGGED(ch, MOB_MOUNTABLE))
speed = 50;

// if mounted, we'll use the mount's speed instead.
if (RIDING(ch))
return get_speed(RIDING(ch), to_display);

int speed = 30;

if (!IS_NPC(ch))
{
switch (GET_RACE(ch))
Expand All @@ -3936,9 +3941,6 @@ int get_speed(struct char_data *ch, sbyte to_display)
}
}

if (IS_NPC(ch) && MOB_FLAGGED(ch, MOB_MOUNTABLE))
speed = 50;

if (is_flying(ch))
{
if (HAS_FEAT(ch, FEAT_FAE_FLIGHT))
Expand Down Expand Up @@ -3967,6 +3969,9 @@ int get_speed(struct char_data *ch, sbyte to_display)
if (affected_by_spell(ch, SPELL_GREASE))
speed -= 10;

if (affected_by_spell(ch, AFFECT_RALLYING_CRY))
speed += 5;

// if they're slowed, it's half regardless. Same with entangled.
// if they're blind, they can make an acrobatics check against dc 10
// to avoid halving their speed, but we only want to do this is the
Expand Down
Loading

0 comments on commit 4519fce

Please sign in to comment.