Skip to content

Commit 58ac964

Browse files
committed
fix: Some modify commands
1 parent 68b55a3 commit 58ac964

File tree

3 files changed

+7
-16
lines changed

3 files changed

+7
-16
lines changed

Commands/Commands_Char.lua

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -468,16 +468,16 @@ function Modify(case, value)
468468
MangAdmin:ChatMsg(".modify aspeed " .. value)
469469
MangAdmin:LogAction("Modified AllSpeeds for " .. player .. " to " .. value .. " mana")
470470
elseif case == "arena" then
471-
MangAdmin:ChatMsg(".modify arena " .. value)
471+
MangAdmin:ChatMsg(".modify arenapoints " .. value)
472472
MangAdmin:LogAction("Modified Arena Points for " .. player .. " to " .. value .. " mana")
473473
elseif case == "bwalk" then
474-
MangAdmin:ChatMsg(".modify bwalk " .. value)
474+
MangAdmin:ChatMsg(".modify speed backwalk " .. value)
475475
MangAdmin:LogAction("Modified BackWalk for " .. player .. " to " .. value .. " mana")
476476
elseif case == "drunk" then
477477
MangAdmin:ChatMsg(".modify drunk " .. value)
478478
MangAdmin:LogAction("Modified Drunk for " .. player .. " to " .. value .. " mana")
479479
elseif case == "fly" then
480-
MangAdmin:ChatMsg(".modify fly " .. value)
480+
MangAdmin:ChatMsg(".modify speed fly " .. value)
481481
MangAdmin:LogAction("Modified FlySpeed for " .. player .. " to " .. value .. " mana")
482482
elseif case == "gender" then
483483
MangAdmin:ChatMsg(".modify gender " .. value)
@@ -494,17 +494,14 @@ function Modify(case, value)
494494
elseif case == "runicpower" then
495495
MangAdmin:ChatMsg(".modify runicpower " .. value)
496496
MangAdmin:LogAction("Modified RunicPower for " .. player .. " to " .. value .. " mana")
497-
elseif case == "speed" then
498-
MangAdmin:ChatMsg(".modify speed " .. value)
499-
MangAdmin:LogAction("Modified Speed for " .. player .. " to " .. value .. " mana")
500497
elseif case == "standstate" then
501498
MangAdmin:ChatMsg(".modify standstate " .. value)
502499
MangAdmin:LogAction("Modified StandState for " .. player .. " to " .. value .. " mana")
503500
elseif case == "swim" then
504-
MangAdmin:ChatMsg(".modify swim " .. value)
501+
MangAdmin:ChatMsg(".modify speed swim " .. value)
505502
MangAdmin:LogAction("Modified SwimSpeed for " .. player .. " to " .. value .. " mana")
506503
elseif case == "tp" then
507-
MangAdmin:ChatMsg(".modify tp " .. value)
504+
MangAdmin:ChatMsg(".modify talentpoints " .. value)
508505
MangAdmin:LogAction("Modified TalentPoints for " .. player .. " to " .. value .. " mana")
509506
end
510507
else
@@ -579,7 +576,6 @@ function ModifyDropDownInitialize()
579576
{ Locale["ma_Phase"], "phase" },
580577
{ Locale["ma_Rage"], "rage" },
581578
{ Locale["ma_RunicPower"], "runicpower" },
582-
{ Locale["ma_Speed"], "speed" },
583579
{ Locale["ma_StandSate"], "standstate" },
584580
{ Locale["ma_SwimSpeed"], "swim" },
585581
{ Locale["ma_TalentPoints"], "tp" }
@@ -603,8 +599,6 @@ function ResetDropDownInitialize()
603599
local level = 1
604600
local info = UIDropDownMenu_CreateInfo()
605601
local buttons = {
606-
{ Locale["ma_resetallspells"], "all spells" },
607-
{ Locale["ma_resetalltalents"], "all talents" },
608602
{ Locale["ma_achievements"], "achievements" },
609603
{ Locale["ma_Honor"], "honor" },
610604
{ Locale["ma_Level"], "level" },
@@ -623,5 +617,5 @@ function ResetDropDownInitialize()
623617
info.keepShownOnClick = nil
624618
UIDropDownMenu_AddButton(info, level)
625619
end
626-
UIDropDownMenu_SetSelectedValue(ma_resetdropdown, "talents")
620+
UIDropDownMenu_SetSelectedValue(ma_resetdropdown, "achievements")
627621
end

Locales/enUS.lua

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,6 @@ function Return_enUS()
460460
["ma_Learn"] = "Learn",
461461
["ma_Modify"] = "Modify",
462462
["ma_Reset"] = "Reset",
463-
464463
--[[Other]]
465464
["ma_LevelUp"] = "Level up",
466465
["ma_LevelDown"] = "Level down",
@@ -475,8 +474,6 @@ function Return_enUS()
475474
["ma_Honor"] = "Honor",
476475
["ma_Level"] = "Level",
477476
["ma_AllLang"] = "All Languages",
478-
["ma_resetallspells"] = "Spells for ALL",
479-
["ma_resetalltalents"] = "Talents for ALL",
480477
["ma_achievements"] = "Achievements",
481478
["ma_AllSpeeds"] = "AllSpeeds",
482479
["ma_Arena"] = "Arena",
@@ -488,7 +485,6 @@ function Return_enUS()
488485
["ma_MountSpeed"] = "MountSpeed",
489486
["ma_Phase"] = "Phase",
490487
["ma_RunicPower"] = "RunicPower",
491-
["ma_Speed"] = "Speed",
492488
["ma_StandSate"] = "StandState",
493489
["ma_SwimSpeed"] = "SwimSpeed",
494490
["ma_TalentPoints"] = "TalentPoints",

TODO.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Add to GM: reset all lvl 4

0 commit comments

Comments
 (0)