Advertisement
Guest User

Untitled

a guest
May 26th, 2013
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.57 KB | None | 0 0
  1. <!-- 'a'= max hp 'b'= hp 'c'= attack power -->
  2.  
  3. <event>
  4.   <action>
  5.     <entry if_mob="pig, chicken, wolf, cow, sheep" action="log + cancel"/>
  6.     <entry if_mob="zombie" action="1a + 1b + 1c"/>
  7.     <entry if_mob="spider" action="2a + 2b + 2c"/>
  8.     <entry if_mob="enderman" action="3a + 3b + 3c"/>
  9.     <entry if_mob="skeleton" action="4a + 4b + 4c"/>
  10.   </action>
  11.   <linked_action name="1a" action="set" sub="max_hp" value="50" number_type="absolute"/>
  12.   <linked_action name="1b" action="set" sub="hp" value="50" number_type="absolute"/>
  13.   <linked_action name="1c" action="set" sub="attack_power" value="8" number_type="absolute"/>
  14.  
  15.   <linked_action name="2a" action="set" sub="max_hp" value="20" number_type="absolute"/>
  16.   <linked_action name="2b" action="set" sub="hp" value="20" number_type="absolute"/>
  17.   <linked_action name="2c" action="set" sub="attack_power" value="4" number_type="absolute"/>
  18.  
  19.   <linked_action name="3a" action="set" sub="max_hp" value="45" number_type="absolute"/>
  20.   <linked_action name="3b" action="set" sub="hp" value="45" number_type="absolute"/>
  21.   <linked_action name="3c" action="set" sub="attack_power" value="11" number_type="absolute"/>
  22.  
  23.   <linked_action name="4a" action="set" sub="max_hp" value="25" number_type="absolute"/>
  24.   <linked_action name="4b" action="set" sub="hp" value="25" number_type="absolute"/>
  25.   <linked_action name="4c" action="set" sub="attack_power" value="2" number_type="absolute"/>
  26.  
  27.   <linked_action name="log" action="log" message="prevented mob spawn!"/>
  28.   <linked_action name="cancel" action="cancel_event"/>
  29. </event>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement