Editing XML/Skills

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 402: Line 402:
 
<sound-file path="sounds/shot.ogg"/>
 
<sound-file path="sounds/shot.ogg"/>
 
</sound>  
 
</sound>  
<attack-strength value="90"/>
+
<attack-strenght value="90"/>
 
<attack-var value="40"/>
 
<attack-var value="40"/>
 
<attack-range value="20"/>
 
<attack-range value="20"/>
Line 440: Line 440:
  
 
===unit===
 
===unit===
An optional attribute which is used to spawn units each time this attack is commenced. If this feature is not used, the tag should be excluded completely
+
Spawns a unit of the specified name and quantity each time this attack is commenced. If this feature is not used, the tag should be excluded completely. Currently, it is not checked if the spawned units are dead before creating more. This feature is most useful for creating a custom unit such as a suicide bomb, or such which will destroy itself eventually. Set spawnAtTarget="true" to let the unit spawn at the target Unit.
"value" is the unitType that is spawned
 
"amount" is used to set the number of units that are spawned
 
"spawnAtTarget" is a boolean which let the unit spawn at the target Unit if set to true.
 
  
 
===attack-strength===
 
===attack-strength===

Please note that all contributions to MegaGlest are considered to be released under the Creative Commons Attribution Share Alike (see MegaGlest:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Template used on this page: