Two weapon specials: how?

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
commander keen

Two weapon specials: how?

Post by commander keen »

I heard you can't have more than 1 weapon special.
Is there any possible way to simulate two weapon specials or is it impossible?
No need to go to too much bother though. :)
User avatar
zookeeper
WML Wizard
Posts: 9742
Joined: September 11th, 2004, 10:40 pm
Location: Finland

Re: Two weapon specials: how?

Post by zookeeper »

commander keen wrote:I heard you can't have more than 1 weapon special.
Both true and false.
commander keen wrote:Is there any possible way to simulate two weapon specials or is it impossible?
Yes.
User avatar
JW
Posts: 5047
Joined: November 10th, 2005, 7:06 am
Location: Chicago-ish, Illinois

Post by JW »

The next logical step in this thread is to ask:

"How is it done?"
Swordy
Posts: 110
Joined: June 10th, 2005, 8:38 am

Post by Swordy »

try this maybe...? :lol:

Code: Select all

[attack]
 name=a supercool attack
 type=pierce
 damage=5
 number=4
 [specials]
  {WEAPON_SPECIAL_MAGICAL}
  {WEAPON_SPECIAL_SLOW}
  {WEAPON_SPECIAL_FIRSTSTRIKE}
 [/specials]
[/attack]


let me know if this works. i haven't tried it yet :)
User avatar
Elvish_Pillager
Posts: 8137
Joined: May 28th, 2004, 10:21 am
Location: Everywhere you think, nowhere you can possibly imagine.
Contact:

Post by Elvish_Pillager »

For those who do, try getting 1.1.7 first. :P
It's all fun and games until someone loses a lawsuit. Oh, and by the way, sending me private messages won't work. :/ If you must contact me, there's an e-mail address listed on the website in my profile.
Swordy
Posts: 110
Joined: June 10th, 2005, 8:38 am

Post by Swordy »

tried it... it works! :D
and yes... only on 1.1.7

waita minute... i didn't specify if it's melee or ranged!... :shock: yet it still works! but i don't know if it works as melee or ranged or maybe something uncounterble! :twisted:
Ethan
Posts: 23
Joined: July 19th, 2006, 7:11 am

Post by Ethan »

The last version is more generic, you haven't only melee/ranged. Each attak has a range value.
If you don't understand what I want to say, it may be quite normal, just ask me to reformulate. :p And your are welcome to correct my errors. :p
Post Reply