1
This commit is contained in:
parent
e9f4ed77cf
commit
d8d8b73c27
@ -11,6 +11,7 @@
|
|||||||
|
|
||||||
#include "mt/Equip.h"
|
#include "mt/Equip.h"
|
||||||
#include "mt/Buff.h"
|
#include "mt/Buff.h"
|
||||||
|
#include "mt/Param.h"
|
||||||
|
|
||||||
struct AttrAddition : public std::enable_shared_from_this<AttrAddition>
|
struct AttrAddition : public std::enable_shared_from_this<AttrAddition>
|
||||||
{
|
{
|
||||||
@ -51,7 +52,11 @@ static float CalcSpeedRateIn(list_head* head)
|
|||||||
switch (e->source_type) {
|
switch (e->source_type) {
|
||||||
case kAstChip:
|
case kAstChip:
|
||||||
{
|
{
|
||||||
e->finaly_value = e->value;
|
if (mt::Param::s().spd_eff_fac_vec.size() >= 2) {
|
||||||
|
e->finaly_value = e->value * mt::Param::s().spd_eff_fac_vec.at(1);
|
||||||
|
} else {
|
||||||
|
e->finaly_value = e->value;
|
||||||
|
}
|
||||||
s_speed_ratein_list.push_back(e->holder);
|
s_speed_ratein_list.push_back(e->holder);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user