Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
Development
Nov 28, 2018, 10:10 am
By Keirath
First Immortal
Oct 12, 2018, 12:02 pm
By GatewaySysop
Bug in do_climb( )
Jun 5, 2018, 5:31 pm
By joeyfogas
question on overland code
May 31, 2018, 10:03 am
By joeyfogas
KaVir's Protocol Snip
May 15, 2018, 7:57 pm
By joeyfogas
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl

Members: 0
Guests: 20
Stats
Files
Topics
Posts
Members
Newest Member
481
3,740
19,397
638
IgnacioBol
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » SmaugFUSS » do_shove missing a class and ...
Forum Rules | Mark all | Recent Posts

do_shove missing a class and a few races...
< Newer Topic :: Older Topic > Not exactly a bug but hard to notic

Pages:<< prev 1 next >>
Post is unread #1 Apr 13, 2005, 9:24 am   Last edited Apr 13, 2005, 9:28 am by GatewaySysop
Go to the top of the page
Go to the bottom of the page

GatewaySysop
Conjurer
GroupMembers
Posts396
JoinedMar 7, 2005

Yet another interesting find while adding class and searching for references to other classes. This was in clans.c, "do_shove" AND "do_drag"

/* Check for class, assign percentage based on that. */
   if( ch->Class == CLASS_WARRIOR )
      schance = 70;
   if( ch->Class == CLASS_VAMPIRE )
      schance = 65;
   if( ch->Class == CLASS_RANGER )
      schance = 60;
   if( ch->Class == CLASS_DRUID )
      schance = 45;
   if( ch->Class == CLASS_CLERIC )
      schance = 35;
   if( ch->Class == CLASS_THIEF )
      schance = 30;
   if( ch->Class == CLASS_MAGE )
      schance = 15;


Someone should probably put paladins and augurers in there since they're stock classes.

ALSO further down in the same functions I found this:

if( ch->race == 1 )
      race_bonus = -3;

   if( ch->race == 2 )
      race_bonus = 3;

   if( ch->race == 3 )
      race_bonus = -5;

   if( ch->race == 4 )
      race_bonus = -7;

   if( ch->race == 6 )
      race_bonus = 5;

   if( ch->race == 7 )
      race_bonus = 7;

   if( ch->race == 8 )
      race_bonus = 10;

   if( ch->race == 9 )
      race_bonus = -2;


I know why race 5 is missing, that's "_vampire_" which isn't used, but I can't see why the other races above 9 aren't here. I believe stock smaug/fuss goes up to 14.

Not overly important, not really a "bug" either, but somewhat odd that it's missing.
       
Pages:<< prev 1 next >>