Inherits some property from looter to looted

inheritLooter({looted, looter, {
looterProperty: 'equipped.color',
lootedProperty: 'item.color'
default: 'red',
}})
  • Parameters

    • args: {
          args: {
              default?: any;
              lootedProperty?: string;
              looterProperty?: string;
              property?: string;
          };
          looted: LootTableEntryResult;
          looter: any;
      }
      • args: {
            default?: any;
            lootedProperty?: string;
            looterProperty?: string;
            property?: string;
        }
        • Optionaldefault?: any
        • OptionallootedProperty?: string
        • OptionallooterProperty?: string
        • Optionalproperty?: string
      • looted: LootTableEntryResult
      • looter: any

    Returns void