mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-31 01:15:57 -04:00
bankSurcharge placement after tipAmount found
This commit is contained in:
@@ -37,7 +37,6 @@ def run(core, actor, target, commandString):
|
||||
actorID = actor.getObjectID()
|
||||
commandArgs = commandString.split(" ")
|
||||
commandLength = len(commandArgs)
|
||||
bankSurcharge = int(math.ceil(0.05 * float(tipAmount))) # Accurate tipping tax - prevents floating point error
|
||||
|
||||
# Determine type of tip
|
||||
if not commandArgs[0].isdigit():
|
||||
@@ -61,6 +60,8 @@ def run(core, actor, target, commandString):
|
||||
else:
|
||||
actor.sendSystemMessage('Unrecognized tip command', 0)
|
||||
return
|
||||
|
||||
bankSurcharge = int(math.ceil(0.05 * float(tipAmount))) # Accurate tipping tax - prevents floating point error
|
||||
|
||||
|
||||
#/tip int || /tip target int
|
||||
|
||||
Reference in New Issue
Block a user