User Name:


Forgot your password?
Vote for Us!
 adding a new stat to OSET
Yesterday, 6:02 pm
By joeyfogas
alias snippet fix-like hack
Mar 17, 2018, 6:14 pm
By Vladaar
help with debug?
Mar 17, 2018, 5:52 pm
By joeyfogas
features of a good MUD
Mar 17, 2018, 1:06 am
By GatewaySysop
All skills to a class?
Mar 15, 2018, 11:43 pm
By joeyfogas
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
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Users Online
CommonCrawl, Google, joeyfogas, Yandex, DotBot

Members: 1
Guests: 13
Newest Member
Today's Birthdays
Gatz (33)
Related Links
» SmaugMuds.org » Codebases » SWFOTE FUSS » Using the setforcer command.
Forum Rules | Mark all | Recent Posts

Using the setforcer command.
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Aug 5, 2011, 11:49 am
Go to the top of the page
Go to the bottom of the page

JoinedAug 5, 2011

After using the setforcer command and confirming within the player file that the relevant skills (as I understand them) are at max, the "lightsabers" weapon skill doesn't appear on the players' skill list. Additionally, the Jedi trainer says that the player isn't yet ready to practice that skill. The lightsaber weapon skill is at max in the player file and the character wields lightsabers without issue, is able to whirlwind and so forth.

Does anyone have any insight as to why the weapon skill's not showing up? Thanks.
Post is unread #2 Aug 5, 2011, 3:28 pm   Last edited Aug 5, 2011, 3:44 pm by ayuri
Go to the top of the page
Go to the bottom of the page

JoinedJun 13, 2008

As far as I can remember, lightsaber isn't an actual weapon skill.
Your valid weapon's are blasters, bowcasters, force pikes, launchers and vibro-blades. Now, you can add the lightsaber into the weapons skill table in the pfile but I'm pretty sure it doesn't do anything. Looking at a few of the forcers in my game, no one has the lightsaber weapon skill except the default forcer we setup to 'train' people.

I do see that in fight.c if I'm reading things right, Lightsaber's are not receiving any sort of bonus to their attacks:
int weapon_prof_bonus_check( CHAR_DATA *ch, OBJ_DATA *wield, int *gsn_ptr )
    int bonus;

    bonus = 0;  *gsn_ptr = -1;
    if ( !IS_NPC(ch) && wield )
       default: *gsn_ptr = -1;          break;
           case 3:      *gsn_ptr = gsn_lightsabers;     break;
           case 2:  *gsn_ptr = gsn_vibro_blades;    break;
           case 4:  *gsn_ptr = gsn_flexible_arms;   break;
           case 5:  *gsn_ptr = gsn_talonous_arms;   break;
           case 6:  *gsn_ptr = gsn_blasters;    break;
           case 8:  *gsn_ptr = gsn_bludgeons;   break;
           case 9:  *gsn_ptr = gsn_bowcasters;  break;
           case 11: *gsn_ptr = gsn_force_pikes; break;

    if ( *gsn_ptr != -1 )
      bonus = (int) ( ch->pcdata->learned[*gsn_ptr] );

    if ( IS_NPC(ch) && wield )
          bonus = get_trust(ch);
    return bonus;

I should say I am really lost when it comes to the fight code in smaugfuss and its derivatives.
Hope it helps,
Pages:<< prev 1 next >>