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

User:Dounford/Test: Difference between revisions

No edit summary
(Replaced content with "{{#invoke:Lua|code|<nowiki>{{#invoke:Lua|code|Bee}}</nowiki>}}")
Tag: Replaced
Line 1: Line 1:
<pre><code class="language-html">{{#invoke:Lua|item_drop|Stone}}</code></pre>
{{#invoke:Lua|code|<nowiki>{{#invoke:Lua|code|Bee}}</nowiki>}}
<pre><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></pre>

Revision as of 19:15, 30 July 2024

{{#invoke:Lua|code|Bee}}