EventHelperAddRandomMedicineToRole 方法 |
添加随机品级的药物
命名空间: GameData.Domains.TaiwuEvent.EventHelper程序集: GameData (在 GameData.exe 中) 版本:1.0.0
语法public static ItemKey AddRandomMedicineToRole(
Character character,
short itemSubType,
int amount,
sbyte expectedGrade = -1
)
参数
- character Character
- 角色
- itemSubType Int16
- 物品子类型,必须属于药物大类(药物、毒药)
- amount Int32
- 数量
- expectedGrade SByte (Optional)
- 预期等级,不填为完全随机
返回值
ItemKey
参见