public PersistEffect Copy(PersistEffect origin) { time = origin.time; id = origin.id; TickHpChange.Copy(origin.TickHpChange); TickPeriod = origin.TickPeriod; changeAbilities = origin.changeAbilities; increaseStack = origin.increaseStack; maxStack = origin.maxStack; stackAccumulateEffect.Copy(origin.stackAccumulateEffect); return(this); }
public InstantEffect Copy(InstantEffect origin) { hpChange.Copy(origin.hpChange); isCleanse = origin.isCleanse; return(this); }