Normal Experience Drop Cancelation: type: world debug: true events: on entity death: - determine NO_XP Skills Check: type: command debug: true name: skills usage: /skills description: Gain access to your skills through this chat-menu. aliases: - skill - sk script: - if == human: - if level]> < 3: - narrate "<&6><&l>[<&e>TDPO Levels<&6><&l>] <&7>You currently have <&c>no skills<&7> unlocked! You must reach level 3 to unlock your first skill." - if level]> >= 3: - narrate "<&7><&m>-----------------------------------------------" - narrate "<&7> Hover over the skill name to read more about it!" - narrate "<&7><>> <&b>Level 3 Skill: Aspiro|<&7>Aspiro: <&f>Say the incantation and sneak to blow a gust of wind at your foes!]><&7> <<> <&b>Bound to Primal Stone" - if level]> >= 12: - narrate "<&7><>> <&b>Level 12 Skill: Flame|<&c>Flame: <&f>Cast and manipulate a large flame for several seconds that scourches enemies!]> <&7><<> <&b>/c bind <&dq>Flame<&dq>" - if level]> >= 25: - narrate "<&7><>> <&b>Level 25 Skill: Summoning Stallion|<&a>Summoning Stallion: <&f>Summon a battle stallion for a short period of time and swing your sword or staff!]> <&7><<> <&b>/c bind <&dq>Summon Stallion<&dq>" - if level]> >= 40: - narrate "<&7><>> <&b>Level 40 Skill: Torch|<&6>Torch: <&f>Cast a torch-like light, lighting up the area around you in the darkness!]> <&7><<> <&b>/c bind <&dq>Torch<&dq>""" - if level]> >= 65: - narrate "<&7><>> <&b>Level 65 Skill: N/A|<&c>This ability is unavailable.]> <&7><<>" - if level]> >= 90: - narrate "<&7><>> <&b>Level 90 Skill: Hello|<&c>It's me.]> <&7><<>" - narrate "<&7><&m>-----------------------------------------------" - if == moonshadow: - if level]> < 3: - narrate "<&6><&l>[<&e>TDPO Levels<&6><&l>] <&7>You currently have <&c>no skills<&7> unlocked! You must reach level 3 to unlock your first skill." - if level]> >= 3: - narrate "<&7><&m>-----------------------------------------------" - narrate "<&7> Hover over the skill name to read more about it!" - narrate "<&7><>> <&b>Level 3 Skill: Cloak|<&8>Cloak: <&f>Cloak yourself for a breif period of time, becoming nearly invisible to the naked eye!]><&7> <<> <&b>/c bind <&dq>Cloak<&dq>" - if level]> >= 12: - narrate "<&7><>> <&b>Level 12 Skill: Illusion|<&5>Illusion: <&f>Create an illusion of yourself that draws enemies to it and explodes with a blast of moon magic!]><&7> <<> <&b>/c bind <&dq>Illusion<&dq>" - if level]> >= 25: - narrate "<&7><>> <&b>Level 25 Skill: N/A|<&c>This ability is unavailable.]> <&7><<>" - if level]> >= 40: - narrate "<&7><>> <&b>Level 40 Skill: N/A|<&c>This ability is unavailable.]> <&7><<>" - if level]> >= 65: - narrate "<&7><>> <&b>Level 65 Skill: N/A|<&c>This ability is unavailable.]> <&7><<>" - if level]> >= 90: - narrate "<&7><>> <&b>Level 90 Skill: N/A|<&c>This ability is unavailable.]> <&7><<>" - narrate "<&7><&m>-----------------------------------------------" - if == sunfire: - if level]> < 3: - narrate "<&6><&l>[<&e>TDPO Levels<&6><&l>] <&7>You currently have <&c>no skills<&7> unlocked! You must reach level 3 to unlock your first skill." - if level]> >= 3: - narrate "<&7><&m>-----------------------------------------------" - narrate "<&7> Hover over the skill name to read more about it!" - narrate "<&7><>> <&b>Level 3 Skill: Sun Forge|<&6>Sun Forge: <&f>As a sunfire elf, you gain the ability to forge magical weapons. Right click a forging station to get started.]>" - if level]> >= 12: - narrate "<&7><>> <&b>Level 12 Skill: Hot Forge|<&c>Hot Forge: <&f>Weapons you forge now have a chance to set enemies a-blaze in combat!]>" - if level]> >= 25: - narrate "<&7><>> <&b>Level 25 Skill: Forge: Armor|<&e>Forge Armor: <&f>You gain the ability to forge magical armor sets in addition to weapons.]>" - if level]> >= 40: - narrate "<&7><>> <&b>Level 40 Skill: Scorching Forge|<&c>Scorching Forge: <&f>Weapons you forge now have a guarenteed chance to scorch enemies in combat, as well as dull their senses.]>" - if level]> >= 65: - narrate "<&7><>> <&b>Level 65 Skill: N/A|<&c>This ability is unavailable.]> <&7><<>" - if level]> >= 90: - narrate "<&7><>> <&b>Level 90 Skill: N/A|<&c>This ability is unavailable.]> <&7><<>" - narrate "<&7><&m>-----------------------------------------------" Teach Skills on Join: type: world events: on player joins: - if == human: - if level]> >= 3: - execute as_server "c teach Aspiro" - if level]> >= 12: - execute as_server "c teach Flame" - if level]> >= 25: - execute as_server "c teach 'Summon Stallion'" - if level]> >= 40: - execute as_server "c teach Torch" - if level]> >= 65: - execute as_server "c teach " - if level]> >= 90: - execute as_server "c teach " - if == moonshadow: - if level]> >= 3: - execute as_server "c teach " - if level]> >= 12: - execute as_server "c teach " - if level]> >= 25: - execute as_server "c teach " - if level]> >= 40: - execute as_server "c teach " - if level]> >= 65: - execute as_server "c teach " - if level]> >= 90: - execute as_server "c teach " - if == sunfire: - if level]> >= 3: - execute as_server "c teach " - if level]> >= 12: - execute as_server "c teach " - if level]> >= 25: - execute as_server "c teach " - if level]> >= 40: - execute as_server "c teach " - if level]> >= 65: - execute as_server "c teach " - if level]> >= 90: - execute as_server "c teach " - if == dragonoid: - if level]> >= 3: - execute as_server "c teach " - if level]> >= 12: - execute as_server "c teach " - if level]> >= 25: - execute as_server "c teach " - if level]> >= 40: - execute as_server "c teach " - if level]> >= 65: - execute as_server "c teach " - if level]> >= 90: - execute as_server "c teach " - if == vampire: - if level]> >= 3: - execute as_server "c teach " - if level]> >= 12: - execute as_server "c teach " - if level]> >= 25: - execute as_server "c teach " - if level]> >= 40: - execute as_server "c teach " - if level]> >= 65: - execute as_server "c teach " - if level]> >= 90: - execute as_server "c teach " - if == lycan: - if level]> >= 3: - execute as_server "c teach " - if level]> >= 12: - execute as_server "c teach " - if level]> >= 25: - execute as_server "c teach " - if level]> >= 40: - execute as_server "c teach " - if level]> >= 65: - execute as_server "c teach " - if level]> >= 90: - execute as_server "c teach " - if == starlight: - if level]> >= 3: - execute as_server "c teach " - if level]> >= 12: - execute as_server "c teach " - if level]> >= 25: - execute as_server "c teach " - if level]> >= 40: - execute as_server "c teach " - if level]> >= 65: - execute as_server "c teach " - if level]> >= 90: - execute as_server "c teach " - if == skywing: - if level]> >= 3: - execute as_server "c teach " - if level]> >= 12: - execute as_server "c teach " - if level]> >= 25: - execute as_server "c teach " - if level]> >= 40: - execute as_server "c teach " - if level]> >= 65: - execute as_server "c teach " - if level]> >= 90: - execute as_server "c teach " - if == oceanwave: - if level]> >= 3: - execute as_server "c teach " - if level]> >= 12: - execute as_server "c teach " - if level]> >= 25: - execute as_server "c teach " - if level]> >= 40: - execute as_server "c teach " - if level]> >= 65: - execute as_server "c teach " - if level]> >= 90: - execute as_server "c teach " - if == earthland: - if level]> >= 3: - execute as_server "c teach " - if level]> >= 12: - execute as_server "c teach " - if level]> >= 25: - execute as_server "c teach " - if level]> >= 40: - execute as_server "c teach " - if level]> >= 65: - execute as_server "c teach " - if level]> >= 90: - execute as_server "c teach " Level Check: type: command debug: true name: level usage: /level description: Check your level and experience with this command! aliases: - lvl script: - narrate "<&b>Level: <&a>level]>" - narrate "<&a>Experience: <&b>experience].round_up>/experience_needed].round_up>" Set Experience: type: world debug: true events: on player joins: - if "level]>": - queue clear - flag player "level:1" - flag "" "experience:0" - flag "" "experience_needed:100" Gain: type: task debug: true definitions: gain_value script: - flag player experience:+: - while "experience]>" >= "experience_needed]>": - flag player experience_needed:-:experience - flag player level:++ - firework power:0 random - narrate "<&6><&l><&lb><&e>TDPO Levels<&6><&l><&rb> <&a>You are now level level]>!" - if contains level]>: - execute as_server "c forcecast Level-Unlock_MSG" - if == human: - if level]> == 3: - execute as_server "c teach Aspiro" - queue clear - if == moonshadow: - queue clear - if == sunfire: - queue clear - if == starshine: - queue clear - if == skywing: - queue clear - if == oceanwave: - queue clear - if == earthland: - queue clear - if == dragonoid: - queue clear - if == vampire: - queue clear - if == lycan: - queue clear - flag player experience_needed]>:experience_needed].mul[1.25].round_up> - playsound "" "sound:ENTITY_PLAYER_LEVELUP" - actionbar "<&a>Experience: <&b>experience].round_up><&a>/<&b>experience_needed].round_up> <&b>| <&a>LVL: <&b>level]>" Lose25: type: task debug: true script: - flag player experience]>:-:25 - actionbar "<&a>Experience: <&b>experience].round_up><&a>/<&b> experience_needed].round_up> <&b>| <&a>LVL: level]>" Gain XP: type: world debug: true events: on player kills entity: - choose : - case SHEEP PIG COW CHICKEN: - run Gain def:3 instantly - case HORSE COW OCELOT LLAMA: - run Gain def:5 instantly - case BLAZE ZOMBIE SKELETON SPIDER CREEPER WITCH: - run Gain def:10 instantly on player dies: - inject Lose25