Hi all,
i would like to set the experience rate proportional to the difference in monster's level and character level.
The higher the difference , the greater the experience gained.
Is it possible by modifing .txt files?
Thank you
Experience balance question
Moderator: Nizari
-
- Posts: 67
- Joined: Wed Mar 01, 2017 9:09 pm
Re: Experience balance question
I am afraid, not. You'll have to dig some .dlls for this.
As I look into the cave
The fog doth fill my eyes
Inside lies the answer
A cause for my demise
The fog doth fill my eyes
Inside lies the answer
A cause for my demise
Re: Experience balance question
Thanks for your response! Sure about it?
Another question: Any idea on how Akara could sell large potions instead of small ones when the character level is minor than 25?
-
- Posts: 67
- Joined: Wed Mar 01, 2017 9:09 pm
Re: Experience balance question
This is done by adjusting the "level" of the item in misc.txt. You should also set the value to 0 for "permstoreitem" it in the same file. Be aware that Akara might still deny selling items with "level" higher than her limit, another issue which is fixed by hard-coding.
As I look into the cave
The fog doth fill my eyes
Inside lies the answer
A cause for my demise
The fog doth fill my eyes
Inside lies the answer
A cause for my demise
Re: Experience balance question
This is done by adjusting the "level" of the item in misc.txt. You should also set the value to 0 for "permstoreitem" it in the same file. Be aware that Akara might still deny selling items with "level" higher than her limit, another issue which is fixed by hard-coding.
[/quote]
I forgot to say that i refer to Akara in nightmare difficutly. However i will try adjust the level of the item as you suggested.
Re: Experience balance question
Answering the first question, what you want to achieve does not require any code edit.
1.You have to create a dummy stat in isc.
2. Make a copy of conviction aura, rename it, remove overlay and sound effects to turn it invisible, make it giving a target the dummy state you created, using stat('level'.accr) as calc and finally give your copied conviction to all monsters via monprop.
3. Make a copy of might aura, rename it, remove overlay and sound effects, make it giving you item_add_experience with (stat('dummy_stat_you_have_created'.accr)!=0)?(stat('level'.accr) - stat('dummy_stat_you_have_created'.accr)):0 as calc.
4. Follow this https://www.d2mods.info/forum/viewtopic ... &view=next to create invisible aura on item property, then spawn it on all amors in the game via automagic.
Thats is, you are done. You can adjust the formula from 3. at will, just gave you the simpliest example.
1.You have to create a dummy stat in isc.
2. Make a copy of conviction aura, rename it, remove overlay and sound effects to turn it invisible, make it giving a target the dummy state you created, using stat('level'.accr) as calc and finally give your copied conviction to all monsters via monprop.
3. Make a copy of might aura, rename it, remove overlay and sound effects, make it giving you item_add_experience with (stat('dummy_stat_you_have_created'.accr)!=0)?(stat('level'.accr) - stat('dummy_stat_you_have_created'.accr)):0 as calc.
4. Follow this https://www.d2mods.info/forum/viewtopic ... &view=next to create invisible aura on item property, then spawn it on all amors in the game via automagic.
Thats is, you are done. You can adjust the formula from 3. at will, just gave you the simpliest example.