Jump to content
  • 0

Is there a way i can force this?


Critica

Question


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.02
  • Content Count:  223
  • Reputation:   4
  • Joined:  02/23/12
  • Last Seen:  

Hey guys just wonderin,

is there a way i can force the cards to be slotted on the 2nd slot?

i wana make the armor enchant orbs, to be slotted on the 2nd slot not on first...

is there a way wihout NPC...?

Link to comment
Share on other sites

11 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  69
  • Reputation:   10
  • Joined:  05/14/12
  • Last Seen:  

The only way I know of is through a script :\

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.02
  • Content Count:  223
  • Reputation:   4
  • Joined:  02/23/12
  • Last Seen:  

well yea i have a script that will force it to be slotted on 2nd slot,,

but when i used the decard npc, it takes it out and then after that you can slot it anywhere...

...

uhm on your script does it slot it on the 2nd, everytime i use it or do i need to talk to an npc to use it?

Edited by critica
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  69
  • Reputation:   10
  • Joined:  05/14/12
  • Last Seen:  

I don't have a script for it. The only possible way to do that is to edit the item in the database as well. Which will affect every single one in the server, not just that player's.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  130
  • Reputation:   43
  • Joined:  12/11/11
  • Last Seen:  

You could do something like this

check item id
remove the cards
if(user has an orb){
 remove the item
 remove the orb
 give the item with the orb attached
}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  69
  • Reputation:   10
  • Joined:  05/14/12
  • Last Seen:  

He wants to be able to insert the orb like a card into the second slot of the armor (Which isn't usable) after decarding the armor once.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  34
  • Reputation:   4
  • Joined:  11/09/11
  • Last Seen:  

You could do something like this

check item id
remove the cards
if(user has an orb){
 remove the item
 remove the orb
 give the item with the orb attached
}

Use getitem2 to attached the orb in the second slot.

http://rathena.org/wiki/Getitem2

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  658
  • Reputation:   57
  • Joined:  11/20/11
  • Last Seen:  

Genuine is right !

getitem2 is like @item2 , where you can choose which Card Slot you want to use.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.02
  • Content Count:  223
  • Reputation:   4
  • Joined:  02/23/12
  • Last Seen:  

uhm.. can you guys help me script this?

and can it work using callfunc?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  658
  • Reputation:   57
  • Joined:  11/20/11
  • Last Seen:  

You'll just have to use the getitem2 command :

Just read the info about getitem2 on the wiki

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.02
  • Content Count:  223
  • Reputation:   4
  • Joined:  02/23/12
  • Last Seen:  

well yea i know about that,,

but what i need is a script, that will automatically slot the "Armor Enchant Orbs" into the 2nd slot when used...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  130
  • Reputation:   43
  • Joined:  12/11/11
  • Last Seen:  

I'm guessing you want the Orb to be usable?

One interesting idea:

  • Set the Orb as usable (type 11 if you don't want it to disappear directly).
  • On use you bring up a menu with equipment that are slotable
  • When an item is selected, you remove that item (and the orb if type is 11) and *getitem2 it with the orb in slot 2

Not sure if usable items can be slotted and have OnEquip bonuses. If not, just make 2 items. One for using and one for the slot.

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...