Jump to content

Removing life leech% as attribute completely


Moonpaw

Recommended Posts

Replace "BONUS_LIFELEECH_REL" with "BONUS_LIFELEECH":

 

newBonus = {
--  name = "uni_off_lifeleech_rel",
 rating = 46,
 basedonskill = "SKILL_INVALID",
 type = "BONUS_LIFELEECH_REL",
 spez = "",
 spez2 = "",
 usagebits = 65535,
 minconstraints = {10,9,1},
 difficultyvaluerange0 = {0,8,16},
 difficultyvaluerange1 = {1,9,18},
 difficultyvaluerange2 = {2,10,20},
 difficultyvaluerange3 = {3,11,22},
 difficultyvaluerange4 = {4,12,25},
}
mgr.createBonus(666, newBonus);

Link to post

you dont quite understand what I want. I want to remove the life leech % attribute from ALL items, not just sets, uniques, legendaries

I want to remove it from blue and yellow items too where it rarely appears as random attribute. how do I do that?

Link to post

but how can I increase the general amount of life leeched for all items?

 

what does

minconstraints = {10,9,1},

difficultyvaluerange0 = {0,8,16},

difficultyvaluerange1 = {1,9,18},

difficultyvaluerange2 = {2,10,20},

difficultyvaluerange3 = {3,11,22},

difficultyvaluerange4 = {4,12,25},

 

and

 

rating = 46,

 

do?

Link to post

Search for the lifeleech granting bonus defines by searching for: BONUS_LIFELEECH

 

The difficultyvaluerange, sets the maximum and minimum values for the bonus in dependacne on the difficulty. Don't bother about the contraints, rank or usagebits.

 

difficultyvaluerange0 = {0,8,16}, <--- first number difficulty 0 = bronze, 1 = silver etc.; second number minimum value; third number max value.

 

Increasing min and max will increase values on freshly found LL items, the ones in the chest or inventory are fixed in the savefile I'm afraid.

Link to post

Increasing min and max will increase values on freshly found LL items, the ones in the chest or inventory are fixed in the savefile I'm afraid.

 

Now that is interesting.

 

Do you know where within the savefile the item the properties are modified and how this is implemented?

Link to post

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.   Restore formatting

  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...