#EntityJS/Iron js compat question: .setSingleUseSpell method

18 messages · Page 1 of 1 (latest)

covert pulsar
#

I mean i tried testing and i tried reading both wikis but not a single way clarifies this.

.setSingleUseSpell('irons_spellbooks:slow', 1, 1, 3, 4) // Parameters: IDK, IDK, IDK, IDK

Wt heck are these parameters im struggling to understand every time i touch a number anywhere the level of the spell changes i even tried changing the 3rd parameter on this ```js
WarlockAttackGoal(e, 1, 60, 60)

And sometimes it wouldn't even work telling me the "bound" is negative, idk what that is. Please help perhaps you guys know @kind spire @broken flicker
tall jayBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

covert pulsar
#

Ok so quick update

#
.setSingleUseSpell('irons_spellbooks:slow', 1, 1, 3, 4) // Parameters: IDK, IDK, Minlvl, Maxlvl
#

New issue though

.setSpells(
                [], // Attack
                [Spell.of('gametechbcs_spellbooks:aerial_collapse')], // Defense
                [], // Movement
                [Spell.of('irons_spellbooks:slow')]
            ).setSpellQuality(2, 1)
``` this setSpellQuality made slow spell LEVEL 4?
#

and 1,6 made it 12 >_>

#

0,0 = 1

#

0,1 = 2

#

1,4 = 5

#

There is literally no logic behind this

#

it's not even a min max

#

and now it just casted a level 14 SLOW on me with 1,4

elfin skiff
#

@kind spire

broken flicker
#

he's already pinged squosh in his question, there's no need to ping a second time lol

kind spire
#

i was about to say

#

yeah i'll get to this later, i just have some other stuff i need to do

elfin skiff
#

Sorry squoshi 😭