Jump to content

Stolao's Weapon Mastery [v1.29] -Unsupported, Bug Fixes Only-


Stolao

Recommended Posts


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

"im used the latest one." is not a git/svn number please give me a git/svn so i can test on your revision

 

 

 

 

 

sir i found a bug. priest cant leveling their weapon mastery even killing using holylight. can you make priest can got exp when in party or something like that? cause so many priest in my server doesnt get exp when leveling together

 

 

what rev are you using? i tested on a priest and gained exp just fine using holy light against Anubis.

 

 

only the killer will receive weapon exp for the kill btw. as it uses onnpckillevent: for the exp gain

 

i could make it give exp to whole party however that would make it more of a heavy script then it already is

 

 

im used the latest one. and i found another bug when i killed mvp the exp got over and weapon level didnt level up i post the screen shot below

 

79a866c924.jpg

 

 

 

provide me with a git/revision, the latest one changes daily so "latest one" is not accurate

 

 

also any mobs with a lable, such as Biolab 3 MVPs will not trigger OnNpcKillEvent:as they have there own triggered event

 

all the script reads is the monsters level from the mob

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  6
  • Reputation:   0
  • Joined:  09/03/13
  • Last Seen:  

"im used the latest one." is not a git/svn number please give me a git/svn so i can test on your revision

 

 

 

 

 

sir i found a bug. priest cant leveling their weapon mastery even killing using holylight. can you make priest can got exp when in party or something like that? cause so many priest in my server doesnt get exp when leveling together

 

 

what rev are you using? i tested on a priest and gained exp just fine using holy light against Anubis.

 

 

only the killer will receive weapon exp for the kill btw. as it uses onnpckillevent: for the exp gain

 

i could make it give exp to whole party however that would make it more of a heavy script then it already is

 

 

im used the latest one. and i found another bug when i killed mvp the exp got over and weapon level didnt level up i post the screen shot below

 

79a866c924.jpg

 

 

 

provide me with a git/revision, the latest one changes daily so "latest one" is not accurate

 

 

also any mobs with a lable, such as Biolab 3 MVPs will not trigger OnNpcKillEvent:as they have there own triggered event

 

all the script reads is the monsters level from the mob

 

im using svn 17541 pls check it thanks

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

im using svn 17541 pls check it thanks

 

Ok ive done a test on rev 17541 and i still cannot duplicate your bug, ima pm you

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  54
  • Reputation:   0
  • Joined:  04/18/15
  • Last Seen:  

Hey stolao, how can i remove the debug msgs im getting when someone uses the Healer script on my server? Im getting this debug msg on my map server.

[ Debug ] : source (NPC): PCSTATCALC (invisible/not on a map)
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

 

Hey stolao, how can i remove the debug msgs im getting when someone uses the Healer script on my server? Im getting this debug msg on my map server.

[ Debug ] : source (NPC): PCSTATCALC (invisible/not on a map)

 

change

-	script	PCSTATCALC	-1,{

to

prontera,50,50,0	script	PCSTATCALC	-1,{
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  54
  • Reputation:   0
  • Joined:  04/18/15
  • Last Seen:  

still having the same problems...

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

 

 

Hey stolao, how can i remove the debug msgs im getting when someone uses the Healer script on my server? Im getting this debug msg on my map server.

[ Debug ] : source (NPC): PCSTATCALC (invisible/not on a map)

 

change

-	script	PCSTATCALC	-1,{

to

prontera,50,50,0	script	PCSTATCALC	-1,{

 

try this then

prontera,50,50,0	script	PCSTATCALC	111,{
end;

 the end right after so if a player should click on it wont activate anything, and change to view 111 which is invisible but clickable

still having the same problems...

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  51
  • Reputation:   19
  • Joined:  04/21/13
  • Last Seen:  

Hi Stolao, I want to say your script is elaborate and cool ! And thanks a lot for sharing it  ^_-

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

Hi Stolao, I want to say your script is elaborate and cool ! And thanks a lot for sharing it  ^_-

 

np, i hope you enjoy

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  114
  • Reputation:   0
  • Joined:  05/10/12
  • Last Seen:  

Awesome relese :D

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

Awesome relese :D

Glad you like it
Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  141
  • Topics Per Day:  0.03
  • Content Count:  444
  • Reputation:   22
  • Joined:  06/18/12
  • Last Seen:  

still having the same problems...

I think the debug is caused by 'getequipid' since if it returns to 0, a debug will occur.

I think it use 'getequipisequiped' before 'getequipid'

 

 

Try to replace this under the OnPCStatCalcEvent

removed

@Stolao,

 Can you further explain this? /hmm

set .expcurve,25; //Exp curve for weapon mastery
//Next Lv Exp Cost = Lv*(Lv*.expcurve)+10+Lv
//Larger .expcurve is harder to level up
//Default 25
 
set .wExpBoost,25619; //Item ID of wlv exp booster
 
set .wLvBonus,1; //Amount of extra Weapon Exp from higher level weapons equipped 
//Bonus exp = WLv*.wLvBonus
//Default 1

 

1) .expcurve is like experience rate right? what should I put here if I want weapon leveling to be more harder?

2) How much(in percent) does .wExpBoost, increase the experience rate?

3) What is wLvBonus? I can't quite get your current explanation

 

Anyway this script is really awesome. I'm gonna put this on my server.  :) Thanks for sharing.

 

 

 

EDIT:

Sorry, that won't fix it since Safeguard is also for Unarmmed. /sry

I also want to get rid of the debug XD

Edited by Lord Ganja
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

Exp curve is calculated like this - Next Lv Exp Cost = Lv*(Lv*.expcurve)+10+Lv

 

example:

from 99 -> 100 under a 25 exp curve is 245149 exp

while 99 -> 100 under a 50 exp curve is 490174 exp

 

as for wLvBonus its simply the Level of your weapon as a flat exp boost, as for a % boost it varies depending on the mobs you hunt, but overall it ends up about a 8-10% exp boost with a level 4 weapon

 

and the debug is caused by it being an invisible npc

 

anything else?


 

still having the same problems...

I think the debug is caused by 'getequipid' since if it returns to 0, a debug will occur.

I think it use 'getequipisequiped' before 'getequipid'

 

 

Try to replace this under the OnPCStatCalcEvent

removed

@Stolao,

 Can you further explain this? /hmm

set .expcurve,25; //Exp curve for weapon mastery
//Next Lv Exp Cost = Lv*(Lv*.expcurve)+10+Lv
//Larger .expcurve is harder to level up
//Default 25
 
set .wExpBoost,25619; //Item ID of wlv exp booster
 
set .wLvBonus,1; //Amount of extra Weapon Exp from higher level weapons equipped 
//Bonus exp = WLv*.wLvBonus
//Default 1

 

1) .expcurve is like experience rate right? what should I put here if I want weapon leveling to be more harder?

2) How much(in percent) does .wExpBoost, increase the experience rate?

3) What is wLvBonus? I can't quite get your current explanation

 

Anyway this script is really awesome. I'm gonna put this on my server.  :) Thanks for sharing.

 

 

 

EDIT:

Sorry, that won't fix it since Safeguard is also for Unarmmed. /sry

I also want to get rid of the debug XD

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  141
  • Topics Per Day:  0.03
  • Content Count:  444
  • Reputation:   22
  • Joined:  06/18/12
  • Last Seen:  

The debug is still appearing when unequipping a weapon and during login without a weapon equipped.

 

I didn't see this. XD

 

//Larger .expcurve is harder to level up

 

 

Question - if I set .wLvBonus to 1, it wouldn't affect anything? the bonus exp will come from the weapon level only?

 

 

I wanted the experience will come only from MVP. So I added this below OnPCKillEvent

if ( !getmonsterinfo( killedrid, MOB_MVPEXP ) ) end;

Can you give me suggestion what to put on .expcurve so that they won't be able to max level it within a day? bloody branch can easily be purchased on my server using zeny so it's easy to level it up plus the mvps give high exp..

 

I was thinking about they can max one weapon mastery if they keep hunting mvp for 2weeks(let's say playing 10hrs per day). I wanted it to be really difficult. XD

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  545
  • Reputation:   220
  • Joined:  03/01/13
  • Last Seen:  

I've just stumbled across this and it really is lovely. I can't wait to play with it a bit. One thing I noticed straight away though is the lack of a shield 'style.' That just seems like a missed opportunity. If you are open to suggestions, I'd love to see an addition for shields as well.

I'll try to leave a more eloquent comment after I have a chance to properly test.

Regards,
~Aura Skyy

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

I've just stumbled across this and it really is lovely. I can't wait to play with it a bit. One thing I noticed straight away though is the lack of a shield 'style.' That just seems like a missed opportunity. If you are open to suggestions, I'd love to see an addition for shields as well.

I'll try to leave a more eloquent comment after I have a chance to properly test.

Regards,

~Aura Skyy

Originally i had Safeguard check for a shield but i changed this early on so it preformed less checks, this is back when it didnt use OnPcCalcEvent but when it used a modified itemdb, i could easily modify a version for you if you like?

 

 

 

1: The debug is still appearing when unequipping a weapon and during login without a weapon equipped.

- Which Rev are you using?

 

2:Question - if I set .wLvBonus to 1, it wouldn't affect anything? the bonus exp will come from the weapon level only?

- Its .wLvBonus * the Weapon level, id recommend 1-5 at tops, basically it an instinctive to use better wapons

 

3:Can you give me suggestion what to put on .expcurve so that they won't be able to max level it within a day? bloody branch can easily be purchased on my server using zeny so it's easy to level it up plus the mvps give high exp.. I was thinking about they can max one weapon mastery if they keep hunting mvp for 2weeks(let's say playing 10hrs per day). I wanted it to be really difficult. XD

-The exp gained is equal to the mobs Level so a curve of 50 should be fine to get from level 50 -> 51 you need to kill 1262 Level 99 Valks and for 99 -> 100 its 4952 Valk Kills

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  141
  • Topics Per Day:  0.03
  • Content Count:  444
  • Reputation:   22
  • Joined:  06/18/12
  • Last Seen:  

I'm using this Git Hash: '2fc20c460d02cfe55e2ec2399ec65250c6dd4da6'

 

I already did this but debug is still there when unequipping a weapon and during login without a weapon equipped.

prontera,50,50,0	script	PCSTATCALC	111,{
end;

 

-The exp gained is equal to the mobs Level so a curve of 50 should be fine to get from level 50 -> 51 you need to kill 1262 Level 99 Valks and for 99 -> 100 its 4952 Valk Kills

 

Thank you :D

Edited by Lord Ganja
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

I'm using this Git Hash: '2fc20c460d02cfe55e2ec2399ec65250c6dd4da6'

 

I already did this but debug is still there when unequipping a weapon and during login without a weapon equipped.

prontera,50,50,0	script	PCSTATCALC	111,{
end;

 

-The exp gained is equal to the mobs Level so a curve of 50 should be fine to get from level 50 -> 51 you need to kill 1262 Level 99 Valks and for 99 -> 100 its 4952 Valk Kills

 

Thank you :D

kk updating my git as we speak

Update

Updated weapon mastery 1.20 -> 1.21 (technically same file)
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  141
  • Topics Per Day:  0.03
  • Content Count:  444
  • Reputation:   22
  • Joined:  06/18/12
  • Last Seen:  

 

I'm using this Git Hash: '2fc20c460d02cfe55e2ec2399ec65250c6dd4da6'

 

I already did this but debug is still there when unequipping a weapon and during login without a weapon equipped.

prontera,50,50,0	script	PCSTATCALC	111,{
end;

 

-The exp gained is equal to the mobs Level so a curve of 50 should be fine to get from level 50 -> 51 you need to kill 1262 Level 99 Valks and for 99 -> 100 its 4952 Valk Kills

 

Thank you :D

kk updating my git as we speak

Update

Updated weapon mastery 1.20 -> 1.21 (technically same file)

Thanks for updating. Btw where can I download the file?

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

I'm using this Git Hash: '2fc20c460d02cfe55e2ec2399ec65250c6dd4da6'

I already did this but debug is still there when unequipping a weapon and during login without a weapon equipped.

prontera,50,50,0	script	PCSTATCALC	111,{
end;

-The exp gained is equal to the mobs Level so a curve of 50 should be fine to get from level 50 -> 51 you need to kill 1262 Level 99 Valks and for 99 -> 100 its 4952 Valk Kills

Thank you :D

kk updating my git as we speak

Update

Updated weapon mastery 1.20 -> 1.21 (technically same file)
Thanks for updating. Btw where can I download the file?

In my git

https://github.com/Stolao/Npc_Release/blob/master/Weapon_Mastery/WeaponMastery_v1.20.txt

It says 1.20 but I messed up my update and updated 1.21 as 1.20

I'm using this Git Hash: '2fc20c460d02cfe55e2ec2399ec65250c6dd4da6'

I already did this but debug is still there when unequipping a weapon and during login without a weapon equipped.

prontera,50,50,0	script	PCSTATCALC	111,{
end;

-The exp gained is equal to the mobs Level so a curve of 50 should be fine to get from level 50 -> 51 you need to kill 1262 Level 99 Valks and for 99 -> 100 its 4952 Valk Kills

Thank you :D

kk updating my git as we speak

Update

Updated weapon mastery 1.20 -> 1.21 (technically same file)
Thanks for updating. Btw where can I download the file?

In my git

https://github.com/Stolao/Npc_Release/blob/master/Weapon_Mastery/WeaponMastery_v1.20.txt

It says 1.20 but I messed up my update and updated 1.21 as 1.20

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  141
  • Topics Per Day:  0.03
  • Content Count:  444
  • Reputation:   22
  • Joined:  06/18/12
  • Last Seen:  

@Stolao, 

 

The debug is still there. Tried unequipping the weapon the debug will appear. And login without weapon equipped, the debug will appear again..

 

 

I also find some minor errors

[Error]: Missing 1 right curlys at line '317'.
script error on line 138 parse_simpleexpr: unmatched ')'
script error on line 258 parse_simpleexpr: unmatched ')'
script error on line 273 parse_simpleexpr: unmatched ')'

Anyway if I wanted them to use battle manual instead of job battle manual, do I just change

(getbattleflag("job_exp_rate") + getbattleflag("job_exp_rate") * getstatus(SC_JEXPBOOST,2))

to

(getbattleflag("base_exp_rate") + getbattleflag("base_exp_rate") * getstatus(SC_EXPBOOST,2))

?

 

 

And for the .expcurve, does it still have the same formula? The larger the .expcurve the harder to level up weapon mastery?

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

For debug i'll look again when home, I might have messed up my git updates.

Ty I'll check when home

Yes that should work

And yes its still higher is harder

@Stolao,

The debug is still there. Tried unequipping the weapon the debug will appear. And login without weapon equipped, the debug will appear again..

I also find some minor errors

[Error]: Missing 1 right curlys at line '317'.
script error on line 138 parse_simpleexpr: unmatched ')'
script error on line 258 parse_simpleexpr: unmatched ')'
script error on line 273 parse_simpleexpr: unmatched ')'
Anyway if I wanted them to use battle manual instead of job battle manual, do I just change
(getbattleflag("job_exp_rate") + getbattleflag("job_exp_rate") * getstatus(SC_JEXPBOOST,2))
to
(getbattleflag("base_exp_rate") + getbattleflag("base_exp_rate") * getstatus(SC_EXPBOOST,2))
?

And for the .expcurve, does it still have the same formula? The larger the .expcurve the harder to level up weapon mastery?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  141
  • Topics Per Day:  0.03
  • Content Count:  444
  • Reputation:   22
  • Joined:  06/18/12
  • Last Seen:  

For debug i'll look again when home, I might have messed up my git updates.

Ty I'll check when home

Yes that should work

And yes its still higher is harder

 

Alright. Thanks :D

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

Sorry irl has been busy

I'll update asap probably tomorrow (on phone) when I'm able to get on computer

For debug i'll look again when home, I might have messed up my git updates.

Ty I'll check when home

Yes that should work

And yes its still higher is harder

Alright. Thanks :D

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  141
  • Topics Per Day:  0.03
  • Content Count:  444
  • Reputation:   22
  • Joined:  06/18/12
  • Last Seen:  

Sorry irl has been busy

I'll update asap probably tomorrow (on phone) when I'm able to get on computer

 

No rush man :)  Anyway I also found out that swiftness has incorrect info.

 

 

When you type @wi, this one will appear

if(.@X >= 32)dispbottom ""+(1+SwiftnessMaster)/10+"."+((1+SwiftnessMaster)%10)+"% chance of healing for "+(.@X/24+1)+"% of damage dealt with each normal attack";
if(.@X >= 64)dispbottom "Critical Chance +"+(1+.@X/20)+"";
if(.@X >= 128)dispbottom "Crit Damage +"+(.@X/9-1)+"%";

while the bonus is not right

if(SwiftnessMaster >= 32)	bonus bCritAtkRate,SwiftnessMaster/9-1;
if(SwiftnessMaster >= 64)	bonus bCritical,1+OnslaughtMaster/20;
if(SwiftnessMaster >= 128)	bonus2 bHPDrainRate,1+SwiftnessMaster,1+SwiftnessMaster/24;

EDIT:

 

Fixed the debug msgs by changing all lines like this

if(getequipid(EQI_HAND_R)){ set .@ei,getiteminfo(getequipid(EQI_HAND_R),11);

  into

if(getequipisequiped(EQI_HAND_R)){ set .@ei,getiteminfo(getequipid(EQI_HAND_R),11);

-------------------------------------------------------

This

Setd ""+.@M$+"Exp",getd(""+.@M$+"Exp") + (strmobinfo(3,killedrid)+.wLvBonus*getiteminfo(getequipid(EQI_HAND_R),13)) * (getbattleflag("job_exp_rate") + getbattleflag("job_exp_rate") * getstatus(SC_JEXPBOOST,2));

into

if(getequipisequiped(EQI_HAND_R)) .@weplevel = getiteminfo(getequipid(EQI_HAND_R),13);
else .@weplevel = 1;
Setd ""+.@M$+"Exp",getd(""+.@M$+"Exp") + (strmobinfo(3,killedrid)+.wLvBonus*.@weplevel) * (getbattleflag("job_exp_rate") + getbattleflag("job_exp_rate") * getstatus(SC_JEXPBOOST,2)); 

Please just check it if still works the same.

 

 

Btw about the wrong info @wi, I checked it and there are several wrong info displayed on @wi. might be because of your updates, you forgot to change @wi infos.

I somehow fixed them by using your default calculations based on the functions.

 

I came up with this. PS: I modified some infos xD. Hope this might still help you

OnWeaponInfo:
	set .@M$,.@atcmd_parameters$[0];
	if((.@M$ == "")){
		if(getequipisequiped(EQI_HAND_R)){ set .@ei,getiteminfo(getequipid(EQI_HAND_R),11);
		} else { set .@ei,-1; }
		switch(.@ei){
			case 3:  	case 6: 	case 7: 	case 8:	
			case 9:		case 12:					set .@M$,"Onslaught";	Break;
			case 0: 	case 1: 	case 16:	case 22:	set .@M$,"Swiftness";	Break;
			case 2: 	case 4: 	case 5:		case -1:	set .@M$,"Safeguard";	Break;
			case 11:	case 13:	case 14:	case 17:
			case 18:	case 19:	case 20:	case 21:	set .@M$,"Ranged";	Break;
			case 10:	case 15:	case 23:	case 24:	set .@M$,"Mystical";	Break;
		}
	}
	if(.@M$ == "Onslaught" || .@M$ == "onslaught" || .@M$ == "OnSlaught") set .@i,1;
	if(.@M$ == "Swiftness" || .@M$ == "swiftness") set .@i,2;
	if(.@M$ == "Safeguard" || .@M$ == "Safeguard" || .@M$ == "Safeguard") set .@i,3;
	if(.@M$ == "Ranged"    || .@M$ == "ranged"   ) set .@i,4;
	if(.@M$ == "Mystical"  || .@M$ == "mystical" ) set .@i,5;
	set .@X,atoi(.@atcmd_parameters$[1]);
	if(!.@X) set .@X,getd(""+.@M$+"Master");
	switch(.@i){
		case 1:
			dispbottom "Onslaught Lv: "+.@X+" "+OnslaughtExp+" / "+((OnslaughtMaster*OnslaughtMaster*25)+10+OnslaughtMaster)+"xp";
			dispbottom "Str +"+(1+.@X/32)+"";
			dispbottom "Atk +"+(1+.@X/7+((1+.@X/7)*readparam(bStr)/100))+"%";
			if(.@X >= 1)dispbottom "Critical +"+(1+.@X/20)+"";
			if(.@X >= 2)dispbottom "Atk +"+(1+.@X/4)+"";
			if(.@X >= 4)dispbottom "Weapon Atk +"+(1+.@X/4)+"";
			if(.@X >= 8)dispbottom "On-target impact chance +"+(1+.@X/21)+"%";
			if(.@X >= 16)dispbottom "Base Atk +"+(.@X/4+1)+"";
			if(.@X >= 32)dispbottom "Crit Damage +"+(.@X/4+1)+"%";
			if(.@X >= 64)dispbottom "Aspd +"+(.@X/22+1)+"%";
			if(.@X >= 128)dispbottom "Splash attack radius +1";
		break;
		case 2:	
			dispbottom "Swiftness Lv: "+.@X+" "+SwiftnessExp+" / "+((SwiftnessMaster*SwiftnessMaster*25)+10+SwiftnessMaster)+"xp";
			dispbottom "Agi +"+(1+.@X/32)+"";
			dispbottom "Aspd +"+(1+.@X/7+((1+.@X/7)*readparam(bAgi)/100))+"%";
			if(.@X >= 1)dispbottom "Moving speed +"+(1+.@X/9)+"%";
			if(.@X >= 2)dispbottom "Flee +"+(.@X/3)+"";
			if(.@X >= 4)dispbottom "Double Attack Chance +"+(1+.@X/9)+"%";
			if(.@X >= 8)dispbottom "Perfect Dodge +"+(1+.@X/33)+"";
			if(.@X >= 16)dispbottom "On-target impact chance +"+(1+.@X/11)+"%";
			if(.@X >= 32)dispbottom "Crit Damage +"+(.@X/9-1)+"%";
			if(.@X >= 64)dispbottom "Critical +"+(1+.@X/20)+"";
			if(.@X >= 128)dispbottom ""+(1+.@X)" chance of healing for "+(1+.@X/24)+"% if the damage dealt with each normal attack";
		break;
		case 3:
			dispbottom "Safeguard Lv: "+.@X+" "+SafeguardExp+" / "+((SafeguardMaster*SafeguardMaster*25)+10+SafeguardMaster)+"xp";
			dispbottom "Vit +"+(1+.@X/32)+"";
			dispbottom "Max HP +"+(.@X*5+5+((.@X*5+5)*readparam(bVit)/100))+"";
			if(.@X >= 1)dispbottom "Natural HP recovery ratio +"+(1+.@X/2)+"%";
			if(.@X >= 2)dispbottom "Def +"+(1+.@X/20)+"";
			if(.@X >= 4)dispbottom "Mdef +"+(1+.@X/24)+"";
			if(.@X >= 8)dispbottom "Max HP +"+(1+.@X/11)+"%";
			if(.@X >= 16)dispbottom "Adds "+(.@X/20+1)+"% damage reduction against melee physical attacks";
			if(.@X >= 32)dispbottom "Adds "+(.@X/21+1)+"% damage reduction against ranged physical";
			if(.@X >= 64)dispbottom "Adds "+(.@X/22+1)+"% damage reduction against magical attacks";
			if(.@X >= 128)dispbottom "Adds "+(.@X/23+1)+"% chance to evade Critical Hits";
		break;
		case 4:
			dispbottom "Ranged Lv: "+.@X+" "+RangedExp+" / "+((RangedMaster*RangedMaster*25)+10+RangedMaster)+"xp";
			dispbottom "Dex +"+(1+.@X/32)+"";
			dispbottom "Atk +"+(1+.@X/7+((1+.@X/7)*readparam(bDex)/100))+"%";
			if(.@X >= 1)dispbottom "Moving speed +"+(1+.@X/20)+"%";
			if(.@X >= 2)dispbottom "Critical +"+(1+.@X/21)+"";
			if(.@X >= 4)dispbottom "Flee +"+(1+.@X/11)+"";
			if(.@X >= 8)dispbottom "Aspd +"+(.@X/11)+"";
			if(.@X >= 16)dispbottom "Hit +"+(.@X/9)+"";
			if(.@X >= 32)dispbottom "Increases damage of ranged attacks by "+(.@X/9-1)+"%";
			if(.@X >= 64)dispbottom "Crit Damage +"+(4+.@X/9)+"%";
			if(.@X >= 128)dispbottom "Atk Range +"+(1+.@X/99)+"";
		break;
		case 5:
			dispbottom "Mystical Lv: "+.@X+" "+MysticalExp+" / "+((MysticalMaster*MysticalMaster*25)+10+MysticalMaster)+"xp";
			dispbottom "Int +"+(1+.@X/32)+"";
			dispbottom "Weapon Magical Atk power +"+(1+.@X/7+((1+.@X)*readparam(bInt)/100))+"";
			if(.@X >= 1)dispbottom "Natural SP recovery ratio +"+(1+.@X/2)+"%";
			if(.@X >= 2)dispbottom "Max SP +"+(.@X*2+2)+"";
			if(.@X >= 4)dispbottom "Skill casting time "+(-1-.@X/20)+"%";
			if(.@X >= 8)dispbottom "SP consumption "+(-1-.@X/21)+"%";
			if(.@X >= 16)dispbottom "Decreases skill delay by "+(1+.@X/22)+"%";
			if(.@X >= 32)dispbottom "Increase heal amount of all heal skills by "+(1+.@X/2)+"%";
			if(.@X >= 64)dispbottom "Matk +"+(.@X+7)+"%";
			if(.@X >= 128)dispbottom "Prevents casting from being interrupted when hit";
		break;
		default:
			dispbottom "@wi <Type> <Level>";
			dispbottom "Type: Onslaught, Swiftness, Safeguard, Ranged, Mystical";
		break;
	}
Edited by Lord Ganja
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...