HerculesWS/Hercules

Implement script command to manipulate skills

SombraRO opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
Currently skills are read from skill_db, but there is no way to change this without directly in skill_db
What I thought for hercules would be to create a command where the user could manipulate these values.

For example, I have an item for mage where I want to change the range of skill WZ_STORMGUST

So I could use a script command like

ChangeSkill(WZ_STORMGUST, INTERVAL, 120);

It could also increase the range and the amount of hits that MG_FIREBOLT can give

ChangeSkill(MG_FIREBOLT, RANGE, 9,10,11,12,15,17,19,20,21,22); // The numbers 9 to 22 is 9 being level 1 and 22 being level 10
ChangeSkill(MG_FIREBOLT, NUMBER_OF_HITS, 2,4,6,8,10,12,14,16,18,20);

or you can use a value for all levels that would simply be:

ChangeSkill(MG_FIREBOLT, NUMBER_OF_HITS, 15);

This would allow the abilities to be modified DamageType, SplashRange among several other options, many times the user wants to make specific modifications that are not possible to apply only under certain circumstances, I think this feature is very interesting to have in hercules.