The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help skills
Author Message
darksoulfe
Journeyman
*

Posts: 60
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Jun 2013
Reputation: 0



Post: #1
Help skills
where that script I'll move to put a shard easy need to put the shard easy
as I put that change for each potion made ​​up 0.1 and skills and thus among other
06-16-2013 05:55 AM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Help skills
Afraid I don't understand what you're trying to say here

[Image: 2nis46r.jpg]
06-16-2013 06:05 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
darksoulfe
Journeyman
*

Posts: 60
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Jun 2013
Reputation: 0



Post: #3
RE: Help skills
I want every action done by the player, he va gaining 0.1 of the shard skills begins with 10 in all skills, and when the player type tama an animal it will rising skills, taming it gets more every shard type 0.1 easy shard rapidas skills, he will by mining and every action the skills it rise 0.1 to the 100% understood
06-16-2013 06:13 AM
Find all posts by this user Like Post Quote this message in a reply
Alaric
Journeyman
*

Posts: 227
Likes Given: 7
Likes Received: 9 in 4 posts
Joined: Oct 2012
Reputation: 7



Post: #4
RE: Help skills
Ask somebody to translate it from your mother tangue. It might help. I personally don't understand at all.
06-16-2013 12:08 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #5
RE: Help skills
You can do that in two way :

1-
You can change the Advancement Rate of every skill from (example)

ADV_RATE=10.0,200.0,800.0

to

ADV_RATE=1.0,1.0,1.0 (every 1 success you gain +0.1% )

2-

Just create an events with the @Skillsuccess trigger, inside it you can place the 0.1 increment

Example
PHP Code:
[Events skillsupergain]
ON=@Skillsuccess
if <argn1> < 100.0
 argn1 
+= //argn1 is the skill  the player used 
 
return 0
endif
return 

06-16-2013 10:18 PM
Find all posts by this user Like Post Quote this message in a reply
xwerswoodx
Journeyman
*

Posts: 86
Likes Given: 4
Likes Received: 7 in 4 posts
Joined: Jun 2012
Reputation: 0

UoMMO

Post: #6
RE: Help skills
(06-16-2013 10:18 PM)darksun84 Wrote:  Example
PHP Code:
[Events skillsupergain]
ON=@Skillsuccess
if <argn1> < 100.0
 argn1 
+= //argn1 is the skill  the player used 
 
return 0
endif
return 


That means, if you have 800.0 skillcap, 800.0 skills and use superskillgain, you will gain and it doesn't stop.
06-23-2013 11:01 PM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #7
RE: Help skills
Code:
[Events skillsupergain]
ON=@Skillsuccess
if (<src.skilltotal> < <src.skillclass.skillsum>)
  if <argn1> < 100.0
      argn1 += 1 //argn1 is the skill  the player used
      return 0
  endif
endif
return 1


Now it doesn't

[Image: 2nis46r.jpg]
(This post was last modified: 06-23-2013 11:27 PM by Mordaunt.)
06-23-2013 11:26 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)