[1.0.5] Cannot equip two short staffs.

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Moander
Halfling
Posts: 88
Joined: Fri Jan 06, 2012 11:48 am

[1.0.5] Cannot equip two short staffs.

#1 Post by Moander »

You cannot equip two "Short" staffs at the same time despite that they are both one-handed. You can on the other hand equip a short staff and a shield.

If this is intentional it should probably say so somewhere in the description.

[Edit] I closed this bugreport earlier but my Reaver have the same problem.

I can equip a short staff and a shield, I can equip two maces but I can not equip two short staffs
Last edited by Moander on Wed Nov 13, 2013 8:28 pm, edited 3 times in total.

Doctornull
Sher'Tul Godslayer
Posts: 2402
Joined: Tue Jun 18, 2013 10:46 pm
Location: Ambush!

Re: [1.0.5 beta] You cannot equip two one-handed staffs at o

#2 Post by Doctornull »

Have you tried equipping two non-staff one-handed weapons?

One-handed staves work the same as one-handed longswords.
Check out my addons: Nullpack (classes), Null Tweaks (items & talents), and New Gems fork.

Crim, The Red Thunder
Sher'Tul Godslayer
Posts: 2000
Joined: Fri May 07, 2004 8:26 pm
Location: Nahgharash

Re: [1.0.5 beta] You cannot equip two one-handed staffs at o

#3 Post by Crim, The Red Thunder »

Indeed. If you have corrupted strength and still can't equip, then it's a bug.
Currently playing under the name Aura of the Dawn 4 down, 227 to go!
Proud author of Orc Pit Restoration Project, Faction Allies, Dwarven Adventurer addons
SadistSquirrel wrote:DarkGod has two arms, one with an opened hand, one with a closed fist. You got the fist.

Moander
Halfling
Posts: 88
Joined: Fri Jan 06, 2012 11:48 am

Re: [1.0.5 beta] You cannot equip two one-handed staffs at o

#4 Post by Moander »

Doctornull wrote:Have you tried equipping two non-staff one-handed weapons?

One-handed staves work the same as one-handed longswords.
Dooh, you are correct. :oops:

I will blame the 14 hour meeting I had today.

Moander
Halfling
Posts: 88
Joined: Fri Jan 06, 2012 11:48 am

Re: [1.0.5] Cannot equip two short staffs.

#5 Post by Moander »

I am reopening this bug. My Reaver http://te4.org/characters/9027/tome/d0d ... 2aab69426a have the same problem as my Arcane Blade.

I can equip a short staff and a shield or two maces but I can't equip two short staffs.

From the log file:

Code: Select all

[MOUSE] pre starting drag'n'drop
[MOUSE] enabling drag from predrag
[MOUSE] ending drag'n'drop
fight: 	short elm vilestaff of illumination	Prox's Lucky Halfling Foot	::	nil	MAINHAND
fight: 	short elm vilestaff of illumination	short ash magestaff of fate	::	false	MAINHAND
fight: 	short elm vilestaff of illumination	alchemist's iron gauntlets of war-making	::	nil	MAINHAND
fight: 	short elm vilestaff of illumination	Mighty Girdle	::	nil	MAINHAND
fight: 	short elm vilestaff of illumination	grounding linen wizard hat of corrosion (#RESIST#)	::	nil	MAINHAND
fight: 	short elm vilestaff of illumination	Cloak of Deception	::	nil	MAINHAND
fight: 	short elm vilestaff of illumination	Eel-skin armour	::	nil	MAINHAND
fight: 	short elm vilestaff of illumination	Summertide Phial	::	nil	MAINHAND
fight: 	short elm vilestaff of illumination	starlit copper amulet of strength (#STATBONUS#)	::	nil	MAINHAND
fight: 	short elm vilestaff of illumination	wizard's copper ring	::	nil	MAINHAND
fight: 	short elm vilestaff of illumination	wizard's steel ring	::	nil	MAINHAND
fight: 	short elm vilestaff of illumination	Koreromitir the pair of iron boots	::	nil	MAINHAND
[SOUND] loading from	/data/sound/actions/takeoff.ogg	:=:	sound "/data/sound/actions/takeoff.ogg" : <static>
[LOG]	Aelfin wears(replacing): #00FF80##UID:1549:0#short elm vilestaff of illumination (10-12 power, 2 apr, blight damage)#LAST#.
[LOG]	
[MOUSE] pre starting drag'n'drop
[MOUSE] enabling drag from predrag
[MOUSE] ending drag'n'drop

Moander
Halfling
Posts: 88
Joined: Fri Jan 06, 2012 11:48 am

Re: [1.0.5] Cannot equip two short staffs.

#6 Post by Moander »

I took a look at the code and I think I have found the cause of the "bug".

Code: Select all

--- Returns the possible offslot
function _M:getObjectOffslot(o)
	if o.dual_wieldable and self:attr("allow_any_dual_weapons") then
		return "OFFHAND"
	else
		return o.offslot
	end
end
The "Short" staff ego does not have a dual_wieldable or a offslot property which means it will only be wield-able in the main slot.

Unless this is intentional the quickest fix would be to add a dual_wieldable = true for the "Short" and "Magewarriors short" ego in data/general/objects/egos/staves.lua

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: [1.0.5] Cannot equip two short staffs.

#7 Post by darkgod »

fixed
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

SageAcrin
Sher'Tul Godslayer
Posts: 1884
Joined: Tue Apr 10, 2012 6:52 pm

Re: [1.0.5] Cannot equip two short staffs.

#8 Post by SageAcrin »

As a note; The code perfectly mirrors the Telos Staff (Top) code, and I wasn't sure if the Reaver disallow was purposeful or not.

If it's not, Telos Top probably ought to be fixed too.

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: [1.0.5] Cannot equip two short staffs.

#9 Post by darkgod »

Nope, telos is a broken staff into two parts, one for each hands
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

SageAcrin
Sher'Tul Godslayer
Posts: 1884
Joined: Tue Apr 10, 2012 6:52 pm

Re: [1.0.5] Cannot equip two short staffs.

#10 Post by SageAcrin »

Fair enough.

Post Reply