diff --git a/scripts/radial/terminal/cloning_terminal.py b/scripts/radial/terminal/cloning_terminal.py index 1e7260fc..c82b9d6a 100644 --- a/scripts/radial/terminal/cloning_terminal.py +++ b/scripts/radial/terminal/cloning_terminal.py @@ -11,11 +11,18 @@ def handleSelection(core, owner, target, option): if option == 21 and target: # REALLY Dirty hack until this can be resolved SWG way !! - str = "Will you pay the %DI credits to clone yourself here?" + stra = "Will you pay the %DI credits to clone yourself here?" + level = int(owner.getLevel()) + if level <= 10: + cloningFee = 100 + elif level >= 11: + cloningFee = (((owner.getLevel() + 17) * owner.getLevel())/2) + elif level == 90: + cloningFee = 5000 suiSvc = core.suiService - suiWindow = suiSvc.createMessageBox(MessageBoxType.MESSAGE_BOX_OK_CANCEL, '@base_player:clone_confirm_title', str.replace ("%DI" , "5000"), owner, target, 15) + suiWindow = suiSvc.createMessageBox(MessageBoxType.MESSAGE_BOX_OK_CANCEL, '@base_player:clone_confirm_title', stra.replace ("%DI" , str(cloningFee)), owner, target, 15) returnParams = Vector() returnParams.add('btnOk:Text') returnParams.add('btnCancel:Text')