Jump to content

How to make Sinister Predator work with all weapons?


Trisse

Recommended Posts

That's one thing I wanted to change right from the release day. Some of the mods work for melee as well as ranged (after all, lots of melee dryads use the buff just for this), but the core attack speed and attack rating values are for ranged only. All I want is for this values to work with any weapon, so the buff would be equally useful for ranged and melee builds. I tried working on this by myself a couple of times, but with no success. Judging by feats achieved by some forum members, I guess this should be doable, just beyond my limited ability.

 

Could some kind soul help me in this?

Link to comment

Hi there.

 

I actually did this myself, for my dual wielding Dryad. It's quite easy.

 

Find this in Spells.txt (Located in Sacre Folde>scripts>shared>)

 

mgr.defineSpell( "dr_hu_projektilfokus", {

eiStateName = "cSpellCast",

fxTypeCast = "FX_DR_PROJEKTILFOKUS_C",

fxTypeSpell = "FX_DR_PROJEKTILFOKUS",

fxTypeCastSpecial = "FX_DR_CAST_M",

duration = 20.000000,

animType = "ANIM_TYPE_SM06",

animTypeApproach = "ANIM_TYPE_INVALID",

animTypeRide = "ANIM_TYPE_INVALID",

animTypeSpecial = "ANIM_TYPE_RIDESM05-SPECIAL",

causesSpellDamage = 0,

tokens = {

entry0 = {"et_shrink_a_head", 480, 20, 0, 41 },

entry1 = {"et_dist_attackspeed", 148, 2, 0, 5 },

entry2 = {"et_dist_AW_rel", 230, 20, 0, 5 },

entry3 = {"et_chance_criticalhit", 99, 1, 1, 5 },

entry4 = {"et_dist_attackspeed", 74, 1, 2, 5 },

entry5 = {"et_chance_surehit", 200, 1, 3, 5 },

entry6 = {"et_chance_piercing", 200, 1, 4, 5 },

entry7 = {"et_regAspect_this", 300, 15, 5, 41 },

entry8 = {"et_reduce_Ereflect", 500, 10, 6, 9 },

},

fightDistance = 0.000000,

aspect = "EA_DR_HUNT",

cooldown = 0.000000,

soundProfile = 0,

cost_level = 400,

cost_base = 400,

focus_skill_name = "skill_DR_hunt_focus",

lore_skill_name = "skill_tactics_lore",

spellClass = "cSpellDrProjektilfokus",

spellcontroltype = "eCAtype_t_buff",

sorting_rank = 5,

})

 

 

 

Change "et_dist_attackspeed" TO "et_addWeaponspeed"

 

Should work like a charm. Be sure to ask if you need anything else. :-)

Link to comment

Thank you very much! ;)

 

Exactly what I needed. I figured "et_dist_AW_rel" is responsible for attack rating, replacing this with "et_AWboost_rel" (taken from Seraphim's Battle Stance) solved the AR issue, but I had no idea where to look for "general" attack speed line.

 

Anyway, it worked. SP is no longer weapon dependent. Tooltips are gone, but guess I'll have to live with that.

 

Once again, thanks for solving my little problem.

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