dest1n Posted April 12, 2019 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 17 Reputation: 1 Joined: 04/11/19 Last Seen: July 26, 2019 Share Posted April 12, 2019 hello can anyone help me with scripting for this effect ? 1. - enable to use Magnus Break lvl 10 - every 10 seconds recover 5,000 HP and 100 SP - If user's base level is lower than 99, every refine level adds str+3 and flee +5 - if user's base level is higherr than 99, every refine level adds str+10 and flee +15 thank you Quote Link to comment Share on other sites More sharing options...
0 crazyarashi Posted April 12, 2019 Group: Developer Topic Count: 50 Topics Per Day: 0.02 Content Count: 776 Reputation: 239 Joined: 02/11/17 Last Seen: 14 hours ago Share Posted April 12, 2019 .@r = getrefine(); skill "SM_MAGNUM",10; bonus2 bHPRegenRate,5000,10000; bonus2 bSPRegenRate,100,10000; if(BaseLevel < 99){ bonus bStr,3*.@r; bonus bFlee,5*.@r; } else { bonus bStr,10*.@r; bonus bFlee,15*.@r; } Quote Link to comment Share on other sites More sharing options...
0 dest1n Posted April 12, 2019 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 17 Reputation: 1 Joined: 04/11/19 Last Seen: July 26, 2019 Author Share Posted April 12, 2019 On 4/12/2019 at 2:48 PM, crazyarashi said: .@r = getrefine(); skill "SM_MAGNUM",10; bonus2 bHPRegenRate,5000,10000; bonus2 bSPRegenRate,100,10000; if(BaseLevel < 99){ bonus bStr,3*.@r; bonus bFlee,5*.@r; } else { bonus bStr,10*.@r; bonus bFlee,15*.@r; } thank you, i will try it later . and sorry for the double post so i tried put this code into my \db\re\item_combo.txt like this 22178:4352,{ skill "SM_MAGNUM",10; bonus2 bHPRegenRate,5000,10000; bonus2 bSPRegenRate,100,10000; .@r = getrefine(); if(BaseLevel<99){bonus bStr,3*.@r;bonus bFlee,5*.@r;}else{bonus bStr,10*.@r;bonus bFlee,15*.@r;} } everything works fine but for the bonus str and flee every refine are not working for both condition Quote Link to comment Share on other sites More sharing options...
0 crazyarashi Posted April 12, 2019 Group: Developer Topic Count: 50 Topics Per Day: 0.02 Content Count: 776 Reputation: 239 Joined: 02/11/17 Last Seen: 14 hours ago Share Posted April 12, 2019 5 minutes ago, dest1n said: 22178:4352,{ skill "SM_MAGNUM",10; bonus2 bHPRegenRate,5000,10000; bonus2 bSPRegenRate,100,10000; .@r = getrefine(); if(BaseLevel<99){bonus bStr,3*.@r;bonus bFlee,5*.@r;}else{bonus bStr,10*.@r;bonus bFlee,15*.@r;} } everything works fine but for the bonus str and flee every refine are not working for both condition You added it in item_combo, you need to wear both item for effect to work. Quote Link to comment Share on other sites More sharing options...
0 dest1n Posted April 12, 2019 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 17 Reputation: 1 Joined: 04/11/19 Last Seen: July 26, 2019 Author Share Posted April 12, 2019 On 4/12/2019 at 5:54 PM, crazyarashi said: You added it in item_combo, you need to wear both item for effect to work. yes i wear both item , everything is fine , i got the skill " Magnum Break ". only the bonus str and flee is not working On 4/12/2019 at 6:06 PM, crazyarashi said: .@r = getrefine(); skill "SM_MAGNUM",10; bonus2 bHPRegenRate,5000,10000; bonus2 bSPRegenRate,100,10000; if(BaseLevel < 99){ bonus bStr,.@r*3; bonus bFlee,.@r*5; } else { bonus bStr,.@r*10; bonus bFlee,.@r*15; } it's still not working for the regen rate and bonus str/flee for both condition the item effect is like this Quote Link to comment Share on other sites More sharing options...
0 crazyarashi Posted April 12, 2019 Group: Developer Topic Count: 50 Topics Per Day: 0.02 Content Count: 776 Reputation: 239 Joined: 02/11/17 Last Seen: 14 hours ago Share Posted April 12, 2019 .@r = getrefine(); skill "SM_MAGNUM",10; bonus2 bHPRegenRate,5000,10000; bonus2 bSPRegenRate,100,10000; if(BaseLevel < 99){ bonus bStr,.@r*3; bonus bFlee,.@r*5; } else { bonus bStr,.@r*10; bonus bFlee,.@r*15; } 1 Quote Link to comment Share on other sites More sharing options...
0 crazyarashi Posted April 12, 2019 Group: Developer Topic Count: 50 Topics Per Day: 0.02 Content Count: 776 Reputation: 239 Joined: 02/11/17 Last Seen: 14 hours ago Share Posted April 12, 2019 Change the .@r to getequiprefinerycnt(EQI_SHOES); 1 Quote Link to comment Share on other sites More sharing options...
0 dest1n Posted April 13, 2019 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 17 Reputation: 1 Joined: 04/11/19 Last Seen: July 26, 2019 Author Share Posted April 13, 2019 21 hours ago, crazyarashi said: Change the .@r to getequiprefinerycnt(EQI_SHOES); so i put like this 22178:4352,{.@r = getequiprefinerycnt(EQI_SHOES); skill "SM_MAGNUM",10; bonus2 bHPRegenRate,5000,10000 ; bonus2 bSPRegenRate,100,10000; if(BaseLevel < 99){ bonus bStr,3*.@r; bonus bFlee,5*.@r;} ; else{bonus bStr,10*.@r;bonus bFlee,15*.@r;}} but only get the skill,, the bonus regen rate and bonus status are not working Quote Link to comment Share on other sites More sharing options...
0 crazyarashi Posted April 13, 2019 Group: Developer Topic Count: 50 Topics Per Day: 0.02 Content Count: 776 Reputation: 239 Joined: 02/11/17 Last Seen: 14 hours ago Share Posted April 13, 2019 it won't work because you have an extra ; in your code. Quote Link to comment Share on other sites More sharing options...
0 dest1n Posted April 13, 2019 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 17 Reputation: 1 Joined: 04/11/19 Last Seen: July 26, 2019 Author Share Posted April 13, 2019 On 4/13/2019 at 6:54 PM, crazyarashi said: it won't work because you have an extra ; in your code. is it become like this ? 22178:4352,{.@r = getequiprefinerycnt(EQI_SHOES); skill "SM_MAGNUM",10; bonus2 bHPRegenRate,5000,10000 ; bonus2 bSPRegenRate,100,10000; if(BaseLevel < 99){ bonus bStr,3*.@r; bonus bFlee,5*.@r;} else{bonus bStr,10*.@r;bonus bFlee,15*.@r;}} ok so after i put that script , its working for the skill and bonus stats, but the hp/sp regen still not working Quote Link to comment Share on other sites More sharing options...
Question
dest1n
hello can anyone help me with scripting for this effect ?
1. - enable to use Magnus Break lvl 10
- every 10 seconds recover 5,000 HP and 100 SP
- If user's base level is lower than 99, every refine level adds str+3 and flee +5
- if user's base level is higherr than 99, every refine level adds str+10 and flee +15
thank you
Link to comment
Share on other sites
9 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.