Anonymous
×
Create a new article
Write your page title here:
We currently have 496 articles on WIKI - Idle Pixel. Type your article name above or click on one of the titles below and start writing!



WIKI - Idle Pixel
<code class="language-html">{{#invoke:Lua|item_drop|Stone}}</code>
<code class="language-javascript">//This is a enemy with all possible keys:
enemyName: {
	name:'Enemy Name',
	image:"https://example.com/example.png",
	hp:1,
	maxHp:1,
	accuracy:0,
	damage:1,
	speed:3,
	defence:0,
	multiPhase: false,
	nextPhase:'',
	arrowImunity:false,
	magicImunity:false,
	needsLight:false,
	defender: false,
	weakToFire:false,
	weakToIce:false,
	ghost: false,
	fish: false,
	lootTable: "",
	lootFunction: "",
	winFunction: "",
	abilities: []
}

//Use this as a template, if there is any missing key the script will use the default enemy stats.
</code>