Jump to content
  • 0

help with a spell script


lobo

Question

hi, some one can help me with this trouble. i need to create a spell than use the weapon equiped damage. example "trhow weapon" is a spell that make weapon damage in x tiles of ranges. or "long spear attack" check if you have an spear tipe weapon and make the damage 2 tiles of range.
sorry my english not native

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

This can be done with creating a spell for the attack, that has a condition applied.

  1. Create a spell "Long Spear Attack" that does the damage (AOE), has a range of 2, and what ever else you want the attack to do.
  2. Have a condition on the "Long Speak Attack" spell:
    1. Has item equipped "Long Spear"
  3. Create a Item weapon "Long Spear".

This should work for you. The spell will only cast if you have item "Long Spear" equipped.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...