Example #1
0
 private void applyAttributeBuffPatch(AttributeBuffPatch patch, AttributeBuffWrapper wrapper)
 {
     applyPropertyPatch(patch.Name, () => wrapper.Name);
     applyPropertyPatch(patch.Attribute, () => wrapper.AttributeID, Buff.AttributeIDFromBuffCategoryAndID);
     applyPropertyPatch(patch.Attribute, () => wrapper.Category, Buff.CategoryFromBuffCategoryAndID);
     applyPropertyPatch(patch.Mode, () => wrapper.Mode);
     applyPropertyPatch(patch.Value, () => wrapper.Value);
 }
Example #2
0
 protected void OutputForBuff(AttributeBuffWrapper buff)
 {
     Print($"attribute: {Buff.BuffCategoryAndIDFromCategoryAndAttributeID(buff.Category, buff.AttributeID)}");
     Print($"attributeID: {buff.AttributeID}");
     Print($"category: {buff.Category}");
     Print($"name: {buff.Name}");
     Print($"mode: {buff.Mode}");
     Print($"value: {buff.Value}");
 }