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
---mobdefinition_DestructorCustom--- | |
ID :: colossuscustom | |
Prefab :: colossus | |
Range Behavior :: [[Close Ranged]] | |
Abilities :: [[Hunter Phase One Mines]] [[Hunter Phase One Shotgun]] [[Hunter Phase Two Divider]] [[Hunter Phase Two Boss Shotgun]] [[Hunter Phase Two Turret Shotgun]] [[Hunter Phase Three Stationary Bullet Big]] [[Hunter Phase Three Shotgun Waves]] [[Hunter Phase Three Stationary Bullet Small]] [[Hunter Phase Three Teleport Waves]] [[Hunter Phase Three Teleport Explosion]] [[Hunter Phase Three Teleport Shotgun]] [[Hunter Phase Four Divider]] [[Hunter Phase Four Boss Shotgun]] [[Hunter Phase Four Turret Shotgun]] [[Hunter Phase Four Middle Explosion]] [[Hunter Phase Four Boss Chase Explosion]] [[Hunter Phase Five Turrets Two]] [[Hunter Phase Five Turrets One]] [[Hunter Phase Five Walls]] [[Hunter Phase Five Room Divider]] [[Hunter Phase Five Room Limiter]] [[Hunter Phase Five Shotguns]] [[Hunter Phase Five Big Shotgun]] [[Hunter Phase Six Spiral]] [[Hunter Phase Six Middle Explosion]] [[Hunter Phase |
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
on("chat:message", function(msg) { | |
if(msg.type == "api" && msg.content.indexOf("!show") !== -1) { | |
var charName = msg.content.replace("!show ", ""); | |
var charToken = findObjs({_type: "graphic", name: charName})[0]; | |
if(!charToken) { | |
return; | |
} | |
if(charToken.get("layer") == "gmlayer"){ | |
charToken.set("layer", "objects"); | |
} else { |