Jump to content
Sign in to follow this  
PB&JJ

bBonusSkillLevel

Recommended Posts



Usage:
item script command: 

 

bBonusSkillLevel,x,y; // x = skill_id y = skills level to add 
 

Example: (if you use double strafing, cast one that is two levels higher instead)

{
	Id: 1715
	AegisName: "Arbalest_"
	Name: "Arbalest"
	Type: 4
	Buy: 48000
	Weight: 1000
	Atk: 90
	Range: 5
	Slots: 2
	Job: {
		Archer: true
		Thief: true
		Hunter: true
		Rogue: true
		Bard: true
	}
	Loc: 34
	WeaponLv: 3
	EquipLv: 33
	View: 11
	Script: <" bonus bBonusSkillLevel,AC_DOUBLE,2; ">
},

 

Note:
I Couldn't find the proper entry point for skill levels, I figured I should look around in unit.c / clif.c. For now it's overloading battle_calc_attack. if you happen to find any bugs. or skills it doesn't work on (when final skill level <= 10), or if you have any suggestions Please let me know!

Edited by PB&JJ

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.