Page 1 of 1
How to add stat gaining to Farmin System
Posted: Tue Apr 17, 2012 5:52 am
by Ahriman
Hello I am using Zulu Hotel 099, and converted the WoD 099 Farming Script over to it. Now, I am wondering.. how can I made it so it gains stats while you harvest? Str/Dex.
Thanks in advance.
Re: How to add stat gaining to Farmin System
Posted: Wed Apr 18, 2012 5:00 am
by Yukiko
The easiest way to do that is to have a skill check for harvesting. I can't remember if WoD farming has that or not. It seems that most shards use the skill lumberjacking as the "harvesting" skill. That will build STR.
Re: How to add stat gaining to Farmin System
Posted: Wed Apr 18, 2012 5:27 am
by Ahriman
Thanks Yukiko, it's me Khelendros/Azden from Hope Lives haha.
Anyways I believe I made it have the skill check already, but it's not raising str. then again my gains are SUPER SLOW to begin with for stats :/
Know where to change the gain rate?
Re: How to add stat gaining to Farmin System
Posted: Sat Apr 21, 2012 12:40 am
by Yukiko
Well, my version of the
SkillCheck function is based on Austin's from the POL 0.96 scripts. I'm not sure how it's set-up in your ZH and WoD farming scripts.
Here's the format for my version:
Code: Select all
SkillCheck(who, attribid, difficulty, points)
who is the character being checked
attribid is the string value for the skill being tested against, ie. "lumberjacking" or as I have it defined as a constant, ATTRIBUTEID_LUMBERJACKING
difficulty is the difficulty level of the skill being tested
points is the amount of points to award upon success
The quickest way to make skill gains faster is to increase the amount of points you award the player.
Re: How to add stat gaining to Farmin System
Posted: Wed May 02, 2012 1:52 am
by xeon
Just to add an hint, on our shard we developed a full "Farming" skill to plant. I think it's worth the assle, as handling plants seeds, plants grow and harvesting in Lumberjacking is way too confusing and out of scope for that skill.
To return to the original question, as others have posted, you can use the CheckSkill syshook, and add the desired str/dex points on a successfull Checkskill().