Advertisement
GreenGhost

AE console error 2

Oct 18th, 2019
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.53 KB | None | 0 0
  1. ***********************Excerpt of config (Expected Problem Area)******************
  2. # %(victim/attacker)is under water% - returns "true/false"
  3. # %is headshot% - returns "true/false" (for BOW)
  4. # %has potion effect <POTION EFFECT TYPE>% - returns "true/false"
  5. # %(attacker /victim )faction land% - returns ENEMY, NEUTRAL, TRUCE, MEMBER (own land) (Factions)
  6. # %(attacker /victim )level of skill (mcmmo skill(UpperCase))% - returns level number (mcMMO)
  7. # %(attacker /victim )is bleeding% - returns "true/false" if player is bleeding (mcMMO)
  8. # %damaged from behind% - returns if victim was damaged from behind by enemy
  9. # %attacker has enchantment in hand of <enchant>% - returns "true/false", checks if player has enchantment on their item
  10. # %attacker time%/%victim time% - get player world time
  11. #
  12. # « Variables for end solution »
  13. # %force% (forces effect to activate ignoring chance), %continue% (let's the effect reading continue, takes chance in consideration),
  14. # %stop% (ignores all of the effects), %chance%+x (increases chance by x%), %chance-x% (decreases chance by x%)
  15.  
  16. # Settings for enchantments
  17. # *** This is not a required configuration section and each enchantment doesn't need to have it ***
  18. # settings:
  19. # required-enchants:
  20. # - 'springs'
  21. # not-applyable-with:
  22. # - 'frozen'
  23. # removeable: false # Makes enchantment non-removeable with blackscrolls
  24. # disable-in-enchanter: true # Players can no longer obtain enchantment from Enchanter
  25. # disabled-worlds: # List worlds in which enchantment will not work (cAsE sEnSiTiVe)
  26. # - 'My_World'
  27.  
  28. restore:
  29. display: '%group-color%Restore'
  30. description: "Upon breaking, item has a chance\nto lose this enchantment and repair\nhalf of it's durability"
  31. applies-to: 'Tools'
  32. type: 'ITEM_BREAK'
  33. group: 'ULTIMATE'
  34. applies:
  35. - ALL_PICKAXE
  36. - ALL_SPADE
  37. - ALL_AXE
  38. levels:
  39. 1:
  40. chance: 40
  41. effects:
  42. - 'REMOVE_ENCHANT:restore'
  43. - 'ADD_DURABILITY_ITEM:<round><math>-1 * (%maximum durability%/2)</math></round>'
  44. - 'MESSAGE:&6&l*** &e&lItem Restored &6&l***'
  45. 2:
  46. chance: 60
  47. effects:
  48. - 'REMOVE_ENCHANT:restore'
  49. - 'ADD_DURABILITY_ITEM:<round><math>-1 * (%maximum durability%/2)</math></round>'
  50. - 'MESSAGE:&6&l*** &e&lItem Restored &6&l***'
  51. 3:
  52. chance: 80
  53. effects:
  54. - 'REMOVE_ENCHANT:restore'
  55. - 'ADD_DURABILITY_ITEM:<round><math>-1 * (%maximum durability%/2)</math></round>'
  56. - 'MESSAGE:&6&l*** &e&lItem Restored &6&l***'
  57. 4:
  58. chance: 100
  59. effects:
  60. - 'REMOVE_ENCHANT:restore'
  61. - 'ADD_DURABILITY_ITEM:<round><math>-1 * (%maximum durability%/2)</math></round>'
  62. - 'MESSAGE:&6&l*** &e&lItem Restored &6&l***'
  63. shuffle:
  64. display: '%group-color%Shuffle'
  65. description: 'Shuffles opponent''s hotbar.'
  66. applies-to: 'Armor'
  67. type: 'DEFENSE'
  68. group: 'SIMPLE'
  69. applies:
  70. - ALL_ARMOR
  71. levels:
  72. 1:
  73. chance: 5
  74. cooldown: 20
  75. effects:
  76. - 'RANDOMIZE_HOTBAR %attacker%'
  77. 2:
  78. chance: 6
  79. cooldown: 18
  80. effects:
  81. - 'RANDOMIZE_HOTBAR %attacker%'
  82. 3:
  83. chance: 8
  84. cooldown: 15
  85. effects:
  86. - 'RANDOMIZE_HOTBAR %attacker%'
  87. aquatic:
  88. display: '%group-color%Aquatic'
  89. description: 'Gives permanent water breathing.'
  90. applies-to: 'Helmets'
  91. type: 'EFFECT_STATIC'
  92. group: 'SIMPLE'
  93. applies:
  94. - ALL_HELMET
  95. levels:
  96. 1:
  97. effects:
  98. - 'POTION:WATER_BREATHING:0'
  99. autosmelt:
  100. display: '%group-color%Auto Smelt'
  101. description: "Ores are automatically smelted\nwhen mined."
  102. applies-to: 'Pickaxes'
  103. type: 'MINING'
  104. group: 'SIMPLE'
  105. applies:
  106. - ALL_PICKAXE
  107. levels:
  108. 1:
  109. chance: 41
  110. effects:
  111. - 'SMELT'
  112. 2:
  113. chance: 62
  114. effects:
  115. - 'SMELT'
  116. 3:
  117. chance: 100
  118. effects:
  119. - 'SMELT'
  120. confusion:
  121. display: '%group-color%Confusion'
  122. description: "A chance to deal nausea to\nyour victim."
  123. applies-to: 'Axes'
  124. type: 'ATTACK'
  125. group: 'SIMPLE'
  126. applies:
  127. - ALL_AXE
  128. levels:
  129. 1:
  130. chance: 13
  131. cooldown: 1
  132. effects:
  133. - 'POTION:CONFUSION:0:40 %victim%'
  134. 2:
  135. chance: 19
  136. cooldown: 1
  137. effects:
  138. - 'POTION:CONFUSION:0:80 %victim%'
  139. 3:
  140. chance: 24
  141. cooldown: 1
  142. effects:
  143. - 'POTION:CONFUSION:0:120 %victim%'
  144. experience:
  145. display: '%group-color%Experience'
  146. description: 'Chance to get experience from mining.'
  147. applies-to: 'Tools'
  148. *********************************************
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement