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
400 STR and 8000 HITPOINTS? [solved]
Author Message
x77x
Master
**

Posts: 488
Likes Given: 0
Likes Received: 15 in 15 posts
Joined: Mar 2012
Reputation: -4



Post: #6
RE: 400 STR and 8000 HITPOINTS?
FINALLY!!! JESUS FUCK...

sphereitem2.scp
Code:
[6299]
ID=1086
NAME=Bracelet of Regeneration
COLOR=481
ATTR=084//newbie and invis
WEIGHT=1

ONTRIGGER=STEP
IF (<SRC.ID>=05040) || (<SRC.ID>=05041) || (<SRC.ID>=05042) || (<SRC.ID>=05043) || (<SRC.ID>=05044) || (<SRC.ID>=05045) || (<SRC.ID>=05046) || (<SRC.ID>=05047) || (<SRC.ID>=05060) || (<SRC.ID>=05061) || (<SRC.ID>=05062) || (<SRC.ID>=05063) || (<SRC.ID>=05064)
//(to make sure no player can step on it)
TIMER=1
EQUIP
ELSE
REMOVE

ONTRIGGER=EQUIP
TIMER=1

ONTRIGGER=TIMER
IF <LINK.HITPOINTS> < 8000
LINK.HITPOINTS=(<LINK.HITPOINTS> +1)
SAY +1
TIMER=1
ELSEIF <LINK.HITPOINTS> = 8000
LINK.HITPOINTS=(<LINK.HITPOINTS> -10)
SAY back to 7990
TIMER 1
ENDIF
RETURN 1

CATEGORY=DRAGONS OF TIME ITEMS
SUBSECTION=Stuff
DESCRIPTION=Bracelet of Regeneration

spherechar2.scp
Code:
[5044]
...
TEVENTS=graham

Speech/graham.scp
Code:
ON=@SeeNewPlayer
IF <RESTEST 1 06299>
SAY Hmmmmm... Doing Nothing
RETURN 0
ELSE
EMOTE Getting Angry
HITPOINTS 7990
NEWITEM 06299//ID of the HP bracelet
ACT.LINK=<SERIAL>


sees a player drops the bracelet, steps on it, equips it, gains hitpoints, hits 8000, drops back down to 7990, gains hitpoints, loops

Dragons of Time 2000-2020
http://dragonsoftime.com
(This post was last modified: 05-02-2012 12:11 AM by x77x.)
05-01-2012 11:58 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
RE: 400 STR and 8000 HITPOINTS? - Reflex - 05-01-2012, 12:49 AM
RE: 400 STR and 8000 HITPOINTS? - x77x - 05-01-2012, 01:12 AM
RE: 400 STR and 8000 HITPOINTS? - x77x - 05-01-2012, 06:14 AM
RE: 400 STR and 8000 HITPOINTS? - x77x - 05-01-2012 11:58 AM

Forum Jump:


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