Jump to content
  • 0

Script for weapons.


Claiyz

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  01/20/12
  • Last Seen:  

Hi everyone.

For first , sorry for my bad english , i'm french.

So,

I want to script something on all clown/gypsy's weapons.

When you start a song skills with a clown or a gypsy , u use Adaptation to circumstance to stop it.

That's what i wan't on my weapons.

When you switch weapons , i wan't adaptation to circumstance to start and stop the song.

Is it possible ?

If yes , how ?

Thanks.

PS : If my english is really bad , just ask me , i'll correct it.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  626
  • Reputation:   188
  • Joined:  11/19/11
  • Last Seen:  

Well, Adapation can't start an song as far as I know D:.

Put this in the last {} of your item:

So it will look that with all three:

{},{},{ itemskill "BD_ADAPTATION",1; } 

So when you unequip that weapon the "Adapation to Circumstances" will be used.

Untested btw.

Regards,

Chris

Edited by llchrisll
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  221
  • Reputation:   12
  • Joined:  12/18/11
  • Last Seen:  

Adaptation to Circumstances isn't used to make songs it's used to stop them.

For example, to a whip:

1960,Whip,Whip,4,38000,,700,120,,2,1,0x00080000,7,0,2,3,30,1,14,{},{ itemskill 321,1; },{ itemskill 304,1; }

"itemskill 321,1;" casts Poem of Bragi Level 1 and "itemskill 304,1;" casts Adaptation to Circumstances Level 1.

Or else, you can only use itemskill 321,1 which would only cast Poem of Bragi, and not Adaptation.

Note that Poem of Bragi is used when you equip the item, and Adaptation is used when you un-equip the item.

Or, you can use skill 321,1; which would make your character get Poem of Bragi in their skill list (This would be put in the first pair of curlys).

Not Tested*

Edited by Keim
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  01/20/12
  • Last Seen:  

Thanks for your answers.

I tried both but it doesn't work.

Maybe there is an src which can do what i want ?

Up

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...