You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
583 B
21 lines
583 B
1 month ago
|
using ProtoCSClass;
|
||
|
using xFrame;
|
||
|
|
||
|
namespace CoreGame.Render
|
||
|
{
|
||
|
public class Handle_ChangeProp : BaseHandle
|
||
|
{
|
||
|
public override void DoHandle(int eid, object msg)
|
||
|
{
|
||
|
var combatEntity = Contexts.Combat.GetEntity(eid);
|
||
|
if (msg is HeroPropViewOne changeProp)
|
||
|
{
|
||
|
PropertySrv.Reset_HeroBaseProps(combatEntity, changeProp, CoreUIBridge.BattleInfoParams.cacheHeroProps);
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
XLog.LogWarning("Handle_ChangeProp DoHandle error");
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|