点击或拖拽改变大小

EventHelperTemporarilyModifyCurrMainAttributes 方法

修改角色属性并记录临时修改 - 主要属性当前值. 调用此方法前, 需要计算出修改的目标值. 此方法会对目标值做最基础的范围限定, 并执行修改. 然后会记录此次修改, 供之后回滚.

命名空间: GameData.Domains.TaiwuEvent.EventHelper
程序集: GameData (在 GameData.exe 中) 版本:1.0.0
语法
C#
public static void TemporarilyModifyCurrMainAttributes(
	Character character,
	MainAttributes targetValue
)

参数

character  Character
角色对象
targetValue  MainAttributes
改动后的目标值
参见