<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://mineplugin.org/index.php?action=history&amp;feed=atom&amp;title=MagicSpells%2F%E9%AD%94%E6%B3%95%2F%E8%A2%AB%E5%8A%A8%E9%AD%94%E6%B3%95</id>
	<title>MagicSpells/魔法/被动魔法 - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://mineplugin.org/index.php?action=history&amp;feed=atom&amp;title=MagicSpells%2F%E9%AD%94%E6%B3%95%2F%E8%A2%AB%E5%8A%A8%E9%AD%94%E6%B3%95"/>
	<link rel="alternate" type="text/html" href="https://mineplugin.org/index.php?title=MagicSpells/%E9%AD%94%E6%B3%95/%E8%A2%AB%E5%8A%A8%E9%AD%94%E6%B3%95&amp;action=history"/>
	<updated>2026-06-01T10:56:57Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://mineplugin.org/index.php?title=MagicSpells/%E9%AD%94%E6%B3%95/%E8%A2%AB%E5%8A%A8%E9%AD%94%E6%B3%95&amp;diff=3080&amp;oldid=prev</id>
		<title>IceLitty：​IceLitty移动页面MagicSpells:魔法/被动魔法至MagicSpells/魔法/被动魔法</title>
		<link rel="alternate" type="text/html" href="https://mineplugin.org/index.php?title=MagicSpells/%E9%AD%94%E6%B3%95/%E8%A2%AB%E5%8A%A8%E9%AD%94%E6%B3%95&amp;diff=3080&amp;oldid=prev"/>
		<updated>2016-04-01T11:53:35Z</updated>

		<summary type="html">&lt;p&gt;IceLitty移动页面&lt;a href=&quot;/MagicSpells:%E9%AD%94%E6%B3%95/%E8%A2%AB%E5%8A%A8%E9%AD%94%E6%B3%95&quot; class=&quot;mw-redirect&quot; title=&quot;MagicSpells:魔法/被动魔法&quot;&gt;MagicSpells:魔法/被动魔法&lt;/a&gt;至&lt;a href=&quot;/MagicSpells/%E9%AD%94%E6%B3%95/%E8%A2%AB%E5%8A%A8%E9%AD%94%E6%B3%95&quot; title=&quot;MagicSpells/魔法/被动魔法&quot;&gt;MagicSpells/魔法/被动魔法&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hans-CN&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2016年4月1日 (五) 11:53的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;zh-Hans-CN&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;（没有差异）&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>IceLitty</name></author>
	</entry>
	<entry>
		<id>https://mineplugin.org/index.php?title=MagicSpells/%E9%AD%94%E6%B3%95/%E8%A2%AB%E5%8A%A8%E9%AD%94%E6%B3%95&amp;diff=3038&amp;oldid=prev</id>
		<title>IceLitty：​创建页面，内容为“被动魔法是释放魔法的特殊类型，它可以被设置成各种各样的触发器，也可以非常方便的同时触发其他技能。 魔法能量可以...”</title>
		<link rel="alternate" type="text/html" href="https://mineplugin.org/index.php?title=MagicSpells/%E9%AD%94%E6%B3%95/%E8%A2%AB%E5%8A%A8%E9%AD%94%E6%B3%95&amp;diff=3038&amp;oldid=prev"/>
		<updated>2016-04-01T06:54:58Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“被动魔法是释放魔法的特殊类型，它可以被设置成各种各样的触发器，也可以非常方便的同时触发其他技能。 魔法能量可以...”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;被动魔法是释放魔法的特殊类型，它可以被设置成各种各样的触发器，也可以非常方便的同时触发其他技能。&lt;br /&gt;
魔法能量可以传给它所触发的下一个魔法。&lt;br /&gt;
__TOC__&lt;br /&gt;
==配置==&lt;br /&gt;
&amp;lt;table border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr style=&amp;quot;background-color:#EEEEEE;&amp;quot;&amp;gt;&amp;lt;th width=&amp;quot;7%&amp;quot;&amp;gt;选项&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;解释&amp;lt;/th&amp;gt;&amp;lt;th width=&amp;quot;7%&amp;quot;&amp;gt;默认值&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;triggers&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;A list of triggers that activate this spells&amp;#039; effects. See below for more information.&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;空&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;chance&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;The chance that this spell will activate when the trigger happens. Should be a number between 1 and 100.&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;100&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;cast-without-target&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;If you use targeted spells but the trigger does not have a target, they will normally not be casted. If you would like them to cast anyway, set this option to true. Note that the External Command Spell is considered a targeted spell.&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;false&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;send-failure-messages&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Whether to send failure messages, like on cooldown and missing reagents.&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;false&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;delay&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;The number of ticks to delay spell activation after the trigger is detected. A value of -1 means that the spells will activate at the same time as the trigger (often means just before), a value of 0 means the spells will activate immediately after the trigger, and any value greater than 0 is the number of ticks to wait before activating the spells.&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;-1&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;cancel-default-action&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Whether to cancel the default action that was triggered. For example, with a damage-based trigger, setting this to true would cancel the damage. This will not work if there is any delay (the delay must be -1 for it to work).&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;false&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;spells&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;A list of spells to activate when this spell is triggered.&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;空&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
==触发器==&lt;br /&gt;
触发器格式：&amp;lt;名字&amp;gt;[值]，并不是所有触发器都有值。&lt;br /&gt;
&amp;lt;table border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr style=&amp;quot;background-color:#EEEEEE;&amp;quot;&amp;gt;&amp;lt;th width=&amp;quot;7%&amp;quot;&amp;gt;触发器&amp;lt;/th&amp;gt;&amp;lt;th colspan=&amp;quot;2&amp;quot;&amp;gt;解释&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr style=&amp;quot;background-color:#EEEEEE;&amp;quot;&amp;gt;&amp;lt;th colspan=&amp;quot;2&amp;quot;&amp;gt;伤害触发器&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;takedamage&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Triggers when the player takes damage. The var is the item (or comma-separated list) that the attacker is holding, or a [http://jd.bukkit.org/apidocs/org/bukkit/event/entity/EntityDamageEvent.DamageCause.html damage type] (or comma-separated list). Leave out the var to allow any damage source.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;givedamage&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Triggers when the player gives damage. The var is the item (or comma-separated list) that the player is holding. Leave out the var to allow any item.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;kill&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Triggers when the player kills an enemy. The var is the type of entity (or comma-separated list) killed. Leave out the var to allow any entity.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;death [v3.0]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Triggers when the player dies. Note that this may cause odd behavior in some situations, since dead players can&amp;#039;t really cast spells.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr style=&amp;quot;background-color:#EEEEEE;&amp;quot;&amp;gt;&amp;lt;th colspan=&amp;quot;2&amp;quot;&amp;gt;玩家事件触发器&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;join [v3.0]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Triggers when the player joins the game.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;respawn&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Triggers when the player respawns.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;quit [v3.0]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Triggers when the player quits the game. Note that this may cause odd behavior in some situations, since offline players can&amp;#039;t really cast spells.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr style=&amp;quot;background-color:#EEEEEE;&amp;quot;&amp;gt;&amp;lt;th colspan=&amp;quot;2&amp;quot;&amp;gt;玩家动作触发器&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;sprint&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Triggers when the player starts to sprint. Does not use a var.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;stopsprint&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Triggers when the player stops sprinting. Does not use a var.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;sneak&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Triggers when the player starts to sneak. Does not use a var.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;stopsneak&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Triggers when the player stops sneaking. Does not use a var.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;fly [v3.0]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Triggers when the player starts to fly (presses double-jump). Does not use a var.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;stopfly [v3.0]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Triggers when the player stops flying. Does not use a var.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;dropitem [v3.0]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Triggers when the player drops an item from their inventory. The var is the item type or comma-separated list.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;pickupitem [v3.0]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Triggers when the player picks up an item from the ground. The var is the item type or comma-separated list.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;fish [v3.0]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Triggers when the player fishes. The var is one of the following: ground, fish, fail, or an entity type.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;shoot [v3.1]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Triggers when the player fires a projectile (an arrow from a bow). Does not use a var.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;teleport [v3.0]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Triggers when the player teleports. The var is the teleport cause, which is one of the following: command, endportal, enderpearl, netherportal, plugin, or unknown.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr style=&amp;quot;background-color:#EEEEEE;&amp;quot;&amp;gt;&amp;lt;th colspan=&amp;quot;2&amp;quot;&amp;gt;行动触发器&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;blockbreak&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Triggers when the player breaks a block. The var is the block id (or comma-separated list). Leave out the var to trigger on any block break.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;blockplace&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Triggers when the player places a block. The var is the block id (or comma-separated list). Leave out the var to trigger on any block place.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;rightclick&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Triggers when the player right clicks. The var is the item that the player is holding (or comma-separated list).&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;rightclickblockcoord&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Triggers when the player right clicks a specific block, or a list of blocks. The var is the coordinates of the block in the format world,x,y,z (can specify a list with semi-colons, ie: world,x,y,z;world,x,y,z).&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;rightclickblocktype&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Triggers when the player right clicks a certain type of block, or list of types. The var is the block id (or comma-separated list).&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;rightclickentity [v3.0]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Triggers when the player right clicks on an entity. The var is the type of entity.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr style=&amp;quot;background-color:#EEEEEE;&amp;quot;&amp;gt;&amp;lt;th colspan=&amp;quot;2&amp;quot;&amp;gt;技能触发器&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;spellcast&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Triggers when the player casts a spell. The var is the spell name to check. Leave out the var to trigger on any spell cast.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;spelltarget&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Triggers when the player targets another player or monster with a spell. The var is the spell name to check. Leave out the var to trigger on any targeted spell cast.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;spelltargeted&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Triggers when the player is targeted by a spell. The var is the spell name being cast. Leave out the var to trigger on any spell.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;buff&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;A special trigger that makes a buff spell always active. Technically triggers on player join, leave, death, and respawn. Does not use a var. Only works with buff spells, and should not generally be used with any other triggers.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr style=&amp;quot;background-color:#EEEEEE;&amp;quot;&amp;gt;&amp;lt;th colspan=&amp;quot;2&amp;quot;&amp;gt;其他触发器&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;ticks&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Triggers periodically. The var is the tick interval, in server ticks (20 = approx 1 second).&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
==例子==&lt;br /&gt;
===样例1：毒剑===&lt;br /&gt;
如果玩家拥有此技能，在他使用金剑攻击的时候将会有30%几率使对方中毒。当触发后，冷却4秒之后才会再进行判定。&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
poisonsword:&lt;br /&gt;
    spell-class: &amp;quot;.PassiveSpell&amp;quot;&lt;br /&gt;
    triggers: &lt;br /&gt;
        - givedamage 283&lt;br /&gt;
    chance: 30&lt;br /&gt;
    cooldown: 4&lt;br /&gt;
    spells:&lt;br /&gt;
        - poison&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>IceLitty</name></author>
	</entry>
</feed>