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
Improved Stables
Author Message
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #13
RE: Improved Stables
yesterday I made some improvements on stables internal behavior, now it have more messages and improved checks when you target a pet

also now it uses the OSI formula to calculate the max pets that a player can stable. If someone need it:
Code:
LOCAL.SkillSum = <eval <TAMING>+<ANIMALLORE>+<VETERINARY>>  //Player skills
IF (<LOCAL.SkillSum> >= 2400)
  LOCAL.PetMax = 5
ELIF (<LOCAL.SkillSum> >= 2000)
  LOCAL.PetMax = 4
ELIF (<LOCAL.SkillSum> >= 1600)
  LOCAL.PetMax = 3
ELSE
  LOCAL.PetMax = 2
ENDIF

IF (<TAMING> >= 1000)
  LOCAL.PetMax += <eval (<TAMING>-900)/100)
ENDIF
IF (<ANIMALLORE> >= 1000)
  LOCAL.PetMax += <eval (<ANIMALLORE>-900)/100)
ENDIF
IF (<VETERINARY> >= 1000)
  LOCAL.PetMax += <eval (<VETERINARY>-900)/100)
ENDIF
PS: if TAG.MAXPLAYERPETS is set on the NPC, it will override this formula
10-28-2014 05:07 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Coruja's post
Post Reply 


Messages In This Thread
Improved Stables - Mordaunt - 10-17-2013, 07:37 AM
RE: Improved Stables - Awaken - 10-17-2013, 07:46 AM
RE: Improved Stables - Mordaunt - 10-17-2013, 08:35 AM
RE: Improved Stables - XuN - 10-17-2013, 06:17 PM
RE: Improved Stables - Anarch Cassius - 10-17-2013, 06:36 PM
RE: Improved Stables - XuN - 10-17-2013, 07:09 PM
RE: Improved Stables - Mordaunt - 10-17-2013, 08:36 PM
RE: Improved Stables - Mordaunt - 10-18-2013, 04:09 AM
RE: Improved Stables - Mordaunt - 10-18-2013, 11:15 PM
RE: Improved Stables - Mordaunt - 10-27-2014, 03:15 AM
RE: Improved Stables - darksun84 - 10-27-2014, 03:21 AM
RE: Improved Stables - Extreme - 10-27-2014, 09:46 PM
RE: Improved Stables - Coruja - 10-28-2014 05:07 AM
RE: Improved Stables - XuN - 10-28-2014, 05:58 PM
RE: Improved Stables - Extreme - 10-28-2014, 08:19 PM
RE: Improved Stables - Mordaunt - 10-29-2014, 06:19 AM
RE: Improved Stables - XuN - 10-29-2014, 07:34 AM
RE: Improved Stables - admin phoenix - 10-30-2014, 09:18 PM
RE: Improved Stables - Mordaunt - 10-30-2014, 11:57 PM
RE: Improved Stables - admin phoenix - 10-30-2014, 11:59 PM
RE: Improved Stables - Mordaunt - 10-31-2014, 02:25 AM
RE: Improved Stables - Extreme - 11-01-2014, 12:24 AM
RE: Improved Stables - evening - 11-01-2014, 03:32 PM

Forum Jump:


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