nbwars Posted July 4, 2013 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 7 Reputation: 0 Joined: 04/27/13 Last Seen: September 6, 2021 Share Posted July 4, 2013 I need to implement a new kind of bonus who count how many times the src use the skill and in the 3rd time, the skill damage would be higher. Like this : bonus bStrongHit,Skill_ID,%dmg_increased; Thanks Quote Link to comment Share on other sites More sharing options...
-SkittleNugget- Posted July 4, 2013 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 318 Reputation: 54 Joined: 12/23/12 Last Seen: July 1, 2017 Share Posted July 4, 2013 How many times the skill has been used in a row, or at any time. Quote Link to comment Share on other sites More sharing options...
nbwars Posted July 4, 2013 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 7 Reputation: 0 Joined: 04/27/13 Last Seen: September 6, 2021 Author Share Posted July 4, 2013 (edited) anytime edit: anytime with the item / card equipped unnequip : count = 0 src dies : count = 0 would be perfect if after 5 seconds if the src don`t use the 3rd skill , count = 0. Edited July 5, 2013 by nbwars Quote Link to comment Share on other sites More sharing options...
nbwars Posted July 5, 2013 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 7 Reputation: 0 Joined: 04/27/13 Last Seen: September 6, 2021 Author Share Posted July 5, 2013 bump Quote Link to comment Share on other sites More sharing options...
nbwars Posted July 7, 2013 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 7 Reputation: 0 Joined: 04/27/13 Last Seen: September 6, 2021 Author Share Posted July 7, 2013 (edited) I'm wondering if this can be made by calling a function in the item script. i'm trying with the following code but, no sucess at all. perhaps i can`t get when the PC use the skill or i`m doing something wrong. Card Script: 8502,StrongHit_Card,StrongHit Card,6,20,,10,,,,,,,,136,,,,,{callfunc "StrongHit",1;},{},{} Function: function script StrongHit { // =================================== // ============= CONFIGS ============= // =================================== // === BEGIN === set i,0; set skillid,ASC_BREAKER; // === END === OnInit: set i,0; stopnpctimer; setnpctimer(0); OnPCUseSkill: switch(EVENT_SKILLID) { case 379: set i,i+1; announce "TIMES = "+i,bc_blue; if (i == 2) { setitemscript 8502,"{ bonus2 bSkillAtk,"+skillid+",50; }"; initnpctimer; OnTimer5000: announce "5 seconds",bc_red; setitemscript 8502,"{ callfunc \"StrongHit\",1; }"; set i,0; stopnpctimer; } } OnPCDieEvent: set i,0; stopnpctimer; // Credits // By: iXaDe and elliot } Need Help ! Thanks Edited July 7, 2013 by nbwars Quote Link to comment Share on other sites More sharing options...
Question
nbwars
I need to implement a new kind of bonus who count how many times the src use the skill and in the 3rd time, the skill damage would be higher.
Like this : bonus bStrongHit,Skill_ID,%dmg_increased;
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.