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
HELP WITH sphere.ini
Author Message
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #11
RE: HELP WITH sphere.ini
(05-26-2014 04:56 AM)kn4tseb Wrote:  Xun, looking at the new variable list posted by Khaos i see "DURABILITY <INT>% DURABILITY INCREASE" included, but it seems not to be hardcoded yet...
so, if i had the actual durability as a "HitPoints,MaxHitPoints" how could i code something like "extra Durability in porcent"... so if i set on the Create Trigger a value like: Durability 100
i get the actual Maxpoints + extra durability%

Example:
ON=@Create
HITPOINTS={100}

if "Durability = 50
hitpoints would be 100 + (100*50)/100) and that would be 100 hitpoints plus a 50% of its maxhitpoints

so tooltips should be showing when you click at the item, the "Extradurability" that would be 50 in this case and the maxhitpoints shall make the sum of both variables...

Puedes ayudarme con ésto?
If I did understand, the 'durability' property is the bonus in durability (hitpoints in that case)

Example:
If you have something with hitpoints 100 and durability 50, when it is created, its hitpoints will be 150.

Tooltips are showed only if you mouse over the item and you have the tooltips things enabled.
It will not show if you simple click on item. You can use a trigger to do that.

Code:
ON=@ItemClick
ACT.MESSAGE <ACT.HITS>/<ACT.MAXHITS>

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
(This post was last modified: 05-26-2014 09:54 AM by Extreme.)
05-26-2014 06:11 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
HELP WITH sphere.ini - kn4tseb - 05-12-2014, 11:16 PM
RE: HELP WITH sphere.ini - XuN - 05-14-2014, 09:09 PM
RE: HELP WITH sphere.ini - kn4tseb - 05-15-2014, 01:17 AM
RE: HELP WITH sphere.ini - XuN - 05-15-2014, 07:01 AM
RE: HELP WITH sphere.ini - kn4tseb - 05-15-2014, 08:02 AM
RE: HELP WITH sphere.ini - Ben - 05-15-2014, 08:40 AM
RE: HELP WITH sphere.ini - kn4tseb - 05-15-2014, 08:46 AM
RE: HELP WITH sphere.ini - XuN - 05-15-2014, 03:55 PM
RE: HELP WITH sphere.ini - kn4tseb - 05-15-2014, 11:39 PM
RE: HELP WITH sphere.ini - kn4tseb - 05-26-2014, 04:56 AM
RE: HELP WITH sphere.ini - Extreme - 05-26-2014 06:11 AM
RE: HELP WITH sphere.ini - kn4tseb - 05-26-2014, 06:25 AM
RE: HELP WITH sphere.ini - Extreme - 05-26-2014, 06:31 AM
RE: HELP WITH sphere.ini - kn4tseb - 05-26-2014, 07:47 AM
RE: HELP WITH sphere.ini - Extreme - 05-26-2014, 08:41 AM
RE: HELP WITH sphere.ini - kn4tseb - 05-27-2014, 02:57 AM
RE: HELP WITH sphere.ini - Extreme - 05-27-2014, 04:59 AM
RE: HELP WITH sphere.ini - kn4tseb - 05-27-2014, 05:53 AM
RE: HELP WITH sphere.ini - Extreme - 05-27-2014, 06:45 AM
RE: HELP WITH sphere.ini - kn4tseb - 05-27-2014, 07:11 AM
RE: HELP WITH sphere.ini - Extreme - 05-27-2014, 07:38 AM
RE: HELP WITH sphere.ini - amonvangrell - 05-27-2014, 07:27 AM
RE: HELP WITH sphere.ini - kn4tseb - 05-27-2014, 11:02 AM
RE: HELP WITH sphere.ini - Extreme - 05-27-2014, 01:49 PM
RE: HELP WITH sphere.ini - kn4tseb - 05-27-2014, 02:16 PM
RE: HELP WITH sphere.ini - Extreme - 05-28-2014, 01:09 AM
RE: HELP WITH sphere.ini - kn4tseb - 05-28-2014, 01:19 AM
RE: HELP WITH sphere.ini - Extreme - 05-28-2014, 02:04 AM
RE: HELP WITH sphere.ini - XuN - 05-28-2014, 02:08 AM
RE: HELP WITH sphere.ini - kn4tseb - 05-28-2014, 03:37 AM
RE: HELP WITH sphere.ini - kn4tseb - 05-28-2014, 09:32 AM
RE: HELP WITH sphere.ini - XuN - 05-28-2014, 04:36 PM
RE: HELP WITH sphere.ini - kn4tseb - 05-29-2014, 02:30 AM
RE: HELP WITH sphere.ini - Extreme - 05-29-2014, 04:39 AM
RE: HELP WITH sphere.ini - kn4tseb - 05-29-2014, 01:20 PM

Forum Jump:


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