[tutorial] Extra skill points on level-up (by a charm bonus)

Post here about all aspects of D2 mod making whether it's information, problems or whatever. Please specify whether your post is relating to Classic D2 or the Expansion.

Moderator: Nizari

Post Reply
User avatar
kidpaddle94
Forum Legend
Principality
Posts: 2057
Joined: Thu Aug 13, 2009 2:54 pm
Location: localhost
Canada

[tutorial] Extra skill points on level-up (by a charm bonus)

Post by kidpaddle94 » Thu Dec 16, 2010 2:02 am

More skill points on level-up

Here I will show you how to get 2 skill points on level-up, by a charm.
In this example I will show you how to make your character starts with this charm, on character creation. I will also teach you how to make it work.

First open Misc.txt and go to Charm Small line.
copy Charm Small line to paste it at the bottom.
make these changes:
name: Charm Small Clone
*name: Charm Small Clone
level: 999
rarity: 999
spawnable: 0
code: !sp
alternategfx: !sp
namestr: !sp (string key)
unique: 1
Now open itemstatcost.txt and go to newskills line.
make these changes:
Direct: 1
no go to item_skillonlevelup line, copy it and paste it at the bottom.
make these changes:
Stat: nvlevelup
ID: next in your itemstatcost.txt
descpriority: blank
descfunc: blank
descval: blank
descstrpos: blank
descstrneg: blank
now create a new line at the bottom.
make these changes:
Stat: extra_skill_desc
ID: next in your itemstatcost.txt
Divide: 1024
Save Bits: 5
descpriority: 100
descfunc: 3
descval: 1
descstrpos: extraskilldesc (string key)
descstrneg: extraskilldesc (string key)
now open properties.txt and go to levelup-skill line.
copy levelup-skill line and paste it at the bottom.
make these changes:
code: nvlevelup
stat1: nvlevelup
create a new line at the bottom.
make these changes:
code: extraskilldesc
*done: 1
func1: 1
stat1: extra_skill_desc
*notes: none
*eol: 0
Now open skills.txt and create a new line at the bottom.
make these changes:
skill: Item Extra Skill Points
Id: next in your skills.txt
srvdofunc: 65
aurafilter: 65795
aurastat1: newskills
aurastatcalc1: 1 (this is the number of extra points you will get on level-up)
attackrank: 0
range: none
monanim: xx
ItemEffect: 1
reqlevel: 1
aura: 1
InGame: 1
HitShift: 8
Now open uniqueitems.txt and create a new line at the bottom.
Index: Extra Skill Points Charm
version: 100
enabled: 1
rarity: 999
lvl: 999
lvl req: 1
code: !sp
*type: Charm Small Clone
carry1: 1
cost mult: 5
cost add: 5000
prop1: extraskilldesc
min1: 1
max1: 1
prop2: nvlevelup
par2: (skill Id. enter the Id of the new skill we made in skills.txt)
min2: 100
max2: 1
*eol: 0
Now the last step. Open charstats.txt and go to the first empty item column. (mine is item7.)
make these changes, on all classes lines:
itemx: !sp
itemxcount: 1
x = the first available item number in your charstats.txt

now here are some things to know:

- Don't make any other unique item that uses this small charm clone, as code.
- The charm must be on when you level-up to get the extra skill points.
- You could add a cube recipe for players that loose the charm. (so they can spawn another one ...)

that's all, we are done. Your character should start with the new unique charm we made, and get 2 skill points on level-up (normal point + point from charm).

whist

User avatar
Wuffie
Posts: 12
Joined: Sat Mar 24, 2007 1:28 am

Re: [tutorial] Extra skill points on level-up (by a charm bo

Post by Wuffie » Sun May 07, 2017 10:11 am

I followed it but it didnt seem to work for my new char....
I can get the charm in my inv following the above post but no extra skill points
messing with the changes I made it a normal item and lowed the level req to 0 but im not getting extra skill points on level up regardless of what I change

Im using v1.10 fresh install -direct -txt
has anyone got this to work in 1.10 - 1.14x ?

Edit: saw mention in another post that 'your soft-coded skill point per level' method only works on chars level 85+...
Have tried using fix plugins for reqlvl but no luck on making this work for a level 1 char.
solution for me: use a different method = viewtopic.php?f=4&t=29971

Post Reply

Return to “General Mod Making”