Advertisement
Guest User

Untitled

a guest
May 22nd, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.02 KB | None | 0 0
  1. on load:
  2. #1つ目のリスト:パック番号
  3. #2つ目のリスト:カード番号
  4. set {CP.PackName::1} to "&rビギナーズパック"
  5. set {CP.IncludeItem::1::0} to 1 pumpkin named "&7[N]&6かぼ&r" with lore "&5---Lore---||&f普通の弱いカード||&5---効果---||&c攻撃力:1500||&b特殊攻撃力:1||&f場に1匹まで出せる"
  6. set {CP.IncludeWeight::1::0} to 1750
  7. set {CP.IncludeItem::1::1} to 1 raw fish named "&7[N]&bお魚君&r" with lore "&5---Lore---||&fぎょぎょぎょw||&5---効果---||&c攻撃力:1500||&b特殊攻撃力:1||&f場に3匹まで出せる"
  8. set {CP.IncludeWeight::1::1} to 1750
  9. set {CP.IncludeItem::1::2} to 1 ice named "&7[N]&bアイスアタック&r" with lore "&5---Lore---||&f凍らせちゃえ||&5---効果---||&b特殊攻撃力:1||&f召喚時、特殊攻撃力1を与え||&fこのカードを即座に破壊する||&fこのカードは1ターンに1回のみ発動できる"
  10. set {CP.IncludeWeight::1::2} to 1750
  11. set {CP.IncludeItem::1::3} to 1 bone named "&7[N]&fウルフ&r" with lore "&5---Lore---||&f目が...こわい||&5---効果---||&c攻撃力:2000||&b特殊攻撃力:2||&f1ターン中に、このカードは場に1匹までしか召喚できない"
  12. set {CP.IncludeWeight::1::3} to 1750
  13. set {CP.IncludeItem::1::4} to 1 zombie head named "&7[O]&f弱師匠&r" with lore "&5---Lore---||&f弱いが少し強くしてくれる||&5---効果---||&c攻撃力:0||&b特殊攻撃力:0||&fこのカードが場にいる間、||&fこのカードを除いた周囲1マス(8方向)の味方の||&f攻撃力に+1000する||&f効果は重複する"
  14. set {CP.IncludeWeight::1::4} to 1000
  15. set {CP.IncludeItem::1::5} to 1 stick named "&7[R]&f剣士&r" with lore "&5---Lore---||&fかっこいい!!||&5---効果---||&c攻撃力:5000||&b特殊攻撃力:3||&a①&f召喚時、味方に&7[N]&rウルフがいれば||&fこのカードは召喚時から即座に攻撃可能となる||&a②&f召喚時相手のモンスターを1匹破壊する||&f召喚時相手のモンスターがいなければ、||&f相手に特殊攻撃力1を与える"
  16. set {CP.IncludeWeight::1::5} to 250
  17. set {CP.IncludeItem::1::6} to 1 enchantment table named "&7[R]&5魔導士&r" with lore "&5---Lore---||&f魔法だ!!||&5---効果---||&c攻撃力:2500||&b特殊攻撃力:3||&a①&f攻撃時、1ターンに1度だけMP+1||&a②&f味方を1体破壊することで、1ターンのみ攻撃力+1000||&fこの効果は1ターンに1度だけ発動することができる||&fこの効果は相手のターン中でも発動できる"
  18. set {CP.IncludeWeight::1::6} to 250
  19. set {CP.IncludeItem::1::7} to 1 nether star named "&7[SR]&5魔法&b剣士&r" with lore "&5---Lore---||&f魔法と剣を両立している||&5---効果---||&c攻撃力:7500||&b特殊攻撃力:6||&a①&fこのカードは、&7[R]&f剣士と&7[R]&5魔導士&rを||&f1体ずつ破壊することで召喚できる||&a②&fこのカードは、味方を1体破壊しMPを1減らすことで攻撃できる||&a③&f攻撃したとき、このカードは攻撃したターンの間攻撃力+1500を得る"
  20. set {CP.IncludeWeight::1::7} to 170
  21. set {CP.IncludeItem::1::8} to 1 bone block named "&7[SR]&f強ウルフ&r" with lore "&5---Lore---||&fかっこよすぎw||&5---効果---||&c攻撃力:5000||&b特殊攻撃力:3||&a①&fこのカードは&7[N]&fウルフを3体破壊することで召喚できる||&a②&fこのカードは召喚したターンから攻撃できる||&a③&fこのカードは攻撃する瞬間のみ攻撃力+2500を得る"
  22. set {CP.IncludeWeight::1::8} to 170
  23. set {CP.IncludeItem::1::9} to 1 light green wool named "&7[SSR]&b風剣士&r" with lore "&5---Lore---||&f疾風で切り裂く||&5---効果---||&c攻撃力:8000||&b特殊攻撃力:4||&a①&fこのカードは、&7[SR]&5魔法&b剣士&rと&7[SR]&f強ウルフ&rを||&f1体ずつ破壊することで召喚できる||&a②&fこのカードは召喚したターンから攻撃できる||&a③&fこのカードは、味方を一体破壊することで攻撃できる||&a④&f召喚から3ターン後にこのカードは破壊される"
  24. set {CP.IncludeWeight::1::9} to 100
  25. set {CP.IncludeItem::1::10} to 1 white wool named "&7[UR]&f白犬&r" with lore "&5---Lore---||&f今回の目玉||&5---効果---||&c攻撃力:15000||&b特殊攻撃力:6||&a①&fこのカードは場にレア度&7[O]&fのカードがないときのみ召喚できる||&a②&f召喚時に敵を1体破壊し、MP+3||&a③&f攻撃時に敵を1体破壊する||&a④&f味方が1匹でも召喚されたとき、このカードは破壊される"
  26. set {CP.IncludeWeight::1::10} to 60
  27. set {CP.IncludeItem::1::11} to 1 armor stand named "&7[M]&6旅人&r" with lore "&5---Lore---||&f初期のカードにはふさわしい||&5---効果---||&dMP:15"
  28. set {CP.IncludeWeight::1::11} to 1000
  29. set {CP.IncludeItem::1::12} to 1 packed ice named "&b&l[ER]ブリザードウルフ&r" with lore "&5---Lore---||&bすべてを凍らせる||&5---効果---||&c攻撃力:50000||&b特殊攻撃力:8||&a①&f召喚時、敵味方問わずすべてのモンスターを破壊する||&a②&fこのカードが破壊されたとき、MP10を消費して手札に戻すことができる||&a③&fこのカードが場にあるとき、敵味方問わずすべてのモンスターは||&f1ターンに2回攻撃できる||&a④&fこのカードはこのカードとレア度&7[O]&fのカード以外の破壊する効果を受けない||&fこのカードにこのカードとレア度&7[O]&fのカード以外の破壊する効果が発動されたとき||&f同じ効果を敵に発動できる||&a⑤&4&o[ER]ファイヤードラゴン&rが召喚されたときこのカードは破壊される||&fこの効果は④では無効化されない"
  30. set {CP.IncludeWeight::1::12} to 1
  31.  
  32.  
  33.  
  34.  
  35. set {CP.PackName::2} to "&d復刻の&4ドラゴン"
  36. set {CP.IncludeItem::2::0} to 1 fire charge named "&f[N]&4ファイヤーボール&r" with lore "&5---Lore---||&4相手を焼き尽くせ||&5---効果---||&a①&fこのカードは1ターンに1回使え、||&f②もしくは③どちらかの効果のみ使用でき、||&f効果発動後にこのカードは破壊される||&a②&f相手のモンスターを1体破壊する||&a③&f相手のモンスターの特殊攻撃力の平均で相手に特殊攻撃力を与える"
  37. set {CP.IncludeWeight::2::0} to 2334
  38. set {CP.IncludeItem::2::1} to 1 black wool named "&f[N]&f武道家&r" with lore "&5---Lore---||&f火力重視でぶっ放せ||&5---効果---||&c攻撃力:0||&b特殊攻撃力:0||&fこのカードは、攻撃する瞬間のみ攻撃力=15000、特殊攻撃力+1される||&f攻撃が終わると攻撃力=0、特殊攻撃力=0となる"
  39. set {CP.IncludeWeight::2::1} to 2333
  40. set {CP.IncludeItem::2::2} to 1 stick named "&f[N]&f動く錆びた剣&r" with lore "&5---Lore---||&f切れるか?||&5---効果---||&c攻撃力:500||&b特殊攻撃力:1||&fこのカードが攻撃したとき、このカードは破壊される"
  41. set {CP.IncludeWeight::2::2} to 2333
  42. set {CP.IncludeItem::2::3} to 1 gold ingot named "&f[R]&eゴールド・ドラゴン&r" with lore "&5---Lore---||&fぴっかぴっか||&5---効果---||&c攻撃力:0||&b特殊攻撃力:0||&a①&f敵から攻撃されるとき、その攻撃をこのカードに向けることができる||&a②&fこのカードが攻撃されるたび、攻撃力+5000"
  43. set {CP.IncludeWeight::2::3} to 750
  44. set {CP.IncludeItem::2::4} to 1 stone button named "&f[R]&fリセット&r" with lore "&5---Lore---||&fやり直す||&5---効果---||&a①&fこのカードは1ゲームに1回、自分のMPが0以下になったときのみいつでも使える||&a②&f場のすべてのモンスターを破壊し、||&f両者ともにMPをリーダーカードの初期状態のMPに戻す"
  45. set {CP.IncludeWeight::2::4} to 750
  46. set {CP.IncludeItem::2::5} to 1 leather named "&f[SR]&f竜騎士&r" with lore "&5---Lore---||&f竜みたいな騎士||&5---効果---||&c攻撃力:5600||&b特殊攻撃力:3||&a①&fMPを1払うことで、召喚されたターンでも攻撃できる||&a②&f召喚されたターンから、毎ターン攻撃力+500||&a③&f味方が破壊されたとき1体につきMP+2||&fただしこのカードと同時に破壊された場合は効果は発動されない"
  47. set {CP.IncludeWeight::2::5} to 170
  48. set {CP.IncludeItem::2::6} to 1 grass named "&f[SR]&f大地の恵み&r" with lore "&5---Lore---||&f回復する||&5---効果---||&a①&fこのカードは1ゲームに2回まで使用できる||&a②&f使用時MPをリーダーカードの最大値まで回復し||&fコストを一切支払わずモンスターを1体召喚できる||&f相手のターンでも使える||&f効果発動後にこのカードは破壊される"
  49. set {CP.IncludeWeight::2::6} to 170
  50. set {CP.IncludeItem::2::7} to 1 dragon head named "&f[SSR]&a竜王&r" with lore "&5---Lore---||&f1第&koooo&r復&koo&rバー&kooo&rン&koo&r||&5---効果---||&c攻撃力:15000||&b特殊攻撃力:5||&a①&fこのカードの破壊する効果は無効化されない||&a②&f召喚時、場にいるこのカード以外のすべてのモンスターを||&f破壊し、1体毎にどちらもMP-5する||&a③&4自爆&f:1ゲームに1回使える||&fこのカードを含め場のモンスターをすべて破壊する"
  51. set {CP.IncludeWeight::2::7} to 100
  52. set {CP.IncludeItem::2::8} to 1 obsidian named "&f[UR]&f???犬&r" with lore "&5---Lore---||&fカードゲームが生まれたサバでできた本に出てきた謎の犬||&5---効果---||&c攻撃力:500||&b特殊攻撃力:1||&a①&f召喚されたターンから1ターンごとに攻撃力+10000、特殊攻撃力+2||&a②&fこのカードは召喚から5ターン後に破壊される||&a③&f敵から攻撃されるとき、その攻撃をこのカードに向けることができる||&a④&fこのカードを使用した試合で負けた時||&f所持金の1/10を相手に支払わなければいけない"
  53. set {CP.IncludeWeight::2::8} to 60
  54. set {CP.IncludeItem::2::9} to 1 armor stand named "&f[M]&f騎士&r" with lore "&5---Lore---||&f旅人の強化||&5---効果---||&5MP:20"
  55. set {CP.IncludeWeight::2::9} to 900
  56. set {CP.IncludeItem::2::10} to 1 blaze rod named "&f[A]&7Sword&r" with lore "&5---Lore---||&f錆びついている(装備カード)||&5---効果---||&c攻撃力+1500||&b特殊攻撃力+1"
  57. set {CP.IncludeWeight::2::10} to 100
  58. set {CP.IncludeItem::2::11} to 1 blaze powder named "&4&o[ER]ファイヤードラゴン&r" with lore "&5---Lore---||&f大昔すべてを焼き払ったとされるドラゴン||&5---効果---||&c攻撃力:50000||&b特殊攻撃力:8||&a①&f召喚時にMPを1払い、次のターンからこのカードが場に残っている間||&f1ターン毎に自分のMPを1ずつ削る||&a②&f召喚時自分の場に&b&l[ER]ブリザードウルフ&rがいれば攻撃力:75000となる||&a③&f攻撃時、自分と相手の場のモンスターを1体ずつ破壊し攻撃する||&fどちらかがいない場合攻撃ができない||&a④&fレア度&7[UR]&r以上のモンスターもしくは&b&l[ER]ブリザードウルフ&rが召喚されたとき||&fこのカードは破壊される"
  59. set {CP.IncludeWeight::2::11} to 1
  60.  
  61. on load:
  62. clear {CP.Gacha::*}
  63. wait 1 tick
  64. loop {CP.PackName::*}:
  65. set {CP.GachaLong::%loop-index-1%} to 0
  66. loop {CP.IncludeItem::%loop-index-1%::*}:
  67. loop {CP.IncludeWeight::%loop-index-1%::%loop-index-2%} times:
  68. set {CP.Gacha::%loop-index-1%::%{CP.GachaLong::%loop-index-1%}%} to {CP.IncludeItem::%loop-index-1%::%loop-index-2%}
  69. set {CP.GachaLong::%loop-index-1%} to {CP.GachaLong::%loop-index-1%} + 1
  70.  
  71.  
  72.  
  73. on right click holding paper:
  74. loop {CP.PackName::*}:
  75. loop-value is the name of event-item
  76. set {_CP.PackName%player%} to loop-index
  77. {_CP.PackName%player%} is set
  78. if player is not sneaking:
  79. set {_CP.Gacha.Chance} to random integer between 0 to {CP.GachaLong::%{_CP.PackName%player%}%} - 1
  80. give {CP.Gacha::%{_CP.PackName%player%}%::%{_CP.Gacha.Chance}%} to player
  81. wait 1 tick
  82. remove 1 of event-item from player
  83. else:
  84. if item amount of event-item is bigger than 63:
  85. loop 64 times:
  86. set {_CP.Gacha.Chance} to random integer between 0 to {CP.GachaLong::%{_CP.PackName%player%}%} - 1
  87. give {CP.Gacha::%{_CP.PackName%player%}%::%{_CP.Gacha.Chance}%} to player
  88. wait 1 tick
  89. remove 64 of event-item from player
  90. stop
  91. else:
  92. stop
  93.  
  94. on drop:
  95. name of event-item contains "R"
  96. loop {CP.PackName::*}:
  97. loop {CP.IncludeItem::%loop-index-1%::*}:
  98. 2nd line of event-item's lore is 2nd line of loop-value-2's lore
  99. 1 of event-item isn't loop-value-2
  100. cancel event
  101. wait 1 tick
  102. remove 1 of event-item from player
  103. give loop-value-2 to player
  104. stop
  105.  
  106.  
  107. command /givepack <text> [<player>] [<integer>]:
  108. permission: "admin"
  109. trigger:
  110. if arg 2 is set:
  111. set {_CP.Giveplayer} to arg 2
  112. else:
  113. set {_CP.Giveplayer} to player
  114. loop {CP.PackName::*}:
  115. loop-value is arg 1
  116. set {_CP.PackName%player%} to loop-index
  117. if {_CP.PackName%player%} isn't set:
  118. set {_CP.PackName%player%} to arg 1 parsed as integer
  119. if arg 3 is set:
  120. set {_CP.GiveNum} to arg 3
  121. else:
  122. set {_CP.GiveNum} to 1
  123. give {_CP.GiveNum} of paper named "%{CP.PackName::%{_CP.PackName%player%}%}%" to {_CP.Giveplayer}
  124. message "&a[GIVEPACK]&f%{_CP.Giveplayer}%に%{_CP.GiveNum}%個の%{CP.PackName::%{_CP.PackName%player%}%}%を与えました"
  125.  
  126. command /givecard <text> <integer> [<player>] [<integer>]:
  127. permission: "admin"
  128. trigger:
  129. if arg 3 is set:
  130. set {_CP.Giveplayer} to arg 3
  131. else:
  132. set {_CP.Giveplayer} to player
  133. loop {CP.PackName::*}:
  134. loop-value is arg 1
  135. set {_CP.PackName%player%} to loop-index
  136. if {_CP.PackName%player%} isn't set:
  137. set {_CP.PackName%player%} to arg 1 parsed as integer
  138. if arg 4 is set:
  139. set {_CP.GiveNum} to arg 4
  140. else:
  141. set {_CP.GiveNum} to 1
  142. give {_CP.GiveNum} of {CP.IncludeItem::%{_CP.PackName%player%}%::%arg 2%} to {_CP.Giveplayer}
  143. message "&a[GIVECARD]&f%{_CP.Giveplayer}%に%{_CP.GiveNum}%枚の% name of {CP.IncludeItem::%{_CP.PackName%player%}%::%arg 2%}%を与えました"
  144.  
  145. command /cardinfo [<player>]:
  146. aliases: /c
  147. trigger:
  148. if arg 1 exist:
  149. set {_CP.Player} to arg 1
  150. else:
  151. set {_CP.Player} to player
  152. message "%name of {_CP.Player}'s tool%"
  153. set {_CP.Line} to 1
  154. while line {_CP.Line} of {_CP.Player}'s tool's lore exist:
  155. message "%line {_CP.Line} of {_CP.Player}'s tool's lore%"
  156. set {_CP.Line} to {_CP.Line} + 1
  157.  
  158. command /item <item>[|<text>][|<text>]:
  159. permission: "admin"
  160. trigger:
  161. give arg 1 named coloured arg 2 with lore coloured arg 3 to player
  162.  
  163. on damage:
  164. loop 10 times:
  165. play redstone block break on victim to attacker
  166. wait 1 tick
  167.  
  168. on join:
  169. message "&a[カードゲーム鯖]&fこんにちは!"
  170. broadcast "&a&l%player%さんがログインしました!"
  171. message "&a[カードゲーム鯖]&f更新内容||&f復刻のドラゴンパック追加||&fアイテムを投げることでアイテムの更新ができるように||&f/c が使えるようになりました 手に持っているアイテムの説明文をチャットに表示します"
  172. message "&a[お知らせ]&fカードゲーム鯖には非公式DISCORDがあります。参加することでサーバーの状況を誰かが教えてくれるかもしれません。"
  173. execute console command "tell %player% https://discord.gg/ye8epkz"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement