[WIP] Initial merge of ability namespaces & features

This commit is contained in:
gsemaj
2021-06-20 11:02:16 -04:00
committed by gsemaj
parent 650f947451
commit 258ff35e20
9 changed files with 121 additions and 220 deletions

View File

@@ -410,7 +410,7 @@ static void revivePlayer(CNSocket* sock, CNPacketData* data) {
// nano revive
plr->Nanos[plr->activeNano].iStamina = 0;
plr->HP = PC_MAXHEALTH(plr->level) / 2;
Nanos::applyBuff(sock, plr->Nanos[plr->activeNano].iSkillID, 2, 1, 0);
Abilities::applyBuff(sock, plr->Nanos[plr->activeNano].iSkillID, 2, 1, 0);
} else if (reviveData->iRegenType == 4) {
// revived by group member's nano
plr->HP = PC_MAXHEALTH(plr->level) / 2;