예제 #1
0
		internal override BattleFighterBuff optionBuffByType(BattleBuffManager manager, BuffInfo info)
		{
			manager.createBuffHolder(info.BuffAction);
			return manager.putToBuffHolder(info);
		}
예제 #2
0
		/// <summary>
		/// 1.remove old buff; 2. add new buff </summary>
		/// <param name="manager"> </param>
		/// <param name="toReplaceBuff"> </param>
		/// <param name="addBuffAction">
		/// @return </param>
		protected internal virtual BattleFighterBuff replaceBuff(BattleBuffManager manager, BattleFighterBuff toReplaceBuff, BuffInfo buffInfo)
		{
			manager.removeSingleBuff(toReplaceBuff);
			BattleFighterBuff _resultBuff = manager.putToBuffHolder(buffInfo);
			return _resultBuff;
		}