1
This commit is contained in:
parent
bdfaf1ac33
commit
a210caad3a
@ -26,6 +26,7 @@
|
|||||||
#include "framework/cpp/httpclientpool.h"
|
#include "framework/cpp/httpclientpool.h"
|
||||||
|
|
||||||
const int GRASS_HIDE_BUFF_ID = 1016;
|
const int GRASS_HIDE_BUFF_ID = 1016;
|
||||||
|
const int REVIVE_BUFF_ID = 1003;
|
||||||
|
|
||||||
Human::Human():Entity()
|
Human::Human():Entity()
|
||||||
{
|
{
|
||||||
@ -1885,7 +1886,7 @@ void Human::Revive()
|
|||||||
status = 0;
|
status = 0;
|
||||||
ClearBuffList();
|
ClearBuffList();
|
||||||
{
|
{
|
||||||
MetaData::Buff* buff_meta = MetaMgr::Instance()->GetBuff(1003);
|
MetaData::Buff* buff_meta = MetaMgr::Instance()->GetBuff(REVIVE_BUFF_ID);
|
||||||
if (buff_meta) {
|
if (buff_meta) {
|
||||||
AddBuff(buff_meta, 1);
|
AddBuff(buff_meta, 1);
|
||||||
}
|
}
|
||||||
@ -1909,7 +1910,7 @@ void Human::ImmediatelyRevive()
|
|||||||
status = 0;
|
status = 0;
|
||||||
ClearBuffList();
|
ClearBuffList();
|
||||||
{
|
{
|
||||||
MetaData::Buff* buff_meta = MetaMgr::Instance()->GetBuff(1003);
|
MetaData::Buff* buff_meta = MetaMgr::Instance()->GetBuff(REVIVE_BUFF_ID);
|
||||||
if (buff_meta) {
|
if (buff_meta) {
|
||||||
AddBuff(buff_meta, 1);
|
AddBuff(buff_meta, 1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user