Wieldable/two-handed weapons (#4554)
* wielding kinda works * rough out all the edges, wielding works nicely * popups + loc * increase damage & extra damage against whitelist * small fixes * forgot to actually do that * reviews * reviews + thing * use resistances and not extradamageagainstwhitelist * slashy * make increasedamageonwield and melee hit events work with modifiersets * Silly individual
This commit is contained in:
@@ -156,10 +156,10 @@ namespace Content.Client.Items.UI
|
||||
if (_entity == null)
|
||||
return;
|
||||
|
||||
if (_entity.TryGetComponent(out HandVirtualPullComponent? virtualPull)
|
||||
&& _entityManager.TryGetEntity(virtualPull.PulledEntity, out var pulledEnt))
|
||||
if (_entity.TryGetComponent(out HandVirtualItemComponent? virtualItem)
|
||||
&& _entityManager.TryGetEntity(virtualItem.BlockingEntity, out var blockEnt))
|
||||
{
|
||||
_itemNameLabel.Text = pulledEnt.Name;
|
||||
_itemNameLabel.Text = blockEnt.Name;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user