ajaytrix Posted August 26, 2013 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 84 Reputation: 0 Joined: 03/29/12 Last Seen: February 15, 2017 Share Posted August 26, 2013 Case:item_combo_dbitem 1 combos with item 2: skil = warmwind level 4 1:2,{skill TK_SEVENWIND,4;} How to do this: If unequip either item1 or item 2, buffs of warm wind will be removed. Thanks. Quote Link to comment Share on other sites More sharing options...
Capuche Posted August 28, 2013 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted August 28, 2013 In item_combo.txt add (example with ID 5001 and 5074) 5001:5074,{ skill TK_SEVENWIND,4; } In item_db 5001,Headset,Headset,5,20,,200,,3,,0,0xFFFFFFFE,7,2,256,,1,1,87,{},{},{ if( isequipped(5074) ) { sc_end SC_BLESSING; sc_end SC_SEVENWIND; } } 5074,Ear_Of_Angel's_Wing,Angel Wing Ears,5,20,,100,,1,,0,0xFFFFFFFF,7,2,512,,70,0,158,{},{},{ if( isequipped(5001) ) { sc_end SC_BLESSING; sc_end SC_SEVENWIND; } } The if( isequipped(5074) ) { sc_end SC_BLESSING; sc_end SC_SEVENWIND; } will stop blessing and sevenwind when the player will unequip an item having the 2 items equipped Quote Link to comment Share on other sites More sharing options...
ajaytrix Posted August 28, 2013 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 84 Reputation: 0 Joined: 03/29/12 Last Seen: February 15, 2017 Author Share Posted August 28, 2013 In item_combo.txt add (example with ID 5001 and 5074) 5001:5074,{ skill TK_SEVENWIND,4; } In item_db 5001,Headset,Headset,5,20,,200,,3,,0,0xFFFFFFFE,7,2,256,,1,1,87,{},{},{ if( isequipped(5074) ) { sc_end SC_BLESSING; sc_end SC_SEVENWIND; } } 5074,Ear_Of_Angel's_Wing,Angel Wing Ears,5,20,,100,,1,,0,0xFFFFFFFF,7,2,512,,70,0,158,{},{},{ if( isequipped(5001) ) { sc_end SC_BLESSING; sc_end SC_SEVENWIND; } } The if( isequipped(5074) ) { sc_end SC_BLESSING; sc_end SC_SEVENWIND; } will stop blessing and sevenwind when the player will unequip an item having the 2 items equipped I tried you script as a test data. Changed: 5001:5074,{ skill TK_SEVENWIND,4; } To: 5001:5074,{ skill "TK_SEVENWIND",4; } Warm wind shows up when 2 items are equiped. But, I cannot still remove the buffs when I unequip 1 item. Quote Link to comment Share on other sites More sharing options...
Critica Posted August 28, 2013 Group: Members Topic Count: 82 Topics Per Day: 0.02 Content Count: 223 Reputation: 4 Joined: 02/23/12 Last Seen: March 28, 2018 Share Posted August 28, 2013 (edited) well if u think about it, the effect is still in there, it wont end unless you unequip all the items with the bonus. *logic* Go to item_combo_db @ re_do this(your custom id) : (your custom id),{effect} nvm my post., its stupid. on capuches post make sure u changed the item id on the bonus with your custom item iD if( isequipped(5074) isequipped(5001) Edited August 28, 2013 by Critica Quote Link to comment Share on other sites More sharing options...
Question
ajaytrix
Case:
item_combo_db
item 1 combos with item 2: skil = warmwind level 4
1:2,{skill TK_SEVENWIND,4;}
How to do this:
If unequip either item1 or item 2, buffs of warm wind will be removed.
Thanks.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.