Dvrstle Posted January 13, 2013 Posted January 13, 2013 disable the effect of having 2 Thanatos Cards. . . the script should check if there's only one thanatos card equipped 4399,Thanatos_Card,Memory of Thanatos Card,6,20,,10,,,,,,,,2,,,,,{ bonus bAtkRate,-60; bonus bDefRatioAtkRace,RC_Boss; bonus bDefRatioAtkRace,RC_NonBoss; bonus bSPDrainValue,-1; bonus bDef,-30; bonus bFlee,-30; },{},{} Quote
eJay Posted January 13, 2013 Posted January 13, 2013 (edited) I think the 2 of thanatos is not working, or the one is working and the other one it's not working, i'm not perfect ragnarok player but thats i know, i'm almost 7 years RO player Edited January 13, 2013 by eJay 1 Quote
Dvrstle Posted January 13, 2013 Author Posted January 13, 2013 my thanatos card is edited so i just want to know how to disable the usage of 2 thana cards. . . bump~~ Quote
Capuche Posted January 13, 2013 Posted January 13, 2013 doc/script_commands.txt *isequipped(<id>{,<id>{,<id>{,<id>}}}) This function will return 1 if the invoking character has all of the item IDs given equipped (if card IDs are passed, then it checks if the cards are inserted into slots in the equipment they are currently wearing). Theoretically there is no limit to the number of items that may be tested for at the same time. If even one of the items given is not equipped, 0 will be returned. // (Poring,Santa Poring,Poporing,Marin) if (isequipped(4001,4005,4033,4196)) mes "Wow! You're wearing a full complement of possible poring cards!"; // (Poring) if (isequipped(4001)) mes "A poring card is useful, don't you think?"; The function was meant for item scripts to support the cards released by Gravity in February 2005, but it will work just fine in normal NPC scripts. 4399,Thanatos_Card,Memory of Thanatos Card,6,20,,10,,,,,,,,2,,,,,{ if( !isequipped(4399) ) { bonus bAtkRate,-60; bonus bDefRatioAtkRace,RC_Boss; bonus bDefRatioAtkRace,RC_NonBoss; bonus bSPDrainValue,-1; bonus bDef,-30; bonus bFlee,-30; } },{},{} Easy isn't it ? Quote
mrlongshen Posted January 28, 2013 Posted January 28, 2013 doc/script_commands.txt *isequipped(<id>{,<id>{,<id>{,<id>}}}) This function will return 1 if the invoking character has all of the item IDs given equipped (if card IDs are passed, then it checks if the cards are inserted into slots in the equipment they are currently wearing). Theoretically there is no limit to the number of items that may be tested for at the same time. If even one of the items given is not equipped, 0 will be returned. // (Poring,Santa Poring,Poporing,Marin) if (isequipped(4001,4005,4033,4196)) mes "Wow! You're wearing a full complement of possible poring cards!"; // (Poring) if (isequipped(4001)) mes "A poring card is useful, don't you think?"; The function was meant for item scripts to support the cards released by Gravity in February 2005, but it will work just fine in normal NPC scripts. 4399,Thanatos_Card,Memory of Thanatos Card,6,20,,10,,,,,,,,2,,,,,{ if( !isequipped(4399) ) { bonus bAtkRate,-60; bonus bDefRatioAtkRace,RC_Boss; bonus bDefRatioAtkRace,RC_NonBoss; bonus bSPDrainValue,-1; bonus bDef,-30; bonus bFlee,-30; } },{},{} Easy isn't it ? can i use this on renewal ? Quote
Capuche Posted January 28, 2013 Posted January 28, 2013 can i use this on renewal ? Yes you can. Quote
Question
Dvrstle
disable the effect of having 2 Thanatos Cards. . . the script should check if there's only one thanatos card equipped
4399,Thanatos_Card,Memory of Thanatos Card,6,20,,10,,,,,,,,2,,,,,{ bonus bAtkRate,-60; bonus bDefRatioAtkRace,RC_Boss; bonus bDefRatioAtkRace,RC_NonBoss; bonus bSPDrainValue,-1; bonus bDef,-30; bonus bFlee,-30; },{},{}
5 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.