1
This commit is contained in:
parent
5da88825d1
commit
ac9204557c
@ -138,6 +138,7 @@ enum BuffEffectType_e
|
|||||||
kBET_CliEffect1 = 19, //僵尸被动光环减速(客户端表现用)
|
kBET_CliEffect1 = 19, //僵尸被动光环减速(客户端表现用)
|
||||||
kBET_CliEffect2 = 20, //僵尸被动光环毒物(客户端表现用)
|
kBET_CliEffect2 = 20, //僵尸被动光环毒物(客户端表现用)
|
||||||
kBET_CliEffect3 = 21, //僵尸被动光环地震(客户端表现用)
|
kBET_CliEffect3 = 21, //僵尸被动光环地震(客户端表现用)
|
||||||
|
kBET_CliEffect4 = 22, //被拖拽(客户端表现用)
|
||||||
kBET_End
|
kBET_End
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1919,7 +1919,12 @@ void Human::_UpdateSpecMove()
|
|||||||
}
|
}
|
||||||
RemoveBuffByEffectId(kBET_JumpTo);
|
RemoveBuffByEffectId(kBET_JumpTo);
|
||||||
}
|
}
|
||||||
if (GetBuffByEffectId(kBET_BePull)) {
|
buff = GetBuffByEffectId(kBET_BePull);
|
||||||
|
if (buff) {
|
||||||
|
MetaData::Buff* new_buff = MetaMgr::Instance()->GetBuff(1039);
|
||||||
|
if (new_buff) {
|
||||||
|
AddBuff(this, new_buff, 1);
|
||||||
|
}
|
||||||
RemoveBuffByEffectId(kBET_BePull);
|
RemoveBuffByEffectId(kBET_BePull);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -3080,7 +3085,7 @@ void Human::ProcBuffEffect(Human* caster, Buff* buff)
|
|||||||
{
|
{
|
||||||
room->xtimer.AddDeadLineTimerAndAttach
|
room->xtimer.AddDeadLineTimerAndAttach
|
||||||
(
|
(
|
||||||
SERVER_FRAME_RATE * buff->meta->param1 / 1000.0f,
|
SERVER_FRAME_RATE * buff->meta->param1,
|
||||||
a8::XParams()
|
a8::XParams()
|
||||||
.SetSender(this)
|
.SetSender(this)
|
||||||
.SetParam1(caster)
|
.SetParam1(caster)
|
||||||
|
@ -2664,11 +2664,13 @@ void Room::AddPlayerPostProc(Player* hum)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (GetRoomMode() == kZombieMode) {
|
if (GetRoomMode() == kZombieMode) {
|
||||||
|
#ifdef DEBUG
|
||||||
#if 0
|
#if 0
|
||||||
hum->ChangeToRace(kZombieRace, 3);
|
hum->ChangeToRace(kZombieRace, 2);
|
||||||
#else
|
#else
|
||||||
hum->ChangeToRace(kHumanRace, 1);
|
hum->ChangeToRace(kHumanRace, 1);
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
xtimer.AddRepeatTimerAndAttach
|
xtimer.AddRepeatTimerAndAttach
|
||||||
|
@ -411,7 +411,7 @@ Human* ZombieModeAI::GetTarget()
|
|||||||
target = nullptr;
|
target = nullptr;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#if 0
|
#if 1
|
||||||
if (target->IsPlayer()) {
|
if (target->IsPlayer()) {
|
||||||
target = nullptr;
|
target = nullptr;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user