Magic redesign (#594)
* water spell textures * water creation spell * mana consume, and mana glove * remove mana transfer ring * Update migration.yml * copy Wizden loadout PR * add sprite component to all spells * spell dummy loadouts * delete spell traits * really give spells from loadouts * update crates fill and demiplane spawners * beer creation spell, fix passivedamage * Update PassiveDamageSystem.cs
This commit is contained in:
@@ -90,6 +90,9 @@ public sealed class LoadoutSystem : EntitySystem
|
||||
|
||||
public string GetName(LoadoutPrototype loadout)
|
||||
{
|
||||
if (loadout.DummyEntity is not null && _protoMan.TryIndex<EntityPrototype>(loadout.DummyEntity, out var proto))
|
||||
return proto.Name;
|
||||
|
||||
if (_protoMan.TryIndex(loadout.StartingGear, out var gear))
|
||||
{
|
||||
return GetName(gear);
|
||||
|
||||
Reference in New Issue
Block a user