1
This commit is contained in:
parent
1cc6e36f60
commit
46cdd93d4a
@ -542,6 +542,7 @@ void CallFuncBuff::ProcFlashMove()
|
||||
|
||||
void CallFuncBuff::ProcAddEnergyShield()
|
||||
{
|
||||
int buff_id = meta->buff_id();
|
||||
if (!owner->dead && !owner->downed) {
|
||||
float dur_time = meta->GetBuffParam3(this);
|
||||
if (dur_time < 0.00001f) {
|
||||
@ -1844,6 +1845,7 @@ void CallFuncBuff::OnBreakSkillPostExec()
|
||||
|
||||
void CallFuncBuff::RandAdd()
|
||||
{
|
||||
int buff_id = meta->buff_id();
|
||||
hold_param2_ = meta->GetBuffParam2(this) * 100;
|
||||
if (hold_param2_ >= a8::RandEx(0, 100)) {
|
||||
for (auto buff_id : meta->_buff_param3_int_list) {
|
||||
|
@ -14,6 +14,8 @@
|
||||
#include "mapinstance.h"
|
||||
#include "team.h"
|
||||
#include "loot.h"
|
||||
#include "ability.h"
|
||||
#include "trigger.h"
|
||||
|
||||
#include "cs_proto.pb.h"
|
||||
|
||||
@ -162,6 +164,7 @@ void Player::_CMExecCommand(f8::MsgHdr* hdr, const cs::CMExecCommand& msg)
|
||||
dmg_out,
|
||||
0,
|
||||
0);
|
||||
GetTrigger()->BeAttack(GetUniId());
|
||||
}
|
||||
} else if (cmd == "add_shield") {
|
||||
if (cmds.size() > 1) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user