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
Spell Back into PLayer cast
Author Message
Shaklaban
Master
**

Posts: 378
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 8

DOT

Post: #6
RE: Spell Back into PLayer cast
(01-23-2013 03:03 PM)Paulo_BR Wrote:  Thanks man, the problem of the paralyze is ok!

But, this potion not, whats problem in my script, Look this:

Code:
ON=@DCLICK
if ! (<src.targ.cont>==<src.findlayer(21).UID>)
Src.sysmessage Use a pocao na bag.
return 1
endif

If !(<Src.hits><<Src.str>)
  Src.sysmessage Voce ja esta com Hits Full.
return 1
endif

If (<src.tag0.potiontimer> > <serv.time>)
   Src.message [<eval (<serv.time> - <src.tag0.potiontimer>)/-10> Segs]
return 1
endif

Src.anim 33
SOUND=48
Src.hits=<src.hits>+15
Src.consume i_potion_healless
Src.Newitem i_bottle_empty
Src.act.bounce
src.message @009fb Lesser Heal
SRC.TAG.POTIONTIMER=<SERV.TIME> +150
//Src.newitem i_delay_potion
//Src.act.equip
If (<Src.hits>><Src.str>)
Src.hits=<Src.str>
return 1
endif
RETURN 1

i don't know is it related or not but this script contains following errors about act and targ:


if ! (<src.targ.cont>==<src.findlayer(21).UID>)

no need to use targ, you can use cont directly because i=potion on dclick trigger.

Src.Newitem i_bottle_empty
Src.act.bounce

this sould be:

serv.newitem i_bottle_empty
src.bounce <new> or "new.bounce" but "src.bounce <new>" is more clear, because bounce always works when called on character and argn1=item.
01-27-2013 08:45 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Spell Back into PLayer cast - Paulo_BR - 01-22-2013, 11:03 AM
RE: Spell Back into PLayer cast - Wap - 01-23-2013, 07:04 AM
RE: Spell Back into PLayer cast - Paulo_BR - 01-23-2013, 03:03 PM
RE: Spell Back into PLayer cast - Shaklaban - 01-27-2013 08:45 PM
RE: Spell Back into PLayer cast - Paulo_BR - 01-24-2013, 03:55 AM
RE: Spell Back into PLayer cast - Paulo_BR - 01-27-2013, 05:16 PM
RE: Spell Back into PLayer cast - Paulo_BR - 01-28-2013, 06:40 AM

Forum Jump:


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