User:Lexisother: Difference between revisions
Lexisother (talk | contribs) Add the ascended gear giving code Tag: 2017 source edit |
Lexisother (talk | contribs) Add upgrade get effects Tag: 2017 source edit |
||
Line 39: | Line 39: | ||
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Golden Falcon+"), 2) | sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Golden Falcon+"), 2) | ||
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Brostick of Force+"), 2) | sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Brostick of Force+"), 2) | ||
</syntaxhighlight> | |||
</div></div> | |||
<div class="toccolours mw-collapsible mw-collapsed" style="width:400px; overflow:auto;"> | |||
<div style="font-weight:bold;line-height:1.6;">Funny effects</div><div class="mw-collapsible-content"> | |||
<syntaxhighlight lang="javascript"> | |||
ig.game.events.callEvent(new ig.Event({ | |||
steps: [ | |||
{ | |||
type: "SHOW_EFFECT", | |||
entity: { player: true }, | |||
duration: 1, | |||
align: "BOTTOM", | |||
rotateFace: 0, | |||
flipLeftFace: false, | |||
wait: false, | |||
waitSkip: 0, | |||
actionDetached: false, | |||
group: "charge", | |||
fixPos: false, | |||
effect: { sheet: "scene.upgrade", name: "charge" }, | |||
offset: { x: 0, y: 0, z: 0 } | |||
}, | |||
{ | |||
type: "WAIT", | |||
time: 4 | |||
}, | |||
{ | |||
type: "SHOW_EFFECT", | |||
entity: { player: true }, | |||
duration: 1, | |||
align: "BOTTOM", | |||
rotateFace: 0, | |||
flipLeftFace: false, | |||
wait: false, | |||
waitSkip: 0, | |||
actionDetached: false, | |||
group: "charge", | |||
fixPos: false, | |||
effect: { sheet: "scene.upgrade", name: "chargeBlow" }, | |||
offset: { x: 0, y: 0, z: 0 } | |||
} | |||
] | |||
}), ig.EventRunType.INTERRUPTABLE); | |||
</syntaxhighlight> | </syntaxhighlight> | ||
</div></div> | </div></div> |
Latest revision as of 18:46, 14 September 2023
Ascended Gear
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Serene Bubble+"), 1)
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Furious Hothead+"), 1)
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Trackwalker Visor+"), 1)
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Zealous Lamellar+"), 1)
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Pioneer Vest+"), 1)
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Reactive Plate+"), 1)
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Deadly Dancers+"), 1)
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Praetorian Anchors+"), 1)
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Mistwalkers+"), 1)
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Cerberus Fang"), 2)
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Medusa Veil"), 1)
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Chiron Vest"), 1)
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Pegasus Greaves"), 1)
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Artillery Boots+"), 1)
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Speedy Boom Boots"), 1)
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Highmeister Gloves"), 1)
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Highmeister Gloves"), 1)
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Sunshine Bracer"), 2)
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Lifefiber Dress"), 1)
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Meteor Trigger"), 2)
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Bearseker Claw"), 2)
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Bearserker Claw"), 2)
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Asteroid Belt"), 1)
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Moonwalkers"), 1)
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Headset TYPE>:3"), 1)
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Nightfeather Coat"), 1)
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Singularity Drill"), 2)
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Lis'mita Cap"), 1)
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Enlightened Halo"), 1)
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Very Last Strawhat"), 1)
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Body Armoire"), 1)
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Skirmisher+"), 2)
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Unbreaking Fist+"), 2)
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Mantis Whip+"), 2)
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Golden Falcon +"), 2)
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Golden Falcon+"), 2)
sc.model.player.addItem(sc.inventory.items.findIndex(i => i.name.en_US === "Brostick of Force+"), 2)
Funny effects
ig.game.events.callEvent(new ig.Event({
steps: [
{
type: "SHOW_EFFECT",
entity: { player: true },
duration: 1,
align: "BOTTOM",
rotateFace: 0,
flipLeftFace: false,
wait: false,
waitSkip: 0,
actionDetached: false,
group: "charge",
fixPos: false,
effect: { sheet: "scene.upgrade", name: "charge" },
offset: { x: 0, y: 0, z: 0 }
},
{
type: "WAIT",
time: 4
},
{
type: "SHOW_EFFECT",
entity: { player: true },
duration: 1,
align: "BOTTOM",
rotateFace: 0,
flipLeftFace: false,
wait: false,
waitSkip: 0,
actionDetached: false,
group: "charge",
fixPos: false,
effect: { sheet: "scene.upgrade", name: "chargeBlow" },
offset: { x: 0, y: 0, z: 0 }
}
]
}), ig.EventRunType.INTERRUPTABLE);