Jump to content
  • 0
Sign in to follow this  
lobo

help with a spell script

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

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...