Fix item stats for skills and move some stuff around
This commit is contained in:
19
gui/builtinContextMenus/damagePattern.py
Executable file
19
gui/builtinContextMenus/damagePattern.py
Executable file
@@ -0,0 +1,19 @@
|
||||
from gui.contextMenu import ContextMenu
|
||||
from gui.itemStats import ItemStatsDialog
|
||||
import gui.mainFrame
|
||||
import service
|
||||
|
||||
class DamagePattern(ContextMenu):
|
||||
def __init__(self):
|
||||
self.mainFrame = gui.mainFrame.MainFrame.getInstance()
|
||||
|
||||
def display(self, context, selection):
|
||||
return context in ("resistancesViewFull",)
|
||||
|
||||
def getText(self, context, selection):
|
||||
return "%s stats" % context.capitalize()
|
||||
|
||||
def activate(self, context, selection, i):
|
||||
pass
|
||||
|
||||
DamagePattern.register()
|
||||
Reference in New Issue
Block a user