Skip to content

Instantly share code, notes, and snippets.

@nulleqcodes
Created July 4, 2025 02:13
Show Gist options
  • Save nulleqcodes/6d94627cb541dd43a1f8d44a6eafd4d4 to your computer and use it in GitHub Desktop.
Save nulleqcodes/6d94627cb541dd43a1f8d44a6eafd4d4 to your computer and use it in GitHub Desktop.
---mob_Blaster---
Prefab :: blaster
Range Behavior :: Long Ranged
Abilities :: [[Blaster Slash]] [[Blaster Heal]]
Speed :: 500
Type :: Elite
Options :: alwaysattack
---ability_Blaster Slash---
Bullet Definition :: [[blasterslash]]
Cooldown :: 2.0
VFX Charging :: trigger:Attack*
Lock Time :: 0.25
Cast Time :: 0.75
---bulletdef_blasterslash---
potency 100
repeat bullets:10 speed:7 angle:-45 maxAngle:45 directionType:relative
---ability_Blaster Heal---
Cooldown :: 7.0
VFX Charging :: trigger:Heal*
Lock Time :: 0.25
Cast Time :: 0.75
Script :: BlasterHeal
---script_BlasterHeal_Cast---
if frameNum == 14 {
myAllies := getAlliesSortedByHealth(myEntityId)
for i := 0; i < 3 && i < len(myAllies); i++ {
dealPotencyToEntity(myEntityId, myAllies[i]["id"], -150, 0)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment