Dvrstle Posted January 13, 2013 Group: Members Topic Count: 125 Topics Per Day: 0.03 Content Count: 361 Reputation: 10 Joined: 12/30/11 Last Seen: January 3, 2016 Share 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 Link to comment Share on other sites More sharing options...
eJay Posted January 13, 2013 Group: Members Topic Count: 80 Topics Per Day: 0.02 Content Count: 325 Reputation: 76 Joined: 03/22/12 Last Seen: August 5, 2019 Share 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 Link to comment Share on other sites More sharing options...
Dvrstle Posted January 13, 2013 Group: Members Topic Count: 125 Topics Per Day: 0.03 Content Count: 361 Reputation: 10 Joined: 12/30/11 Last Seen: January 3, 2016 Author Share 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 Link to comment Share on other sites More sharing options...
Capuche Posted January 13, 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 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 Link to comment Share on other sites More sharing options...
mrlongshen Posted January 28, 2013 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 1302 Reputation: 79 Joined: 12/04/12 Last Seen: September 26, 2019 Share 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 Link to comment Share on other sites More sharing options...
Capuche Posted January 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 January 28, 2013 can i use this on renewal ? Yes you can. Quote Link to comment Share on other sites More sharing options...
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; },{},{}
Link to comment
Share on other sites
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.