Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save nulleqcodes/78ad34ef4ebf3406632cc8b5178d95c2 to your computer and use it in GitHub Desktop.
Save nulleqcodes/78ad34ef4ebf3406632cc8b5178d95c2 to your computer and use it in GitHub Desktop.
---mobdefinition_Destructor---
Prefab :: colossus
Range Behavior :: [[Medium Ranged]]
Abilities :: [[Colossus Spin]] [[Colossus Slam]] [[Colossus Shoot]] [[Colossus Explosion]]
Bounding Box :: 0 2.73 2.5 3.0
Type :: Boss
Loot :: [[Colossus]]
---ability_Colossus Spin---
Bullet Definition :: [[colossusspin]]
VFX Charging :: trigger:SpinAttack*
Lock Time :: 0.5
Cast Time :: 0.5
---bulletdef_colossusspin---
potency 100
shake SmallExplosion
radial bullets:36 speed:6
wait 10
radial bullets:24 speed:7
---ability_Colossus Slam---
Bullet Definition :: [[colossuscircle]]
Max Range :: 100.0
VFX Charging :: trigger:Attack*
Cast Time :: 0.2
Lock Time :: 1.0
---bulletdef_colossuscircle---
sprite CirclePool 2
potency 250
fire 0 relative 0
aoeexplosion
radius 2
timedFill 40
damageEvery 40
wait 40
vfx ColossusExplosion 5
wait 1
vanish
wait 40
sprite Basic
potency 100
radial bullets:24 speed:6
---ability_Colossus Shoot---
Bullet Definition :: [[colossusshoot]]
VFX Charging :: trigger:RangeAttack*
Cast Time :: 1.0
Lock Time :: 0.5
---bulletdef_colossusshoot---
potency 100
nway speed:5 bullets:10 spread:40 angle:0 directionType:relative
wait 10
nway speed:7 bullets:7 spread:25 angle:0 directionType:relative
---ability_Colossus Explosion---
Bullet Definition :: [[colossuscircle]]
Max Range :: 100.0
VFX Cast :: trigger:Buff*
---bulletdef_colossuscircle---
sprite CirclePool 2
potency 250
fire 0 relative 0
aoeexplosion
radius 2
timedFill 40
damageEvery 40
wait 40
vfx ColossusExplosion 5
wait 1
vanish
wait 40
sprite Basic
potency 100
radial bullets:24 speed:6
---script_colossus_Monster---
hi := func() {
hp := getPoints(myEntityId, “hp”, “current”)
}
if !isDead {
if is_undefined(hp) {
hi()
}
log(hp)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment