base unit attacks

The place to post your WML questions and answers.

Moderator: Forum Moderators

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
JasonVoorhees
Posts: 16
Joined: July 30th, 2010, 2:25 pm

base unit attacks

Post by JasonVoorhees »

Hello. I wanted to create a Lich with lightning, so I copied all the lightning code from elder mage, only changed the images and it works. My unit bases on Lich unit and the lightning I've added replaces Lich's touch attack... and also inherits attack's special (drain) to be funnier... Is it possible to just add lightning, without retyping all the others attacks?
User avatar
zookeeper
WML Wizard
Posts: 9742
Joined: September 11th, 2004, 10:40 pm
Location: Finland

Re: base unit attacks

Post by zookeeper »

JasonVoorhees wrote:Hello. I wanted to create a Lich with lightning, so I copied all the lightning code from elder mage, only changed the images and it works. My unit bases on Lich unit and the lightning I've added replaces Lich's touch attack... and also inherits attack's special (drain) to be funnier... Is it possible to just add lightning, without retyping all the others attacks?
Try adding empty [attack] tags before the lightning [attack].
JasonVoorhees
Posts: 16
Joined: July 30th, 2010, 2:25 pm

Re: base unit attacks

Post by JasonVoorhees »

Thanks, it works ;)
Post Reply