PewN Posted February 20, 2016 Group: Members Topic Count: 209 Topics Per Day: 0.04 Content Count: 892 Reputation: 27 Joined: 12/09/11 Last Seen: April 16, 2016 Share Posted February 20, 2016 Hi ~ rAthena.I just need some help How can i edit the skill Tarot Card instead of breaking the item it will only unequip it? case 3: // 1000 damage, random armor destroyed { status_fix_damage(src, bl, 1000, 0, skill_id); clif_damage(src,bl,tick,0,0,1000,0,DMG_NORMAL,0); if( !status_isdead(bl) ) { int where[] = { EQP_ARMOR, EQP_SHIELD, EQP_HELM, EQP_SHOES, EQP_GARMENT }; skill_break_equip(src,bl, where[rnd()%5], 10000, BCT_ENEMY); } } break; Thanks ~ Quote Link to comment Share on other sites More sharing options...
0 Neffletics Posted February 20, 2016 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 149 Reputation: 24 Joined: 02/11/16 Last Seen: May 16, 2023 Share Posted February 20, 2016 Not really good at src modification but you can play with pc_unequipitem.Like this: pc_unequipitem(src,bl, where[rnd()%5], 10000, BCT_ENEMY); Quote Link to comment Share on other sites More sharing options...
0 PewN Posted February 20, 2016 Group: Members Topic Count: 209 Topics Per Day: 0.04 Content Count: 892 Reputation: 27 Joined: 12/09/11 Last Seen: April 16, 2016 Author Share Posted February 20, 2016 Not working ~ pc_unequipitem only have 3 syntaxBtw. Thanks ~ Quote Link to comment Share on other sites More sharing options...
0 Scylla Posted February 21, 2016 Group: Members Topic Count: 47 Topics Per Day: 0.01 Content Count: 374 Reputation: 47 Joined: 03/27/13 Last Seen: 21 hours ago Share Posted February 21, 2016 (edited) Hi ~ rAthena. I just need some help How can i edit the skill Tarot Card instead of breaking the item it will only unequip it? case 3: // 1000 damage, random armor destroyed { status_fix_damage(src, bl, 1000, 0, skill_id); clif_damage(src,bl,tick,0,0,1000,0,DMG_NORMAL,0); if( !status_isdead(bl) ) { int where[] = { EQP_ARMOR, EQP_SHIELD, EQP_HELM, EQP_SHOES, EQP_GARMENT }; skill_break_equip(src,bl, where[rnd()%5], 10000, BCT_ENEMY); } } break; Thanks ~ Try doing this: skill_strip_equip(src,bl, where[rnd()%5], 10000, skill_lv, skill_get_time(skill_id,skill_lv)); EDIT: Tested and working. Edited February 21, 2016 by Scylla 1 Quote Link to comment Share on other sites More sharing options...
0 PewN Posted February 21, 2016 Group: Members Topic Count: 209 Topics Per Day: 0.04 Content Count: 892 Reputation: 27 Joined: 12/09/11 Last Seen: April 16, 2016 Author Share Posted February 21, 2016 Hi ~ rAthena. I just need some help How can i edit the skill Tarot Card instead of breaking the item it will only unequip it? case 3: // 1000 damage, random armor destroyed { status_fix_damage(src, bl, 1000, 0, skill_id); clif_damage(src,bl,tick,0,0,1000,0,DMG_NORMAL,0); if( !status_isdead(bl) ) { int where[] = { EQP_ARMOR, EQP_SHIELD, EQP_HELM, EQP_SHOES, EQP_GARMENT }; skill_break_equip(src,bl, where[rnd()%5], 10000, BCT_ENEMY); } } break; Thanks ~ Try doing this: skill_strip_equip(src,bl, where[rnd()%5], 10000, skill_lv, skill_get_time(skill_id,skill_lv)); EDIT: Tested and working. Thanks for your help ~ too damn to realize hahaha Quote Link to comment Share on other sites More sharing options...
Question
PewN
Hi ~ rAthena.

I just need some help
How can i edit the skill Tarot Card instead of breaking the item it will only unequip it?
Thanks ~
Link to comment
Share on other sites
4 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.