We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mod-gain-honor-guard\src\GainHonorGuard.cpp line 177 Parameter Creature* killed = NULL Parameter Creature* killed = 0x11283FF1C0
update:
void RewardHonor(Player* player, Creature* killed) { if (!GainHonorGuardEnable || !player->IsAlive() || player->InArena() || player->HasAura(SPELL_AURA_PLAYER_INACTIVE)) return; //add if(!killed) return; //update if (killed->HasAuraType(SPELL_AURA_NO_PVP_CREDIT)) return; if ((!GainHonorGuardOnGuardKill || !killed->ToCreature()->IsGuard()) && (!GainHonorGuardOnEliteKill || !killed->ToCreature()->isElite())) return; const int groupsize = GetNumInGroup(player); //Determine if it was a gang beatdown const uint8 v_level = killed->getLevel(); if (SplitInGroup && player->GetGroup()) player->GetGroup()->DoForAllMembers([&](Player* groupMember) { AddHonorToPlayer(groupMember, killed, groupsize, v_level); }); else AddHonorToPlayer(player, killed, groupsize, v_level); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
mod-gain-honor-guard\src\GainHonorGuard.cpp line 177
Parameter Creature* killed = NULL
Parameter Creature* killed = 0x11283FF1C0
update:
The text was updated successfully, but these errors were encountered: