Spells stuff (#153)
* -add: Create and remove blood spells using verbs. * - add: Blood spells now have charges and disappear. * - add: Localize spells. * - add: New blood spells.
This commit is contained in:
@@ -680,8 +680,13 @@ namespace Content.Shared.Cuffs
|
||||
if (cuff.BreakOnRemove)
|
||||
{
|
||||
QueueDel(cuffsToRemove);
|
||||
var trash = Spawn(cuff.BrokenPrototype, Transform(cuffsToRemove).Coordinates);
|
||||
_hands.PickupOrDrop(user, trash);
|
||||
// WD EDIT START
|
||||
if (cuff.BrokenPrototype != null)
|
||||
{
|
||||
var trash = Spawn(cuff.BrokenPrototype, Transform(cuffsToRemove).Coordinates);
|
||||
_hands.PickupOrDrop(user, trash);
|
||||
}
|
||||
// WD EDIT END
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user