Skip to content

Commit c82669a

Browse files
committed
initial squid kit skeleton
1 parent 280ecfb commit c82669a

File tree

8 files changed

+111
-2
lines changed

8 files changed

+111
-2
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package dev.betrix.superSmashMobsBrawl.abilities
2+
3+
import dev.betrix.superSmashMobsBrawl.extensions.sendDebugMessage
4+
import org.bukkit.entity.Player
5+
6+
class FishFlurryAbility(player: Player) : BrawlAbility("fish_flurry", player) {
7+
override fun activate() {
8+
super.activate()
9+
player.sendDebugMessage("Fish Flurry ability is pending implementation")
10+
}
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package dev.betrix.superSmashMobsBrawl.abilities
2+
3+
import dev.betrix.superSmashMobsBrawl.extensions.sendDebugMessage
4+
import org.bukkit.entity.Player
5+
6+
class InkShotgunAbility(player: Player) : BrawlAbility("ink_shotgun", player) {
7+
override fun activate() {
8+
super.activate()
9+
player.sendDebugMessage("Ink Shotgun ability is pending implementation")
10+
}
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package dev.betrix.superSmashMobsBrawl.abilities
2+
3+
import dev.betrix.superSmashMobsBrawl.extensions.sendDebugMessage
4+
import org.bukkit.entity.Player
5+
6+
class SuperSquidAbility(player: Player) : BrawlAbility("super_squid", player) {
7+
override fun activate() {
8+
super.activate()
9+
player.sendDebugMessage("Super Squid ability is pending implementation")
10+
}
11+
}

plugin/src/main/kotlin/dev/betrix/superSmashMobsBrawl/kits/BrawlKit.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ open class BrawlKit(val id: String, val player: Player) : KoinComponent {
6868
"spin_web" -> SpinWebAbility(player)
6969
"daze_potion" -> DazePotionAbility(player)
7070
"bat_wave" -> BatWaveAbility(player)
71+
"ink_shotgun" -> InkShotgunAbility(player)
72+
"super_squid" -> SuperSquidAbility(player)
73+
"fish_flurry" -> FishFlurryAbility(player)
7174
else -> {
7275
logger.severe(
7376
"No ability found with id ${it.id} reference on kit ${kitData.id}"

plugin/src/main/resources/data/abilities.yml

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,4 +186,42 @@ abilities:
186186
metadata:
187187
launchVelocity: 1.2
188188
damage: 4.0
189-
knockback: 1.5
189+
knockback: 1.5
190+
191+
- id: ink_shotgun
192+
cooldown: 6.0
193+
itemSlot: 0
194+
type: projectile
195+
usage: right_click
196+
hotbarItem: iron_axe
197+
displayItem: ink_sac
198+
metadata:
199+
pelletCount: 6
200+
pelletDamage: 1.5
201+
spreadAngle: 18.0
202+
range: 12.0
203+
204+
- id: super_squid
205+
cooldown: 8.0
206+
itemSlot: 1
207+
type: recovery
208+
usage: right_click
209+
hotbarItem: iron_sword
210+
displayItem: trident
211+
metadata:
212+
dashDistance: 10.0
213+
launchVerticalBoost: 0.8
214+
invulnerabilityDurationTicks: 20
215+
216+
- id: fish_flurry
217+
cooldown: 13.0
218+
itemSlot: 2
219+
type: aoe
220+
usage: right_click
221+
hotbarItem: iron_shovel
222+
displayItem: tropical_fish
223+
metadata:
224+
radius: 4.0
225+
durationTicks: 40
226+
damagePerTick: 1.0
227+
tickIntervalTicks: 5

plugin/src/main/resources/data/disguises.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,6 @@ disguises:
1111

1212
- id: spider
1313

14-
- id: witch
14+
- id: witch
15+
16+
- id: squid

plugin/src/main/resources/data/kits.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,27 @@ kits:
183183
abilities:
184184
- id: daze_potion
185185
- id: bat_wave
186+
armorItems:
187+
chestplate: chainmail_chestplate
188+
leggings: chainmail_leggings
189+
boots: chainmail_boots
190+
191+
# Squid
192+
- id: squid
193+
meleeDamage: 6.0
194+
armor: 5.0
195+
knockbackMultiplier: 1.5
196+
disguiseId: "squid"
197+
selectionSound: "entity.squid.ambient"
198+
displayItem: "ink_sac"
199+
passives:
200+
- id: double_jump
201+
- id: regeneration
202+
- id: hunger
203+
abilities:
204+
- id: ink_shotgun
205+
- id: super_squid
206+
- id: fish_flurry
186207
armorItems:
187208
chestplate: chainmail_chestplate
188209
leggings: chainmail_leggings

plugin/src/main/resources/data/lang/en.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ kits:
2121
witch:
2222
name: "Witch"
2323
description: "Zone with potions and bats, but beware fragile recovery"
24+
squid:
25+
name: "Squid"
26+
description: "Squid is an all-around solid defensive kit"
2427
abilities:
2528
sulphur_bomb:
2629
name: "Sulphur Bomb"
@@ -64,6 +67,15 @@ abilities:
6467
bat_wave:
6568
name: "Bat Wave"
6669
description: "Burst forward on a surge of bats to swat enemies aside"
70+
ink_shotgun:
71+
name: "Ink Shotgun"
72+
description: "Blast close foes with a spread of ink pellets"
73+
super_squid:
74+
name: "Super Squid"
75+
description: "Dash in a slick ink burst to reposition safely"
76+
fish_flurry:
77+
name: "Fish Flurry"
78+
description: "Summon a whirl of fish that batters nearby enemies"
6779
maps:
6880
blue_forest:
6981
name: "Blue Forest"

0 commit comments

Comments
 (0)