Further fixes to the Bashmatic beta.
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				ci/woodpecker/push/woodpecker Pipeline was successful
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	ci/woodpecker/push/woodpecker Pipeline was successful
				
			This commit is contained in:
		@@ -1,14 +1,43 @@
 | 
			
		||||
cecho("<MediumPurple>Bashmatic - Let's Bash Some Mobs!")
 | 
			
		||||
cecho("<Slategrey>---------------------------------")
 | 
			
		||||
cecho("<slate_grey>---------------------------------")
 | 
			
		||||
cecho("<DarkSlateBlue>See bm help for information on configuration.")
 | 
			
		||||
cecho("<DarkSlateBlue>")
 | 
			
		||||
cecho("<MediumPurple>\nBattle Commands:")
 | 
			
		||||
cecho("<DarkSlateBlue>-- Start : " .. Bashmatic.commands.start or "None")
 | 
			
		||||
cecho("<DarkSlateBlue>-- Before: " .. Bashmatic.commands.before or "None")
 | 
			
		||||
cecho("<DarkSlateBlue>-- During: " .. Bashmatic.commands.during or "None" .. "(Every " .. Bashmatic.commands.duringTime .. "s)")
 | 
			
		||||
cecho("<DarkSlateBlue>-- After : " .. Bashmatic.commands.after or "None")
 | 
			
		||||
if Bashmatic.commands.start then 
 | 
			
		||||
    cecho("<DarkSlateBlue>-- Start : " .. Bashmatic.commands.start)
 | 
			
		||||
else
 | 
			
		||||
    cecho("<DarkSlateBlue>-- Start : Not Set.")
 | 
			
		||||
end
 | 
			
		||||
if Bashmatic.commands.before then 
 | 
			
		||||
    cecho("<DarkSlateBlue>-- Before : " .. Bashmatic.commands.before)
 | 
			
		||||
else
 | 
			
		||||
    cecho("<DarkSlateBlue>-- Before : Not Set.")
 | 
			
		||||
end
 | 
			
		||||
if Bashmatic.commands.during then 
 | 
			
		||||
    cecho("<DarkSlateBlue>-- During : " .. Bashmatic.commands.during .. "(Every " .. Bashmatic.commands.duringTime .. "s)")
 | 
			
		||||
else
 | 
			
		||||
    cecho("<DarkSlateBlue>-- During : Not Set.")
 | 
			
		||||
end
 | 
			
		||||
if Bashmatic.commands.after then 
 | 
			
		||||
    cecho("<DarkSlateBlue>-- After : " .. Bashmatic.commands.after)
 | 
			
		||||
else
 | 
			
		||||
    cecho("<DarkSlateBlue>-- After : Not Set.")
 | 
			
		||||
end
 | 
			
		||||
cecho("<MediumPurple>\n\nDeath Trigger:")
 | 
			
		||||
cecho("<DarkSlateBlue>-- Phrase    : " .. Bashmatic.death.phrase or "None")
 | 
			
		||||
cecho("<DarkSlateBlue>-- Activated?: " .. Bashmatic.death.event or "No")
 | 
			
		||||
if Bashmatic.death.phrase then
 | 
			
		||||
    cecho("<DarkSlateBlue>-- Phrase: " .. Bashmatic.death.phrase)
 | 
			
		||||
else
 | 
			
		||||
    cecho("<DarkSlateBlue>-- Phrase: Not Set.")
 | 
			
		||||
end
 | 
			
		||||
if Bashmatic.death.event then
 | 
			
		||||
    cecho("<DarkSlateBlue>-- Activated?: Yes")
 | 
			
		||||
else
 | 
			
		||||
    cecho("<DarkSlateBlue>-- Activated?: No")
 | 
			
		||||
end
 | 
			
		||||
cecho("<MediumPurple>\n\nEnemies:")
 | 
			
		||||
cecho("<DarkSlateBlue>-- Grouping by Areas: " .. Bashmatic.enemies.group or "No")
 | 
			
		||||
if Bashmatic.enemies.group then
 | 
			
		||||
    cecho("<DarkSlateBlue>-- Grouping Enemies by Areas: Yes")
 | 
			
		||||
else
 | 
			
		||||
    cecho("<DarkSlateBlue>-- Grouping Enemies by Areas: No")
 | 
			
		||||
end
 | 
			
		||||
cecho("<reset>")
 | 
			
		||||
@@ -24,5 +24,5 @@ else
 | 
			
		||||
        return
 | 
			
		||||
    end
 | 
			
		||||
    table.remove(Bashmatic.enemies.targets, ourIndex)
 | 
			
		||||
    cecho("<DarkSlateBlue>Bashmatic: Removed target from the list.<reset")
 | 
			
		||||
    cecho("<DarkSlateBlue>Bashmatic: Removed target from the list.<reset>")
 | 
			
		||||
end
 | 
			
		||||
@@ -178,11 +178,11 @@ function displayTargetList(start, endi, page, pages)
 | 
			
		||||
    thisTable:addColumn({
 | 
			
		||||
        name = "Target",
 | 
			
		||||
        width = 72,
 | 
			
		||||
        textColor = "<Slategrey>"
 | 
			
		||||
        textColor = "<slate_grey>"
 | 
			
		||||
    })
 | 
			
		||||
    for i=start,i<=endi,1 do
 | 
			
		||||
    for i=start,endi,1 do
 | 
			
		||||
        thisTable:addRow({
 | 
			
		||||
            i,
 | 
			
		||||
            tostring(i),
 | 
			
		||||
            Bashmatic.enemies.targets[i]
 | 
			
		||||
        })
 | 
			
		||||
    end
 | 
			
		||||
@@ -208,11 +208,11 @@ function displayAreaTargetList(area, start, endi, page, pages)
 | 
			
		||||
    thisTable:addColumn({
 | 
			
		||||
        name = "Target",
 | 
			
		||||
        width = 72,
 | 
			
		||||
        textColor = "<Slategrey>"
 | 
			
		||||
        textColor = "<slate_grey>"
 | 
			
		||||
    })
 | 
			
		||||
    for i=start,i<=endi,1 do
 | 
			
		||||
    for i=start,endi,1 do
 | 
			
		||||
        thisTable:addRow({
 | 
			
		||||
            i,
 | 
			
		||||
            tostring(i),
 | 
			
		||||
            Bashmatic.enemies.targets.area[i]
 | 
			
		||||
        })
 | 
			
		||||
    end
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user