#enchantment

1 messages · Page 1 of 1 (latest)

blissful nacelle
#
    if event-inventoryaction is swap with cursor:
        set {_csitem} to cursor slot of player
        set {_apitem} to clicked item
        if {_csitem} is enchanted book named "&fUncurse":
            set {_enchs.%player%.currentitem::*} to the enchantments of {_apitem}
            if {_enchs.%player%.currentitem::*} contains "Curse of Binding":
                message "test"
#

@frozen arrow

#

here

#

this is what im trying to do

frozen arrow
#

so ur trying to apply a enchant?

blissful nacelle
#

nope

#

disenchant the curse of binding

#

with a certain item drag and drop

high crow
#

Does the test send?

blissful nacelle
#

nope

high crow
#

If not, debug earlier

#

And put pertinent values in instead of “test”

blissful nacelle
#
    if event-inventoryaction is swap with cursor:
        set {_csitem} to cursor slot of player
        set {_apitem} to clicked item
        if {_csitem} is enchanted book named "&fUncurse":
            message "testest"
            set {_enchs.%player%.currentitem::*} to the enchantments of {_apitem}
            if {_enchs.%player%.currentitem::*} contains "Curse of Binding":
                message "test"
#

testest works

#

before the test

blissful nacelle
# high crow And put pertinent values in instead of “test”
    if event-inventoryaction is swap with cursor:
        set {_csitem} to cursor slot of player
        set {_apitem} to clicked item
        if {_csitem} is enchanted book named "&fUncurse":
            message "%{_csitem}% %{_apitem}%"
            set {_enchs.%player%.currentitem::*} to the enchantments of {_apitem}
            if {_enchs.%player%.currentitem::*} contains "Curse of Binding":
                message "test"
#

changed it to this instead.

high crow
#

i think i see the error