hampas_2

my version is skript 2.10.1

fix these errors:

Fully revamp skript afterward and send me full updated skript

📎 2 files 11,462 chars
📄
pasted-code-1791350609268.txt
txt 207 lines
▶
# ======================================================= #
#          INFERNO KIT - FLAME COLOSSUS (1.20.1)          #
# ======================================================= #

options:
    p: &8[&4&lINFERNO&8]&7

# ======================================================= #
#                    GIVE INFERNO KIT                     #
# ======================================================= #

command /giveinferno []:
    permission: op
    trigger:
        set {_t} to arg-1
        if {_t} is not set:
            set {_t} to player
        if {_t} is not set:
            stop

        set {_sword} to netherite sword named "&cInferno Sword I"
        enchant {_sword} with sharpness 2
        set {_sword} to unbreakable {_sword}

        set {_armor} to netherite chestplate named "&6Flamescale Ward"
        set {_armor} to unbreakable {_armor}

        give {_sword} to {_t}
        give {_armor} to {_t}

        send "{@p} &aInferno kit given." to {_t}


# ======================================================= #
#                 CONTINUOUS FLAME AURA                   #
# ======================================================= #

on join:
    set {_p} to player
    while {_p} is online:
        set {_sword} to {_p}'s tool

        if {_sword} is not air:
            set {_name} to uncolored display name of {_sword}

            if {_name} starts with "Inferno Sword":
                set {_auraLoc} to location 1 block above {_p}
                make 3 of flame at {_auraLoc}

                set {_auraLoc} to location of {_p}
                make 2 of soul_fire_flame at {_auraLoc}

                set {_auraLoc} to location 1.5 blocks above {_p}
                make 1 of lava at {_auraLoc}

        wait 5 ticks


# ======================================================= #
#        TIER III ABILITY: INFERNO GROUND ERUPTION         #
# ======================================================= #

on drop:
    if event-item is air:
        stop

    set {_name} to uncolored display name of event-item
    if {_name} is not "Inferno Sword III":
        stop

    cancel event
    set {_p} to player

    # The fire source lands at the block the player is aiming at.
    set {_target} to target block of {_p}
    if {_target} is not set:
        send "&cYou need to aim at a block to use Inferno Eruption." to {_p}
        stop

    set {_loc} to location of {_target}
    add 1 to y-coordinate of {_loc}

    send "&c&l[!] &4You hurl a burning core to the ground. It erupts in a moment!" to {_p}
    play sound "item.firecharge.use" with volume 1 and pitch 0.7 to {_p}

    # Burning core warning effect.
    make 12 of flame at {_loc}
    make 8 of soul_fire_flame at {_loc}
    play sound "block.fire.ambient" with volume 1 and pitch 0.8 to {_p}

    # Brief delay before the eruption.
    wait 30 ticks

    # Intensifying warning flare.
    loop 3 times:
        make 16 of flame at {_loc}
        make 10 of soul_fire_flame at {_loc}
        wait 2 ticks

    # Eruption burst.
    make 45 of flame at {_loc}
    make 30 of soul_fire_flame at {_loc}
    make 12 of end_rod at {_loc}

    play sound "entity.generic.explode" with volume 2 and pitch 0.6 to {_p}
    play sound "block.lava.pop" with volume 2 and pitch 0.7 to {_p}

    # Damage and ignite nearby living entities.
    loop all living entities in radius 4 around {_loc}:
        if loop-entity is not {_p}:
            damage loop-entity by 8
            ignite loop-entity for 5 seconds
            make 10 of flame at location of loop-entity
            send "&cYou were caught in %{_p}%'s Inferno Eruption!" to loop-entity

    # Brief lingering fire effect for area denial.
    loop 4 times:
        make 12 of flame at {_loc}
        make 8 of soul_fire_flame at {_loc}

        loop all living entities in radius 3 around {_loc}:
            if loop-entity is not {_p}:
                ignite loop-entity for 2 seconds

        wait 10 ticks


# ======================================================= #
#                INFERNO UPGRADE SYSTEM                   #
# ======================================================= #

command /upgradeinferno:
    permission: op
    trigger:
        set {_p} to player
        set {_sword} to {_p}'s tool

        if {_sword} is air:
            send "&cYou must be holding your Inferno Sword to upgrade." to {_p}
            stop

        set {_name} to uncolored display name of {_sword}

        if {_name} does not start with "Inferno Sword":
            send "&cYou're either holding the wrong item or already at max tier." to {_p}
            stop

        # ================================================= #
        #                  TIER I → TIER II                 #
        # ================================================= #
        if {_name} is "Inferno Sword I":
            if {_p}'s level < 10:
                send "&cYou need at least 10 XP levels to upgrade to Tier II." to {_p}
                stop

            remove 10 from {_p}'s level

            set {_newSword} to netherite sword named "&6Inferno Sword II"
            set custom model data of {_newSword} to 1002
            enchant {_newSword} with sharpness 2
            enchant {_newSword} with fire aspect 1
            set {_newSword} to unbreakable {_newSword}

            set {_p}'s tool to {_newSword}
            send "&aUpgraded to &6Inferno Sword II!" to {_p}
            play sound "entity.player.levelup" with volume 1 and pitch 1 to {_p}

            set {_effectLoc} to location 1 block above {_p}
            make 30 of flame at {_effectLoc}

            set {_effectLoc} to location of {_p}
            make 20 of lava at {_effectLoc}
            stop

        # ================================================= #
        #                TIER II → TIER III                #
        # ================================================= #
        else if {_name} is "Inferno Sword II":
            if {_p}'s level < 15:
                send "&cYou need at least 15 XP levels to upgrade to Tier III." to {_p}
                stop

            remove 15 from {_p}'s level

            set {_newSword} to netherite sword named "&5Inferno Sword III"
            set custom model data of {_newSword} to 1003
            enchant {_newSword} with sharpness 2
            enchant {_newSword} with fire aspect 2
            set {_newSword} to unbreakable {_newSword}

            set {_p}'s tool to {_newSword}
            send "&aUpgraded to &5Inferno Sword III! &e(Press Q while holding to use Inferno Eruption!)" to {_p}
            play sound "entity.player.levelup" with volume 1 and pitch 1 to {_p}

            set {_effectLoc} to location 1 block above {_p}
            make 40 of soul_fire_flame at {_effectLoc}

            set {_effectLoc} to location of {_p}
            make 25 of lava at {_effectLoc}
            stop

        # ================================================= #
        #                      INVALID                      #
        # ================================================= #
        else:
            send "&cMax tier reached or invalid item." to {_p}
📄
pasted-code-1791350648409.txt
txt 169 lines
▶
=[07:24:03 INFO]: 
[
Skript
] 
Reloading 
fighter-inferno-upgrade.sk
...
[07:24:03 INFO]: 
Line 169:
 (fighter-inferno-upgrade.sk)
[07:24:03 INFO]: 
    Can't understand this condition/effect: make 30 of flame at {_effectLoc}
[07:24:03 INFO]: 
    Line: 
make 30 of flame at {_effectLoc}
[07:24:03 INFO]:  
[07:24:03 INFO]: 
Line 172:
 (fighter-inferno-upgrade.sk)
[07:24:03 INFO]: 
    Can't understand this condition/effect: make 20 of lava at {_effectLoc}
[07:24:03 INFO]: 
    Line: 
make 20 of lava at {_effectLoc}
[07:24:03 INFO]:  
[07:24:03 INFO]: 
Line 196:
 (fighter-inferno-upgrade.sk)
[07:24:03 INFO]: 
    Can't understand this condition/effect: make 40 of soul_fire_flame at {_effectLoc}
[07:24:03 INFO]: 
    Line: 
make 40 of soul_fire_flame at {_effectLoc}
[07:24:03 INFO]:  
[07:24:03 INFO]: 
Line 199:
 (fighter-inferno-upgrade.sk)
[07:24:03 INFO]: 
    Can't understand this condition/effect: make 25 of lava at {_effectLoc}
[07:24:03 INFO]: 
    Line: 
make 25 of lava at {_effectLoc}
[07:24:03 INFO]:  
[07:24:03 INFO]: 
Line 48:
 (fighter-inferno-upgrade.sk)
[07:24:03 INFO]: 
    Can't understand this condition/effect: make 3 of flame at {_auraLoc}
[07:24:03 INFO]: 
    Line: 
make 3 of flame at {_auraLoc}
[07:24:03 INFO]:  
[07:24:03 INFO]: 
Line 51:
 (fighter-inferno-upgrade.sk)
[07:24:03 INFO]: 
    Can't understand this condition/effect: make 2 of soul_fire_flame at {_auraLoc}
[07:24:03 INFO]: 
    Line: 
make 2 of soul_fire_flame at {_auraLoc}
[07:24:03 INFO]:  
[07:24:03 INFO]: 
Line 54:
 (fighter-inferno-upgrade.sk)
[07:24:03 INFO]: 
    Can't understand this condition/effect: make 1 of lava at {_auraLoc}
[07:24:03 INFO]: 
    Line: 
make 1 of lava at {_auraLoc}
[07:24:03 INFO]:  
[07:24:03 INFO]: 
Line 87:
 (fighter-inferno-upgrade.sk)
[07:24:03 INFO]: 
    Can't understand this condition/effect: make 12 of flame at {_loc}
[07:24:03 INFO]: 
    Line: 
make 12 of flame at {_loc}
[07:24:03 INFO]:  
[07:24:03 INFO]: 
Line 88:
 (fighter-inferno-upgrade.sk)
[07:24:03 INFO]: 
    Can't understand this condition/effect: make 8 of soul_fire_flame at {_loc}
[07:24:03 INFO]: 
    Line: 
make 8 of soul_fire_flame at {_loc}
[07:24:03 INFO]:  
[07:24:03 INFO]: 
Line 96:
 (fighter-inferno-upgrade.sk)
[07:24:03 INFO]: 
    Can't understand this condition/effect: make 16 of flame at {_loc}
[07:24:03 INFO]: 
    Line: 
make 16 of flame at {_loc}
[07:24:03 INFO]:  
[07:24:03 INFO]: 
Line 97:
 (fighter-inferno-upgrade.sk)
[07:24:03 INFO]: 
    Can't understand this condition/effect: make 10 of soul_fire_flame at {_loc}
[07:24:03 INFO]: 
    Line: 
make 10 of soul_fire_flame at {_loc}
[07:24:03 INFO]:  
[07:24:03 INFO]: 
Line 101:
 (fighter-inferno-upgrade.sk)
[07:24:03 INFO]: 
    Can't understand this condition/effect: make 45 of flame at {_loc}
[07:24:03 INFO]: 
    Line: 
make 45 of flame at {_loc}
[07:24:03 INFO]:  
[07:24:03 INFO]: 
Line 102:
 (fighter-inferno-upgrade.sk)
[07:24:03 INFO]: 
    Can't understand this condition/effect: make 30 of soul_fire_flame at {_loc}
[07:24:03 INFO]: 
    Line: 
make 30 of soul_fire_flame at {_loc}
[07:24:03 INFO]:  
[07:24:03 INFO]: 
Line 103:
 (fighter-inferno-upgrade.sk)
[07:24:03 INFO]: 
    Can't understand this condition/effect: make 12 of end_rod at {_loc}
[07:24:03 INFO]: 
    Line: 
make 12 of end_rod at {_loc}
[07:24:03 INFO]:  
[07:24:03 INFO]: 
Line 113:
 (fighter-inferno-upgrade.sk)
[07:24:03 INFO]: 
    Can't understand this condition/effect: make 10 of flame at location of loop-entity
[07:24:03 INFO]: 
    Line: 
make 10 of flame at location of loop-entity
[07:24:03 INFO]:  
[07:24:03 INFO]: 
Line 118:
 (fighter-inferno-upgrade.sk)
[07:24:03 INFO]: 
    Can't understand this condition/effect: make 12 of flame at {_loc}
[07:24:03 INFO]: 
    Line: 
make 12 of flame at {_loc}
[07:24:03 INFO]:  
[07:24:03 INFO]: 
Line 119:
 (fighter-inferno-upgrade.sk)
[07:24:03 INFO]: 
    Can't understand this condition/effect: make 8 of soul_fire_flame at {_loc}
[07:24:03 INFO]: 
    Line: 
make 8 of soul_fire_flame at {_loc}
[07:24:03 INFO]:  
[07:24:03 INFO]: 
    Encountered 
17 
errors while reloading 
fighter-inferno-upgrade.sk
! 
(
27ms
)
Kodari AI
KodariOct 7 at 5:27 am 1
InfernoKitRevamp
A comprehensive Minecraft Skript plugin that creates a tiered Inferno Sword kit system with flame-themed abilities. Features include a /giveinferno command that provides a netherite sword and chestplate, a continuous flame aura effect while holding the sword, and a three-tier upgrade system using XP levels. The Tier III sword unlocks an Inferno Eruption ability triggered by dropping the item, creating a delayed area-of-effect explosion with fire damage, ignition effects, and lingering fire zones. The script is fully rewritten with corrected particle effects, proper syntax for Skript 2.10.1, and enhanced visual feedback through particle displays and sound effects.

Place the file in plugins/Skript/scripts/, then run /sk reload fighter-inferno-upgrade. The unsupported make ... particle effects are replaced with Skript’s draw ... particle syntax.

Kodari can make mistakes. Review important code before using.
Files
fighter-inferno-upgrade.sk
Code
1 168
fighter-inferno-upgrade.sk
# Inferno Kit - Flame Colossus
# Skript 2.10.1

options:
    p: &8[&4&lINFERNO&8]&7

command /giveinferno [<player>]:
    permission: op
    trigger:
        set {_target} to arg-1
        if {_target} is not set:
            set {_target} to player
        if {_target} is not set:
            send "{@p} &cUsage: /giveinferno <player>" to sender
            stop

        set {_sword} to netherite sword named "&cInferno Sword I"
        set custom model data of {_sword} to 1001
        enchant {_sword} with sharpness 2
        set unbreakable state of {_sword} to true

        set {_armor} to netherite chestplate named "&6Flamescale Ward"
        set unbreakable state of {_armor} to true

        give {_sword} to {_target}
        give {_armor} to {_target}
        send "{@p} &aInferno kit given." to {_target}

# Flame aura while a player holds any Inferno Sword.
every 10 ticks:
    loop all players:
        set {_heldItem} to loop-player's tool
        if {_heldItem} is not air:
            set {_heldName} to uncolored display name of {_heldItem}
            if {_heldName} starts with "Inferno Sword":
                set {_auraLoc} to location 1 block above loop-player
                draw 3 of flame at {_auraLoc}

                set {_auraLoc} to location of loop-player
                draw 2 of soul fire flame at {_auraLoc}

                set {_auraLoc} to location 2 blocks above loop-player
                draw 1 of lava at {_auraLoc}

# Tier III ability: drop the sword while holding it to target an eruption.
on drop:
    if event-item is air:
        stop

    set {_itemName} to uncolored display name of event-item
    if {_itemName} is not "Inferno Sword III":
        stop

    cancel event
    set {_caster} to player

    if {inferno.eruption::%uuid of {_caster}%} is set:
        if difference between now and {inferno.eruption::%uuid of {_caster}%} is less than 15 seconds:
            send "&cInferno Eruption is still on cooldown." to {_caster}
            stop

    set {_target} to target block of {_caster}
    if {_target} is not set:
        send "&cYou need to aim at a block to use Inferno Eruption." to {_caster}
        stop

    set {inferno.eruption::%uuid of {_caster}%} to now
    set {_casterName} to name of {_caster}
    set {_loc} to location of {_target}
    add 1 to y-coordinate of {_loc}

    send "&c&l[!] &4You hurl a burning core to the ground. It erupts in a moment!" to {_caster}
    play sound "item.firecharge.use" with volume 1 and pitch 0.7 to {_caster}

    draw 12 of flame at {_loc}
    draw 8 of soul fire flame at {_loc}
    play sound "block.fire.ambient" with volume 1 and pitch 0.8 to {_caster}

    wait 30 ticks

    loop 3 times:
        draw 16 of flame at {_loc}
        draw 10 of soul fire flame at {_loc}
        wait 2 ticks

    draw 45 of flame at {_loc}
    draw 30 of soul fire flame at {_loc}
    draw 12 of end rod at {_loc}

    play sound "entity.generic.explode" with volume 2 and pitch 0.6 to {_caster}
    play sound "block.lava.pop" with volume 2 and pitch 0.7 to {_caster}

    loop all living entities in radius 4 around {_loc}:
        if loop-entity is not {_caster}:
            damage loop-entity by 8
            ignite loop-entity for 5 seconds
            draw 10 of flame at location of loop-entity
            if loop-entity is a player:
                send "&cYou were caught in %{_casterName}%'s Inferno Eruption!" to loop-entity

    loop 4 times:
        draw 12 of flame at {_loc}
        draw 8 of soul fire flame at {_loc}

        loop all living entities in radius 3 around {_loc}:
            if loop-entity is not {_caster}:
                ignite loop-entity for 2 seconds

        wait 10 ticks

command /upgradeinferno:
    permission: op
    trigger:
        set {_player} to player
        set {_sword} to {_player}'s tool

        if {_sword} is air:
            send "&cYou must be holding your Inferno Sword to upgrade." to {_player}
            stop

        set {_swordName} to uncolored display name of {_sword}
        if {_swordName} does not start with "Inferno Sword":
            send "&cYou're either holding the wrong item or already at max tier." to {_player}
            stop

        if {_swordName} is "Inferno Sword I":
            if {_player}'s level is less than 10:
                send "&cYou need at least 10 XP levels to upgrade to Tier II." to {_player}
                stop

            remove 10 from {_player}'s level
            set {_newSword} to netherite sword named "&6Inferno Sword II"
            set custom model data of {_newSword} to 1002
            enchant {_newSword} with sharpness 2
            enchant {_newSword} with fire aspect 1
            set unbreakable state of {_newSword} to true

            set {_player}'s tool to {_newSword}
            send "&aUpgraded to &6Inferno Sword II&a!" to {_player}
            play sound "entity.player.levelup" with volume 1 and pitch 1 to {_player}

            set {_effectLoc} to location 1 block above {_player}
            draw 30 of flame at {_effectLoc}
            draw 20 of lava at location of {_player}
            stop

        if {_swordName} is "Inferno Sword II":
            if {_player}'s level is less than 15:
                send "&cYou need at least 15 XP levels to upgrade to Tier III." to {_player}
                stop

            remove 15 from {_player}'s level
            set {_newSword} to netherite sword named "&5Inferno Sword III"
            set custom model data of {_newSword} to 1003
            enchant {_newSword} with sharpness 2
            enchant {_newSword} with fire aspect 2
            set unbreakable state of {_newSword} to true

            set {_player}'s tool to {_newSword}
            send "&aUpgraded to &5Inferno Sword III&a! &eDrop it while aiming at a block to use Inferno Eruption." to {_player}
            play sound "entity.player.levelup" with volume 1 and pitch 1 to {_player}

            set {_effectLoc} to location 1 block above {_player}
            draw 40 of soul fire flame at {_effectLoc}
            draw 25 of lava at location of {_player}
            stop

        send "&cMax tier reached or invalid item." to {_player}