From d833e4a5e0def2e566649d6eeab7dfdc1a1b4aa5 Mon Sep 17 00:00:00 2001 From: Roy Ronalds Date: Sun, 1 Oct 2023 22:31:44 -0400 Subject: [PATCH 1/2] Increase peasant shuriken drop rate. --- deploy/npc-list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/npc-list.php b/deploy/npc-list.php index 087f51659..7793b04ae 100644 --- a/deploy/npc-list.php +++ b/deploy/npc-list.php @@ -165,7 +165,7 @@ ], 'inventory' => [ 'kunai' => '.01', - 'shuriken' => '.01', + 'shuriken' => '.04', ], ], 'merchant2' => [ From 4a93439cb7096f58572acc753e8b5bb7d6c2b188 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Mon, 2 Oct 2023 02:32:34 +0000 Subject: [PATCH 2/2] style: format code with PHP CS Fixer This commit fixes the style issues introduced in d833e4a according to the output from PHP CS Fixer. Details: https://github.com/BitLucid/ninjawars/pull/1545 --- deploy/npc-list.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/deploy/npc-list.php b/deploy/npc-list.php index 7793b04ae..1d65b3c9c 100644 --- a/deploy/npc-list.php +++ b/deploy/npc-list.php @@ -94,7 +94,7 @@ 'stamina' => 100, 'race' => 'tengu', 'inventory' => [ - 'tetsubo'=>'.05', + 'tetsubo' => '.05', ], 'traits' => [ 'flying', @@ -443,7 +443,7 @@ 'short' => 'is a muscled creature that lies wait in the shadows', 'race' => 'yokai', 'img' => 'shoukera.jpg', - 'traits'=>[ + 'traits' => [ 'claws', 'stealthy', ] @@ -453,7 +453,7 @@ 'short' => 'is a clawed beast', 'race' => 'yokai', 'img' => 'waira.jpg', - 'traits'=>[ + 'traits' => [ 'claws', ] ], @@ -482,8 +482,8 @@ 'short' => 'is a one eyed monk', 'img' => 'aobouzu.jpg', 'race' => 'yokai', - 'inventory'=>[ - 'prayerwheel'=>'.01', + 'inventory' => [ + 'prayerwheel' => '.01', ] ], @@ -492,7 +492,7 @@ 'short' => 'is a storm demon', 'img' => 'akashita.jpg', 'race' => 'kami', - 'traits'=> [ + 'traits' => [ 'flying', ] ], @@ -525,8 +525,8 @@ 'trickster', 'steals', ], - 'inventory'=>[ - 'charcoal'=>'.33' + 'inventory' => [ + 'charcoal' => '.33' ] ], 'yurei' => [ @@ -549,7 +549,7 @@ 'img' => 'hokusai-oni.jpg', 'race' => 'oni', 'inventory' => [ - 'tetsubo'=>'.01', + 'tetsubo' => '.01', ], 'traits' => [ 'demonic',