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
races bodies
Author Message
Osirirs
Journeyman
*

Posts: 73
Likes Given: 6
Likes Received: 4 in 2 posts
Joined: Feb 2014
Reputation: 2



Post: #20
RE: races bodies
Hey guys, first, thank you for your help Smile it's very appreciated.

Now everything seems to be working fine! excepting the stat change. :/
on the race selection the value comes right, hits 10x str, but then the stat change trigger doesnt seem to be working, when I add a stat point to str, the maxhits remains the same. here's what I got so far, a function, an event and my race selection.
Code:
[DIALOG d_dwarfr button]
ON=1
// Okay
//
f_gender1
SRC.STR=15 // so here I get 150 hp
SRC.DEX=5  //50 stam
SRC.INT=8  // 80 mana
f_statss
SRC.UPDATE
SRC.EVENTS +e_statss

[FUNCTION f_statss]
SRC.MAXHITS = <eval <SRC.STR>*10>
SRC.MAXMANA = <eval <SRC.INT>*10>
SRC.MAXSTAM = <eval <SRC.DEX>*10>

[Events e_statss]
ON=@STATCHANGE
IF <argn1>==0
    maxhits = <eval <argn3>*10>

ELIF <argn1>==1
    maxmana = <eval <argn3>*10>

ELIF <argn1>==2
    maxstam = <eval <argn3>*10>
endif

Any thought? I'm not sure why it doesnt change, everything seems to be in order.
Thanks again! Smile
(This post was last modified: 09-07-2015 08:44 AM by Osirirs.)
09-07-2015 08:35 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
races bodies - Osirirs - 09-01-2015, 11:42 AM
RE: races bodies - Coruja - 09-01-2015, 01:05 PM
RE: races bodies - XuN - 09-01-2015, 05:16 PM
RE: races bodies - escribano - 09-02-2015, 07:03 AM
RE: races bodies - Osirirs - 09-02-2015, 10:02 AM
RE: races bodies - escribano - 09-02-2015, 11:15 AM
RE: races bodies - pointhz - 09-02-2015, 12:05 PM
RE: races bodies - escribano - 09-02-2015, 12:27 PM
RE: races bodies - Osirirs - 09-03-2015, 08:38 AM
RE: races bodies - azmanomer - 09-03-2015, 11:43 AM
RE: races bodies - XuN - 09-06-2015, 08:01 PM
RE: races bodies - pointhz - 09-04-2015, 01:33 AM
RE: races bodies - Osirirs - 09-04-2015, 10:46 AM
RE: races bodies - Osirirs - 09-05-2015, 05:12 AM
RE: races bodies - XuN - 09-05-2015, 09:16 AM
RE: races bodies - Osirirs - 09-06-2015, 02:26 AM
RE: races bodies - Artyk - 09-06-2015, 04:11 AM
RE: races bodies - Osirirs - 09-06-2015, 04:43 AM
RE: races bodies - pointhz - 09-06-2015, 05:15 AM
RE: races bodies - Osirirs - 09-07-2015 08:35 AM
RE: races bodies - XuN - 09-07-2015, 05:17 PM
RE: races bodies - Osirirs - 09-07-2015, 09:40 PM
RE: races bodies - pointhz - 09-08-2015, 12:19 AM
RE: races bodies - Osirirs - 09-08-2015, 12:33 AM
RE: races bodies - pointhz - 09-08-2015, 12:46 AM
RE: races bodies - Osirirs - 09-08-2015, 12:49 AM
RE: races bodies - pointhz - 09-08-2015, 12:57 AM
RE: races bodies - azmanomer - 09-08-2015, 01:14 AM
RE: races bodies - Osirirs - 09-08-2015, 01:18 AM
RE: races bodies - pointhz - 09-08-2015, 01:38 AM
RE: races bodies - XuN - 09-08-2015, 05:53 PM
RE: races bodies - Osirirs - 09-08-2015, 03:27 AM
RE: races bodies - Osirirs - 09-09-2015, 03:12 AM
RE: races bodies - pointhz - 09-09-2015, 03:15 AM

Forum Jump:


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