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-nmm7 (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-nmm7 (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-nmm7 (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
how to make the shard really easy. (skill gain easy!!)
Author Message
amonvangrell
Banned

Posts: 337
Likes Given: 17
Likes Received: 32 in 20 posts
Joined: Aug 2012

britannia shard

Post: #1
Wink how to make the shard really easy. (skill gain easy!!)
Hey guys,
guess what?! I'm back! lol Amazing how I ended uo back to UO after so many years! and of course is all thanks also to Sphere! and this amazing community!

So I've downloaded an brand new version of the Sphere.
and tried to play it.
Hard to gain some skills huh!
Even after changing the skill gain rate to 1.0 (ADV_RATE=1.0,1.0,1.0) still hard to gain some skills... they only go up after a feel successful attempts... so here is your solution! lol

I know that some of the smart-ass guys here lol would find an easy way to do this... but hey! My way works... lol

Open up your sphere_skills.scp inside you sphere/Scripts folder.
Add the following code to the skills you want to be easy!

Code:
on=@success
If <src.Skill_Key> >= 1000
return 0
else
Skill_Key = <Skill_Key> + 1
endif

also you can decide if you also wants skill gain after an skill fails:
Code:
on=@fail
If <src.Skill_Key> >= 1000
return 0
else
Skill_Key = <Skill_Key> + 1
endif
So your skill should look like this:
Code:
[SKILL 0]
DEFNAME=SKILL_ALCHEMY
KEY=Alchemy
TITLE=Alchemist
FLAGS=SKF_CRAFT
DELAY=1.2        //Old value=3.0,1.0 // per stroke.
ADV_RATE=1.0,1.0,1.0//10.0,200.0,800.0
VALUES=1,20,100

BONUS_STATS=10
BONUS_STR=0
BONUS_DEX=20
BONUS_INT=80

STAT_STR=5
STAT_INT=75
STAT_DEX=40

ON=@Fail
    SRC.SYSMESSAGE You toss the failed mixture from the mortar, unable to create a potion from it.
If <src.Alchemy> >= 1000
return 0
else
Alchemy = <Alchemy> + 1
endif
ON=@Abort
    SRC.SYSMESSAGE You fail to complete the potion.
on=@success
If <src.Alchemy> >= 1000
return 0
else
Alchemy = <Alchemy> + 1
endif

Cheers!

For STATS gain change this on sphere_skills.scp
Code:
[ADVANCE]
// Generic advance rates for stats
STR=10,10,10
INT=10,10,10
DEX=10,10,10
(This post was last modified: 03-27-2016 03:59 PM by amonvangrell.)
03-27-2016 03:32 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes amonvangrell's post
Post Reply 


Forum Jump:


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