Login
User Name:

Password:



Register

Forgot your password?
Hi - Clean SmaugFuss map/description issue..
Dec 15, 2024 7:29 pm
By Samson
AFKMud 2.2.4
Dec 10, 2024 4:09 pm
By Samson
I3 and IMC
Dec 8, 2024 6:35 pm
By Remcon
Ubuntu 22.04.5 LTS
Dec 5, 2024 5:10 pm
By Remcon
SmaugFUSS 1.8/1.9
Nov 29, 2024 11:46 am
By Remcon
SWFOTEFUSS 1.5.1
Author: Various
Submitted by: Samson
SWRFUSS 1.4.1
Author: Various
Submitted by: Samson
SmaugFUSS 1.9.5
Author: Various
Submitted by: Samson
AFKMud 2.2.4
Author: AFKMud Team
Submitted by: Samson
LOP 1.5
Author: Remcon
Submitted by: Remcon
Users Online
AhrefsBot

Members: 0
Guests: 39
Stats
Files
Topics
Posts
Members
Newest Member
494
3,808
19,707
588
Mortrex

Today's Birthdays
There are no member birthdays today.
» SmaugMuds » 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 1:49 pm   
Go to the top of the page
Go to the bottom of the page

elan
Fledgling
GroupMembers
Posts5
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 5:28 pm   Last edited Aug 5, 2011 5:44 pm by ayuri
Go to the top of the page
Go to the bottom of the page

ayuri
Magician
GroupMembers
Posts239
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.


**EDIT:
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 )
    {
    switch(wield->value[3])
    {
       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,
ayuri

Pages:<< prev 1 next >>