<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Buff on PlumePHP</title><link>https://plumephp.com/tags/buff/</link><description>Recent content in Buff on PlumePHP</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Thu, 06 May 2021 15:08:00 +0800</lastBuildDate><atom:link href="https://plumephp.com/tags/buff/index.xml" rel="self" type="application/rss+xml"/><item><title>临时属性快照架构：Buff、装备和活动加成如何在结算时说得清</title><link>https://plumephp.com/game-server-temporary-attribute-snapshot-architecture/</link><pubDate>Thu, 06 May 2021 15:08:00 +0800</pubDate><guid>https://plumephp.com/game-server-temporary-attribute-snapshot-architecture/</guid><description>&lt;h2 id="背景看似边缘的功能往往会触到核心状态"&gt;背景：看似边缘的功能，往往会触到核心状态&lt;/h2&gt;
&lt;p&gt;角色属性不是一组静态数字。装备、Buff、队伍光环、活动加成、地图效果、临时药水都会影响它。玩家进入战斗时是一个属性，战斗结算时装备可能已经变化，活动加成也可能过期。如果服务端结算时重新读当前属性，就会出现“当时打出来的结果”和“后来结算的结果”不一致。&lt;/p&gt;</description></item></channel></rss>