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-nmm6 (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-nmm6 (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-nmm6 (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
Enticement problem with actdiff
Author Message
Rizz
Master
**

Posts: 396
Likes Given: 21
Likes Received: 14 in 9 posts
Joined: Oct 2012
Reputation: 0



Post: #1
Enticement problem with actdiff
I was looking to recode all of enticement but i discovered that actdiff doesn't work: 1 or 10000 the skill will never fail

Code:
[SKILL 15]
DEFNAME=Skill_Enticement
KEY=Enticement
TITLE=Bard
PROMPT_MSG=@,,2 500873
DELAY=6.0
STAT_STR=0
STAT_INT=0
STAT_DEX=0
BONUS_STR=0
BONUS_DEX=30
BONUS_INT=70
BONUS_STATS=0
ADV_RATE=3.0,30.0,200.0

ON=@PreStart

IF (<region.safe>==1)
    sysmessage @,3,1 You can not do anything in a safe zone!
    return 1
ENDIF



ON=@Fail
SRC.MESSAGE @,,2 500883
serv.b fail

ON=@SUCCESS
src.SYSMESSAGE @,,2 1049539
serv.b success

ON=@Start
serv.b actdiff <actdiff>
actdiff=100000
serv.b actdiff <actdiff>

return 0


Tried with r2056 and r2089
(This post was last modified: 11-05-2014 11:31 AM by Rizz.)
11-05-2014 11:30 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Enticement problem with actdiff
Did you try with gm off ?
11-05-2014 08:39 PM
Find all posts by this user Like Post Quote this message in a reply
[+] 2 users Like darksun84's post
Rizz
Master
**

Posts: 396
Likes Given: 21
Likes Received: 14 in 9 posts
Joined: Oct 2012
Reputation: 0



Post: #3
RE: Enticement problem with actdiff
I should stop to code until 3 am and go to sleep instead.
(This post was last modified: 11-05-2014 11:05 PM by Rizz.)
11-05-2014 11:04 PM
Find all posts by this user Like Post Quote this message in a reply
[+] 3 users Like Rizz's post
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #4
RE: Enticement problem with actdiff
ahhhhhhhhhhhhhhhh Big Grin
11-06-2014 12:28 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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