Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # SK DiabloDrops by GuruFlex
- # Version 0.1
- options:
- #--------------#
- # Commands #
- #--------------#
- playerCommand1: &6/tome &f- &eDrops a identity tome at your feet .
- playerCommand2: &6/tome tomechance (%) &f- &eSets your tome drop Chance.
- playerCommand3: &6/tome unidentifieditem (%) &f- &eSets your unidentified item drop Chance.
- playerCommand4: &6/tome identifieditem (%) &f- &eSets your identified item drop Chance.
- #--------------#
- # Chance #
- #--------------#
- {identityTomeChance}: 40
- {unidentifiedItemChance}: 50
- {identifiedItemChance}: 30
- variables:
- {prefix::9} = "&aAcrobat's"
- {prefix::8} = "&bAmber"
- {prefix::7} = "&cAngel's"
- {prefix::6} = "&dArcadian"
- {prefix::5} = "&aBlazing"
- {prefix::4} = "&bBlessed"
- {prefix::3} = "&aBronze"
- {prefix::2} = "&aCaptain's"
- {prefix::1} = "&dChilling"
- {prefix::29} = "&eBrutal"
- {prefix::28} = "&9Burgundy"
- {prefix::27} = "&cBurning"
- {prefix::26} = "&aCelestial"
- {prefix::25} = "&cChromatic"
- {prefix::24} = "&dFaithful"
- {prefix::23} = "&bExpert's"
- {prefix::22} = "&9Fanatic"
- {prefix::21} = "&6Fool's"
- {prefix::19} = "&dFreezing"
- {prefix::18} = "&dGlacial"
- {prefix::17} = "&cGrinding"
- {prefix::16} = "&bGreat Wyrm's"
- {prefix::15} = "&aHawkeye"
- {prefix::14} = "&6Holy"
- {prefix::13} = "&9Jade"
- {prefix::12} = "&aKeeper's"
- {prefix::11} = "&dKenshi's"
- {prefix::20} = "&cKing's"
- {prefix::10} = "&bNature's"
- {suffix::9} = "&eLuck"
- {suffix::8} = "&9Nirvana"
- {suffix::7} = "&bPerformance"
- {suffix::6} = "&aShock"
- {suffix::5} = "&9Skill"
- {suffix::4} = "&3Storms"
- {suffix::3} = "&5Wraith"
- {suffix::2} = "&9Quickness"
- {suffix::1} = "&aReadiness"
- {suffix::29} = "&aBlight"
- {suffix::28} = "&6Brilliance"
- {suffix::27} = "&9Chance"
- {suffix::26} = "&dDexterity"
- {suffix::25} = "&cEnergy"
- {suffix::24} = "&aEnlightenment"
- {suffix::23} = "&bGiant"
- {suffix::22} = "&eHaste"
- {suffix::21} = "&cHealth"
- {suffix::19} = "&9Jackal"
- {suffix::18} = "&bLeech"
- {suffix::17} = "&aMemory"
- {suffix::16} = "&6Might"
- {suffix::15} = "&9Titan"
- {suffix::14} = "&eVampire"
- {suffix::13} = "&aVenom"
- {suffix::12} = "&eWealth"
- {suffix::11} = "&dWolf"
- {suffix::20} = "&cTiger"
- {suffix::10} = "&bSwords"
- #-----------#
- # Commands #
- #-----------#
- command /identitytome [<text>] [<text>]:
- permission: DiabloDrops.admin
- permission message: &b&lYou can not use this &b&l command!
- description: identity tome
- aliases: tome
- usage: /identitytome [args..]
- trigger:
- if arg 1 is "help":
- message "&aDiabloDrops {@playerCommand1}"
- message "&aDiabloDrops {@playerCommand2}"
- message "&aDiabloDrops {@playerCommand3}"
- message "&aDiabloDrops {@playerCommand4}"
- stop
- if arg 1 is "tomechance":
- set {identityTomeChance} to arg 2
- stop
- if arg 1 is "unidentifieditem":
- set {unidentifiedItemChance} to arg 2
- stop
- if arg 1 is "identifieditem":
- set {identifiedItemChance} to arg 2
- stop
- else:
- drop a Written Book named "&dIdentity Tome" at player
- #-----------#
- # Axes #
- #-----------#
- on death:
- victim is not a player:
- set {_tool} to bow, sword, or axe
- chance of {identifiedItemChance}%:
- drop {_tool} named "%{prefix::%random integer between 1 and 29%}% %{suffix::%random integer between 1 and 29%}% " at victim
- chance of {unidentifiedItemChance}%:
- drop {_tool} named "&k12345678" at victim
- chance of {identityTomeChance}%:
- drop Written Book named "&dIdentity Tome" at victim
- #-----------#
- # Axes #
- #-----------#
- on rightclick with Written Book:
- if the player is holding a Written Book named "&dIdentity Tome":
- cancel event
- remove 1 Written Book named "&dIdentity Tome" from player
- #-----------#
- # Swords #
- #-----------#
- if player has a diamond sword named "&k12345678":
- remove 1 diamond Sword named "&k12345678" from player
- give diamond Sword named "%{prefix::%random integer between 1 and 29%}% %{suffix::%random integer between 1 and 29%}% " to the player
- stop
- if player has a gold sword named "&k12345678":
- remove 1 gold Sword named "&k12345678" from player
- give gold Sword named "%{prefix::%random integer between 1 and 29%}% %{suffix::%random integer between 1 and 29%}% " to the player
- stop
- if player has a iron sword named "&k12345678":
- remove 1 iron Sword named "&k12345678" from player
- give iron Sword named "%{prefix::%random integer between 1 and 29%}% %{suffix::%random integer between 1 and 29%}% " to the player
- stop
- if player has a stone sword named "&k12345678":
- remove 1 stone Sword named "&k12345678" from player
- give stone Sword named "%{prefix::%random integer between 1 and 29%}% %{suffix::%random integer between 1 and 29%}% " to the player
- stop
- if player has a wood sword named "&k12345678":
- remove 1 wood Sword named "&k12345678" from player
- give wood Sword named "%{prefix::%random integer between 1 and 29%}% %{suffix::%random integer between 1 and 29%}% " to the player
- stop
- #-----------#
- # Axes #
- #-----------#
- if player has a gold axe named "&k12345678":
- remove 1 gold axe named "&k12345678" from player
- give gold axe named "%{prefix::%random integer between 1 and 29%}% %{suffix::%random integer between 1 and 29%}% " to the player
- stop
- if player has a diamond axe named "&k12345678":
- remove 1 diamond axe named "&k12345678" from player
- give diamond axe named "%{prefix::%random integer between 1 and 29%}% %{suffix::%random integer between 1 and 29%}% " to the player
- stop
- if player has a iron axe named "&k12345678":
- remove 1 iron axe named "&k12345678" from player
- give iron axe named "%{prefix::%random integer between 1 and 29%}% %{suffix::%random integer between 1 and 29%}% " to the player
- stop
- if player has a stone axe named "&k12345678":
- remove 1 stone axe named "&k12345678" from player
- give stone axe named "%{prefix::%random integer between 1 and 29%}% %{suffix::%random integer between 1 and 29%}% " to the player
- stop
- if player has a wood axe named "&k12345678":
- remove 1 wood axe named "&k12345678" from player
- give wood axe named "%{prefix::%random integer between 1 and 29%}% %{suffix::%random integer between 1 and 29%}% " to the player
- stop
- #-----------#
- # Bow #
- #-----------#
- if player has a bow named "&k12345678":
- remove 1 bow named "&k12345678" from player
- give bow named "%{prefix::%random integer between 1 and 29%}% %{suffix::%random integer between 1 and 29%}% " to the player
- stop
Advertisement
Add Comment
Please, Sign In to add comment