PewN Posted February 20, 2016 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
0 Neffletics Posted February 20, 2016 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
0 PewN Posted February 20, 2016 Author Posted February 20, 2016 Not working ~ pc_unequipitem only have 3 syntaxBtw. Thanks ~ Quote
0 Scylla Posted February 21, 2016 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
0 PewN Posted February 21, 2016 Author 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
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 ~
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.