Skip to content

Commit

Permalink
Merge pull request #8 from e-psi-lon/Dev
Browse files Browse the repository at this point in the history
🤔
  • Loading branch information
LTHCTheMaster authored Jul 24, 2022
2 parents 43ff61d + 90c95d0 commit 0cdf5b1
Show file tree
Hide file tree
Showing 11 changed files with 71 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
scoreboard players set #100 lthc.mage.data 100
scoreboard players set #200 lthc.mage.data 200
scoreboard players operation #temp lthc.mage.data = @s lthc.mage.mental_state_2
scoreboard players operation #temp lthc.mage.data *= #100 lthc.mage.data
scoreboard players operation #temp lthc.mage.data /= #200 lthc.mage.data
title @s actionbar [{"text": "Hell - ", "italic": false, "color": "#FFFFFF","bold": true},{"score":{"name":"#temp","objective":"lthc.mage.data"}},{"text":"%"}]
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
scoreboard players set #100 lthc.mage.data 100
scoreboard players set #1111 lthc.mage.data 1111
scoreboard players operation #temp lthc.mage.data = @s lthc.mage.mental_state_2
scoreboard players operation #temp lthc.mage.data *= #100 lthc.mage.data
scoreboard players operation #temp lthc.mage.data /= #1111 lthc.mage.data
title @s actionbar [{"text": "Hell - ", "italic": false, "color": "#FFFFFF","bold": true},{"score":{"name":"#temp","objective":"lthc.mage.data"}},{"text":"%"}]
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
scoreboard players set #100 lthc.mage.data 100
scoreboard players set #20 lthc.mage.data 20
scoreboard players operation #temp lthc.mage.data = @s lthc.mage.mental_state_2
scoreboard players operation #temp lthc.mage.data *= #100 lthc.mage.data
scoreboard players operation #temp lthc.mage.data /= #20 lthc.mage.data
title @s actionbar [{"text": "Hell - ", "italic": false, "color": "#FFFFFF","bold": true},{"score":{"name":"#temp","objective":"lthc.mage.data"}},{"text":"%"}]
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
scoreboard players set #100 lthc.mage.data 100
scoreboard players set #500 lthc.mage.data 500
scoreboard players operation #temp lthc.mage.data = @s lthc.mage.mental_state_2
scoreboard players operation #temp lthc.mage.data *= #100 lthc.mage.data
scoreboard players operation #temp lthc.mage.data /= #500 lthc.mage.data
title @s actionbar [{"text": "Hell - ", "italic": false, "color": "#FFFFFF","bold": true},{"score":{"name":"#temp","objective":"lthc.mage.data"}},{"text":"%"}]
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
scoreboard players set #100 lthc.mage.data 100
scoreboard players set #90 lthc.mage.data 90
scoreboard players operation #temp lthc.mage.data = @s lthc.mage.mental_state_2
scoreboard players operation #temp lthc.mage.data *= #100 lthc.mage.data
scoreboard players operation #temp lthc.mage.data /= #90 lthc.mage.data
title @s actionbar [{"text": "Hell - ", "italic": false, "color": "#FFFFFF","bold": true},{"score":{"name":"#temp","objective":"lthc.mage.data"}},{"text":"%"}]
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
scoreboard players set #100 lthc.mage.data 100
scoreboard players set #55 lthc.mage.data 55
scoreboard players operation #temp lthc.mage.data = @s lthc.mage.mental_state_2
scoreboard players operation #temp lthc.mage.data *= #100 lthc.mage.data
scoreboard players operation #temp lthc.mage.data /= #55 lthc.mage.data
title @s actionbar [{"text": "Hell - ", "italic": false, "color": "#FFFFFF","bold": true},{"score":{"name":"#temp","objective":"lthc.mage.data"}},{"text":"%"}]
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
scoreboard players set #100 lthc.mage.data 100
scoreboard players set #35 lthc.mage.data 35
scoreboard players operation #temp lthc.mage.data = @s lthc.mage.mental_state_2
scoreboard players operation #temp lthc.mage.data *= #100 lthc.mage.data
scoreboard players operation #temp lthc.mage.data /= #35 lthc.mage.data
title @s actionbar [{"text": "Really Bad ++ - ", "italic": false, "color": "#FFFFFF","bold": true},{"score":{"name":"#temp","objective":"lthc.mage.data"}},{"text":"%"}]
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
scoreboard players set #100 lthc.mage.data 100
scoreboard players set #2300 lthc.mage.data 2300
scoreboard players operation #temp lthc.mage.data = @s lthc.mage.mental_state_2
scoreboard players operation #temp lthc.mage.data *= #100 lthc.mage.data
scoreboard players operation #temp lthc.mage.data /= #2300 lthc.mage.data
title @s actionbar [{"text": "Hell - ", "italic": false, "color": "#FFFFFF","bold": true},{"score":{"name":"#temp","objective":"lthc.mage.data"}},{"text":"%"}]
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
scoreboard players set #100 lthc.mage.data 100
scoreboard players set #4750 lthc.mage.data 4750
scoreboard players operation #temp lthc.mage.data = @s lthc.mage.mental_state_2
scoreboard players operation #temp lthc.mage.data *= #100 lthc.mage.data
scoreboard players operation #temp lthc.mage.data /= #4750 lthc.mage.data
title @s actionbar [{"text": "Hell - ", "italic": false, "color": "#FFFFFF","bold": true},{"score":{"name":"#temp","objective":"lthc.mage.data"}},{"text":"%"}]
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
scoreboard players set #100 lthc.mage.data 100
scoreboard players set #10235 lthc.mage.data 10235
scoreboard players operation #temp lthc.mage.data = @s lthc.mage.mental_state_2
scoreboard players operation #temp lthc.mage.data *= #100 lthc.mage.data
scoreboard players operation #temp lthc.mage.data /= #10235 lthc.mage.data
title @s actionbar [{"text": "Hell - ", "italic": false, "color": "#FFFFFF","bold": true},{"score":{"name":"#temp","objective":"lthc.mage.data"}},{"text":"%"}]
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
execute if score @s lthc.mage.mental_state matches 0 run title @s actionbar {"text": "Hell", "italic": false, "color": "#FFFFFF","bold": true}
execute if score @s lthc.mage.mental_state matches 1 run title @s actionbar {"text": "Really Bad ++", "italic": false, "color": "#FFFFFF","bold": true}
execute if score @s lthc.mage.mental_state matches 2 run title @s actionbar {"text": "Really Bad +", "italic": false, "color": "#FFFFFF","bold": true}
execute if score @s lthc.mage.mental_state matches 3 run title @s actionbar {"text": "Really Bad", "italic": false, "color": "#FFFFFF","bold": true}
execute if score @s lthc.mage.mental_state matches 4 run title @s actionbar {"text": "Bad", "italic": false, "color": "#FFFFFF","bold": true}
execute if score @s lthc.mage.mental_state matches 5 run title @s actionbar {"text": "Neutral", "italic": false, "color": "#FFFFFF","bold": true}
execute if score @s lthc.mage.mental_state matches 6 run title @s actionbar {"text": "Good", "italic": false, "color": "#FFFFFF","bold": true}
execute if score @s lthc.mage.mental_state matches 7 run title @s actionbar {"text": "Really Good", "italic": false, "color": "#FFFFFF","bold": true}
execute if score @s lthc.mage.mental_state matches 8 run title @s actionbar {"text": "Really Good +", "italic": false, "color": "#FFFFFF","bold": true}
execute if score @s lthc.mage.mental_state matches 9 run title @s actionbar {"text": "Really Good ++", "italic": false, "color": "#FFFFFF","bold": true}
execute if score @s lthc.mage.mental_state matches 10 run title @s actionbar {"text": "Heaven", "italic": false, "color": "#FFFFFF","bold": true}
execute if score @s lthc.mage.mental_state matches 0 run function lthc.mage:mental_state/mental_reader/hell
execute if score @s lthc.mage.mental_state matches 1 run function lthc.mage:mental_state/mental_reader/really_bad_pp
execute if score @s lthc.mage.mental_state matches 2 run function lthc.mage:mental_state/mental_reader/really_bad_p
execute if score @s lthc.mage.mental_state matches 3 run function lthc.mage:mental_state/mental_reader/really_bad
execute if score @s lthc.mage.mental_state matches 4 run function lthc.mage:mental_state/mental_reader/bad
execute if score @s lthc.mage.mental_state matches 5 run function lthc.mage:mental_state/mental_reader/neutral
execute if score @s lthc.mage.mental_state matches 6 run function lthc.mage:mental_state/mental_reader/good
execute if score @s lthc.mage.mental_state matches 7 run function lthc.mage:mental_state/mental_reader/really_good
execute if score @s lthc.mage.mental_state matches 8 run function lthc.mage:mental_state/mental_reader/really_good_p
execute if score @s lthc.mage.mental_state matches 9 run function lthc.mage:mental_state/mental_reader/really_good_pp
execute if score @s lthc.mage.mental_state matches 10 run title @s actionbar {"text": "Heaven -- ∞", "italic": false, "color": "#FFFFFF","bold": true}
playsound lthc.mage:mental_reader master @s ~ ~ ~ 1.0 1.0 1.0

0 comments on commit 0cdf5b1

Please sign in to comment.