Maintenance: [forced, user-approved] Family G18: remove the Skills bundle family (ClientSkills, SkillUseLevels, SkillWindows, Compani
Batch #10230 by ragnarok-clanker: forced by an admin (9 lower score(s), 42 changed function(s)); checked with 339 compiled unit(s), including every includer of Source/Client/Mode/CGameMode.h, Source/Client/Session.h, Source/Contents/Skills/ClientSkills.h, Source/Contents/Skills/PlayerSkillBundle.h, Source/UI/Shortcuts/ShortcutDetails.h, Source/UI/Shortcuts/ShortcutPainting.h, Source/UI/Shortcuts/ShortcutPress.h, Source/UI/Shortcuts/UIQuickSlotWnd.h, Source/UI/UIBasicCtrl.h, Source/Network/Packets/SkillUpdatePacket.h. Deletes: Source/Network/Packets/SkillUpdatePacket.h
This commit is contained in:
parent
85414e2012
commit
9b04a3cae5
30 changed files with 147 additions and 394 deletions
|
|
@ -545,7 +545,7 @@ void UIBasicSkillCtrl::Slot28(int, int) {
|
|||
}
|
||||
|
||||
LuaScript& script = *g_session.m_hotkeyScript;
|
||||
CSkillInfo skill = this->m_skills->Lookup(static_cast<std::uint32_t>(this->m_skillId));
|
||||
CSkillInfo skill = g_session.LookupSkill(static_cast<std::uint32_t>(this->m_skillId));
|
||||
const int sp = skill.UseSpAmount(script, skill.level);
|
||||
const int ap = skill.UseApAmount(script, skill.level);
|
||||
std::string text;
|
||||
|
|
@ -2283,7 +2283,7 @@ void UIBasicSkillCtrl::Paint() {
|
|||
this->ClearSurface(0xFFFF00FF);
|
||||
bool drawn = false;
|
||||
if (this->m_skillId >= 0) {
|
||||
CSkillInfo skill = this->m_skills->Lookup(static_cast<std::uint32_t>(this->m_skillId));
|
||||
CSkillInfo skill = g_session.LookupSkill(static_cast<std::uint32_t>(this->m_skillId));
|
||||
if (skill.available != 0) {
|
||||
drawn = true;
|
||||
if (this->m_level > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue