Jump to content

Weapon Mastery Questions.


Recommended Posts

I am curious where the file is that contains info for the weapon masteries and what the attack speed cap is for them. I am looking to combine the masteries into one skill that increases the speed of all weapons and applies dual wield. I also want to increase the speed so I can attack with a polearm faster like the seraphim in S1 could do. I looked through the spells text but I`m not sure where the mastery info is. If anyone knows or has some pointers for it pleas elet me know.

Link to comment

I think skills are created in blueprint.txt. Here's a chunk for example:

newBonusgroup = {
id = 495,
name = "SB_addskill_ATT_hafted_weapon_lore ",
bonuslist = { 350,},
}
mgr.createBonusgroup(495, newBonusgroup);

newBonusgroup = {
id = 496,
name = "SB_addskill_ATT_wizzardstaff_lore ",
bonuslist = { 351,},
}
mgr.createBonusgroup(496, newBonusgroup);

newBonusgroup = {
id = 497,
name = "SB_addskill_ATT_distance_weapon_lore ",
bonuslist = { 352,},
}
mgr.createBonusgroup(497, newBonusgroup);

newBonusgroup = {
id = 498,
name = "SB_addskill_ATT_offhand_weapon_lore ",
bonuslist = { 353,},
}
mgr.createBonusgroup(498, newBonusgroup);

newBonusgroup = {
id = 502,
name = "SB_addskill_ATT_pole_arm_lore ",
bonuslist = { 357,},
}
mgr.createBonusgroup(502, newBonusgroup);

 

I suspect where it says bonuslist = { 357,}, for example, is where the effect of the skill is defined. This is just off the top of my head and untested, but a combined skill would probably have a bonuslist entry that included all of the appropriate numbers, like bonuslist = { 350, 351, 352, 357,}, etc.

Link to comment

Here is what I did and so far no luck. Perhaps I did something wrong and maybe you might notice the mistake. First I put the skills in the dual weild skill like this. Well I was going to just copy and paste my changes but for some reason I pasting it in here doesn`t work.

Link to comment

Alright bear in mind I'm just taking stabs in the dark here, I've never messed with modding skills before. I noticed that those bonuses are also listed separately in blueprint.txt, so for example I found entries like these:

newBonus = {
-- name = "sb_addskill_ATT_pole_arm_lore",
rating = 27,
basedonskill = "SKILL_INVALID",
type = "BONUS_SKILL",
spez = "SKILL_POLE_ARM_LORE",
spez2 = "",
usagebits = 65499,
minconstraints = {1,1,0},
difficultyvaluerange0 = {0,10,100},
difficultyvaluerange1 = {1,15,125},
difficultyvaluerange2 = {2,20,150},
difficultyvaluerange3 = {3,25,175},
difficultyvaluerange4 = {4,30,200},
}
mgr.createBonus(357, newBonus);

 

newBonus = {
-- name = "sb_addskill_ATT_wizzardstaff_lore",
rating = 27,
basedonskill = "SKILL_INVALID",
type = "BONUS_SKILL",
spez = "SKILL_WIZARDSTAFF_LORE",
spez2 = "",
usagebits = 65488,
minconstraints = {1,1,0},
difficultyvaluerange0 = {0,10,100},
difficultyvaluerange1 = {1,15,125},
difficultyvaluerange2 = {2,20,150},
difficultyvaluerange3 = {3,25,175},
difficultyvaluerange4 = {4,30,200},
}
mgr.createBonus(351, newBonus);

 

I have no idea what any of those numbers mean however.

Link to comment

Not sure what to do. I tried adding the lores like this for example.

spez offhand lore

spez2 polearm lore

spez 3 sword lore

 

Then I added the numbers like you had in your first reply to the bonusgroups but the weapons ca attackspeed didn`t increase. Now I found the attack speed modifiers for the lore skills in the file but I have no idea what the numbers represent, the difficulty value ranges. I`m sure there has to be a way to do it. maybe someone who has done it before might see the thread and have answers.

 

Would be so much easier if the ca skills used raw attack speed from items instead of relying on lore and focus skills.

Edited by Hammerhorde
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...
Please Sign In or Sign Up