Last active
November 7, 2024 03:44
-
-
Save nulleqcodes/0ecd7e4419a2debbe6dd98f946936b6f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---mob_Bomb Bot--- | |
Prefab :: bombbot | |
Range Behavior :: Stationary | |
Abilities :: [[Boom]] [[Weird Attack Thing]] [[Weird Attack The Second]] [[Le Shotgun]] | |
Bounding Box :: 0 0.3 1.0 1.0 | |
Type :: Elite | |
---ability_Boom--- | |
Bullet Definition :: [[boom]] | |
VFX Cast :: trigger:Dig* | |
---bulletdef_boom--- | |
potency 175 | |
repeat bullets:20 speed:2 spread:15 angle:0 maxAngle:360 | |
wait 10 | |
speed +2 | |
wait 20 | |
speed +2 | |
wait 1000 | |
wait 2 | |
sprite Basic 1 | |
repeat bullets:10 speed:1 spread:15 angle:0 maxAngle:360 | |
radius 0.25 | |
wait 20 | |
speed +2 | |
wait 1000 | |
---ability_Weird Attack Thing--- | |
Bullet Definition :: [[weirdthingone]] | |
---bulletdef_weirdthingone--- | |
potency 125 | |
radial bullets:10 speed:3 angle:0 directionType:relative | |
wait 8 | |
speed -1 | |
wait 10 | |
speed -1 | |
wait 14 | |
fire specialsauce | |
wait 1 | |
vanish | |
---bulletdef_specialsauce--- | |
potency 125 | |
radial bullets:1 speed:1 angle:-75 directionType:relative | |
wait 150 | |
---ability_Weird Attack The Second--- | |
Bullet Definition :: [[weirdthingtwo]] | |
---bulletdef_weirdthingtwo--- | |
potency 125 | |
radial bullets:10 speed:4 angle:0 directionType:relative | |
wait 20 | |
speed -1 | |
wait 10 | |
speed -1 | |
wait 14 | |
fire secondspecialsauce | |
wait 1 | |
vanish | |
---bulletdef_secondspecialsauce--- | |
potency 125 | |
radial bullets:1 speed:2 angle:75 directionType:relative | |
wait 150 | |
---ability_Le Shotgun--- | |
Bullet Definition :: [[leshotgun]] | |
---bulletdef_leshotgun--- | |
sprite Basic | |
color 3 | |
repeat bullets:14 speed:4 spread:14 angle:-40 maxAngle:40 directionType:relative | |
wait 1000 | |
wait 5 | |
sprite Basic 1 | |
repeat bullets:9 speed:3.5 spread:15 angle:-80 maxAngle:80 directionType:relative | |
radius 0.25 | |
wait 1000 | |
---aura_Main Mob Buff--- | |
Type :: Buff | |
Duration :: -1 | |
Max stacks :: 1 | |
Time Per Tick :: 1.0 | |
Definitions :: [[AuraAffectStat/Main Mob Buff]] | |
---auraaffectstat_Main Mob Buff--- | |
Stat :: Vitality | |
Boost :: 200.0 | |
---script_bombbot_Monster--- | |
// Initialize state variables | |
if is_undefined(scriptVars["state"]) { | |
scriptVars["state"] = { | |
hasPerished: false, | |
hasSpawnedMobs: false, | |
timers: { | |
firstAttack: 2.5, | |
secondAttack: 0.0, | |
shotgun: 0.0 | |
} | |
} | |
addAuraToEntity(myEntityId, "Main Mob Buff", 0, myEntityId) | |
addHitPoints(myEntityId, 50000) | |
} | |
if !isDead && targetEntityId != 0 { | |
// Spawn helper mobs if not already done | |
if !scriptVars["state"]["hasSpawnedMobs"] { | |
// Spawn Blasters at corners | |
spawnPositions := [ | |
[29.0, 3.0], [29.0, 29.0], | |
[3.0, 3.0], [3.0, 29.0] | |
] | |
for pos in spawnPositions { | |
summonEntity("blaster", positionInCurrentRoom(myEntityId, [pos[0], pos[1], 0.0]), monsterLevel(myEntityId)) | |
} | |
// Spawn central enemies | |
summonEntity("dualslicer", positionInCurrentRoom(myEntityId, [16.0, 13.0, 0.0]), monsterLevel(myEntityId)) | |
summonEntity("assassin", positionInCurrentRoom(myEntityId, [19.0, 16.0, 0.0]), monsterLevel(myEntityId)) | |
summonEntity("assassin", positionInCurrentRoom(myEntityId, [13.0, 13.0, 0.0]), monsterLevel(myEntityId)) | |
scriptVars["state"]["hasSpawnedMobs"] = true | |
} | |
// Update attack timers | |
scriptVars["state"]["timers"]["firstAttack"] += delta | |
scriptVars["state"]["timers"]["secondAttack"] += delta | |
scriptVars["state"]["timers"]["shotgun"] += delta | |
// Execute attacks based on timers | |
if scriptVars["state"]["timers"]["firstAttack"] > 5.0 { | |
useAbilityAtPosition(myEntityId, "Weird Attack Thing", [0.0, 0.0, 0.0]) | |
scriptVars["state"]["timers"]["firstAttack"] = 0.0 | |
} | |
if scriptVars["state"]["timers"]["secondAttack"] > 5.0 { | |
useAbilityAtPosition(myEntityId, "Weird Attack The Second", [0.0, 0.0, 0.0]) | |
scriptVars["state"]["timers"]["secondAttack"] = 0.0 | |
} | |
if scriptVars["state"]["timers"]["shotgun"] > 2.0 { | |
useAbilityAtPosition(myEntityId, "Le Shotgun", [0.0, 0.0, 0.0]) | |
scriptVars["state"]["timers"]["shotgun"] = 0.0 | |
} | |
} | |
// Handle death explosion | |
if !scriptVars["state"]["hasPerished"] && isDead { | |
useAbilityAtPosition(myEntityId, "Boom", [0.0, 0.0, 0.0]) | |
scriptVars["state"]["hasPerished"] = true | |
} | |
---mob_Blaster--- | |
Prefab :: blaster | |
Range Behavior :: Stationary | |
Abilities :: [[Think Fast]] | |
Bounding Box :: 0.0 0.6 1.0 1.2 | |
Type :: Elite | |
---ability_Think Fast--- | |
Bullet Definition :: [[quickattack]] | |
Cooldown :: 5 | |
VFX Charging :: trigger:Attack* | |
---bulletdef_quickattack--- | |
sprite GreenPool | |
nway bullets:5 speed:13 angle:0 spread:60 directionType:relative | |
radius 0 | |
wait 100 | |
wait 2 | |
nway bullets:5 speed:13 angle:0 spread:60 directionType:relative | |
radius 0 | |
wait 100 | |
wait 2 | |
nway bullets:5 speed:13 angle:0 spread:60 directionType:relative | |
radius 0 | |
wait 100 | |
wait 12 | |
potency 150 | |
sprite Custom_7 | |
color 1 | |
nway bullets:5 speed:13 angle:0 spread:60 directionType:relative | |
wait 100 | |
wait 2 | |
nway bullets:5 speed:13 angle:0 spread:60 directionType:relative | |
wait 100 | |
wait 2 | |
nway bullets:5 speed:13 angle:0 spread:60 directionType:relative | |
wait 100 | |
---mob_Dual Slicer--- | |
Prefab :: dualslicer | |
Range Behavior :: Close Ranged | |
Abilities :: [[Lineslines]] | |
Bounding Box :: 0.0 0.6 1.0 1.2 | |
Speed :: 300 | |
Type :: Elite | |
---ability_Lineslines--- | |
Bullet Definition :: [[lineslines]] | |
Cooldown :: 5 | |
VFX Charging :: trigger:Attack* | |
Cast Time :: 0.5 | |
Lock Time :: 2.5 | |
---bulletdef_lineslines--- | |
sprite Custom_7 | |
line bullets:1 speed:6.5 angle:0 directionType:relative | |
lifetime 1000 | |
wait 2 | |
line bullets:1 speed:6.5 angle:0 directionType:relative | |
lifetime 1000 | |
wait 2 | |
line bullets:1 speed:6.5 angle:0 directionType:relative | |
lifetime 1000 | |
wait 2 | |
line bullets:1 speed:6.5 angle:0 directionType:relative | |
lifetime 1000 | |
wait 2 | |
line bullets:1 speed:6.5 angle:0 directionType:relative | |
lifetime 1000 | |
line bullets:1 speed:6.5 angle:-20 directionType:relative | |
lifetime 1000 | |
line bullets:1 speed:6.5 angle:20 directionType:relative | |
lifetime 1000 | |
wait 2 | |
line bullets:1 speed:6.5 angle:0 directionType:relative | |
lifetime 1000 | |
line bullets:1 speed:6.5 angle:-20 directionType:relative | |
lifetime 1000 | |
line bullets:1 speed:6.5 angle:20 directionType:relative | |
lifetime 1000 | |
wait 2 | |
line bullets:1 speed:6.5 angle:-20 directionType:relative | |
lifetime 1000 | |
line bullets:1 speed:6.5 angle:20 directionType:relative | |
lifetime 1000 | |
wait 2 | |
line bullets:1 speed:6.5 angle:-20 directionType:relative | |
lifetime 1000 | |
line bullets:1 speed:6.5 angle:20 directionType:relative | |
lifetime 1000 | |
wait 2 | |
line bullets:1 speed:6.5 angle:-20 directionType:relative | |
lifetime 1000 | |
line bullets:1 speed:6.5 angle:20 directionType:relative | |
lifetime 1000 | |
line bullets:1 speed:6.5 angle:-40 directionType:relative | |
lifetime 1000 | |
line bullets:1 speed:6.5 angle:40 directionType:relative | |
lifetime 1000 | |
wait 2 | |
line bullets:1 speed:6.5 angle:-20 directionType:relative | |
lifetime 1000 | |
line bullets:1 speed:6.5 angle:20 directionType:relative | |
lifetime 1000 | |
line bullets:1 speed:6.5 angle:-40 directionType:relative | |
lifetime 1000 | |
line bullets:1 speed:6.5 angle:40 directionType:relative | |
lifetime 1000 | |
wait 2 | |
line bullets:1 speed:6.5 angle:-40 directionType:relative | |
lifetime 1000 | |
line bullets:1 speed:6.5 angle:40 directionType:relative | |
lifetime 1000 | |
wait 2 | |
line bullets:1 speed:6.5 angle:-40 directionType:relative | |
lifetime 1000 | |
line bullets:1 speed:6.5 angle:40 directionType:relative | |
lifetime 1000 | |
wait 2 | |
line bullets:1 speed:6.5 angle:-40 directionType:relative | |
lifetime 1000 | |
line bullets:1 speed:6.5 angle:40 directionType:relative | |
lifetime 1000 | |
line bullets:1 speed:6.5 angle:-60 directionType:relative | |
lifetime 1000 | |
line bullets:1 speed:6.5 angle:60 directionType:relative | |
lifetime 1000 | |
wait 2 | |
line bullets:1 speed:6.5 angle:-40 directionType:relative | |
lifetime 1000 | |
line bullets:1 speed:6.5 angle:40 directionType:relative | |
lifetime 1000 | |
line bullets:1 speed:6.5 angle:-60 directionType:relative | |
lifetime 1000 | |
line bullets:1 speed:6.5 angle:60 directionType:relative | |
lifetime 1000 | |
wait 2 | |
line bullets:1 speed:6.5 angle:-60 directionType:relative | |
lifetime 1000 | |
line bullets:1 speed:6.5 angle:60 directionType:relative | |
lifetime 1000 | |
wait 2 | |
line bullets:1 speed:6.5 angle:-60 directionType:relative | |
lifetime 1000 | |
line bullets:1 speed:6.5 angle:60 directionType:relative | |
lifetime 1000 | |
wait 2 | |
line bullets:1 speed:6.5 angle:-60 directionType:relative | |
lifetime 1000 | |
line bullets:1 speed:6.5 angle:60 directionType:relative | |
lifetime 1000 | |
wait 2 | |
line bullets:1 speed:6.5 angle:-60 directionType:relative | |
lifetime 1000 | |
line bullets:1 speed:6.5 angle:60 directionType:relative | |
lifetime 1000 | |
---mobdefinition_Assassin--- | |
Prefab :: assassin | |
Range Behavior :: [[Close Ranged]] | |
Abilities :: [[Abilities/Assassin]] | |
Bounding Box :: 0.0 0.6 1.0 1.2 | |
Speed :: 550 | |
Type :: Elite | |
---ability_Assassin--- | |
Bullet Definition :: [[basic]] | |
Cooldown :: 1.5 | |
VFX Charging :: trigger:Attack* | |
---bulletdef_basic--- | |
potency 100 | |
sprite Custom_7 | |
color 4 | |
nway bullets:4 speed:6.5 spread:45 angle:0 directionType:relative | |
wait 1000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment