From 46296b76e9fa6d1bce842bcbd2a2b5833cfc923e Mon Sep 17 00:00:00 2001 From: dongresource Date: Wed, 13 Sep 2023 03:03:58 +0200 Subject: [PATCH] Clean up some random comments --- src/Abilities.hpp | 8 ++++---- src/Combat.cpp | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Abilities.hpp b/src/Abilities.hpp index 2470516..100dadf 100644 --- a/src/Abilities.hpp +++ b/src/Abilities.hpp @@ -15,12 +15,12 @@ constexpr size_t MAX_SKILLRESULT_SIZE = sizeof(sSkillResult_BatteryDrain); enum class SkillType { DAMAGE = 1, HEAL_HP = 2, - KNOCKDOWN = 3, // dnd - SLEEP = 4, // dnd - SNARE = 5, // dnd + KNOCKDOWN = 3, // uses DamageNDebuff + SLEEP = 4, // uses DamageNDebuff + SNARE = 5, // uses DamageNDebuff HEAL_STAMINA = 6, STAMINA_SELF = 7, - STUN = 8, // dnd + STUN = 8, // uses DamageNDebuff WEAPONSLOW = 9, JUMP = 10, RUN = 11, diff --git a/src/Combat.cpp b/src/Combat.cpp index d204f99..87c10a7 100644 --- a/src/Combat.cpp +++ b/src/Combat.cpp @@ -175,7 +175,7 @@ void Player::step(time_t currTime) { #pragma endregion #pragma region CombatNPC -bool CombatNPC::addBuff(int buffId, BuffCallback onUpdate, BuffCallback onTick, BuffStack* stack) { /* stubbed */ +bool CombatNPC::addBuff(int buffId, BuffCallback onUpdate, BuffCallback onTick, BuffStack* stack) { if(!isAlive()) return false; @@ -192,7 +192,7 @@ bool CombatNPC::addBuff(int buffId, BuffCallback onUpdate, Buff return false; } -Buff* CombatNPC::getBuff(int buffId) { /* stubbed */ +Buff* CombatNPC::getBuff(int buffId) { if(hasBuff(buffId)) { return buffs[buffId]; }