1
This commit is contained in:
parent
256577b74b
commit
bad1ecf78a
@ -295,7 +295,7 @@ void Trigger::TryAddBuffs(int cond, std::vector<int>& buffids)
|
|||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
owner_->MustBeAddBuff(owner_, buffid);
|
owner_->MustBeAddBuff(owner_, buffid);
|
||||||
#else
|
#else
|
||||||
owner_->TryBeAddBuff(owner_, buffid);
|
owner_->TryAddBuff(owner_, buffid);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -307,7 +307,7 @@ void Trigger::AddBuffs(int cond, std::vector<int>& buffids)
|
|||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
owner_->MustBeAddBuff(owner_, buffid);
|
owner_->MustBeAddBuff(owner_, buffid);
|
||||||
#else
|
#else
|
||||||
owner_->TryBeAddBuff(owner_, buffid);
|
owner_->TryAddBuff(owner_, buffid);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user