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: #24
RE: races bodies
Okay so yes I use a stone
I've been testing everything with the dwarf race, so here's the dwarf selection menu:

Code:
[DIALOG d_dwarfr]
0,0
NOCLOSE
NODISPOSE
page 0
gumppic 176 179 11010
text 239 194 643 0
htmlgump 397 197 128 146 1 0 1
gumppic 240 214 48
text 240 321 1187 2
text 240 355 1187 3
text 240 338 1187 4
text 321 356 148 5
text 321 322 162 6
text 321 339 148 7
button 439 352 2076 2075 1 0 1
button 509 357 2224 2224 1 0 2
button 397 357 2223 248 1 0 3

[DIALOG d_dwarfr text]
Dwarves
Dwarves...Short but strong, and well reknown for their lack of agility, live (and sleep) under the mountains, endlessly digging and discovering the most wonderful treasures. It is said they are the most incredible crafters. Having their way with ores and ingots, they find greater ores and make the best equipments. (Never as good as Elves though!)
Strength
Intelligence
Dexterity
30
60
25

[DIALOG d_dwarfr button]
ON=1
// Okay
//
f_gender1
SRC.EVENTS +e_statss
SRC.STR=15
SRC.DEX=5
SRC.INT=8
SRC.UPDATE

ON=0
// Next
//
//dialog d_hobbits

ON=0
// Back
//
dialog d_humanr

This is the event I'm trying to make happen, so the hp,mana,stam values go ten times the base stats:
Code:
[Events e_statss]
On=@StatChange
IF <argn1>==0
    maxhits = <eval <argn3>*10>
ELIF <argn1>==1                  // 1 is value for intelligence
    maxmana = <eval <argn3>*10>
ELIF <argn1>==2                 // 2 for Dexterity
    maxstam = <eval <argn3>*10>
endif

And then, every levelup, I get stat points and add either str,int or dex.
See the attached picture Smile
   

Okay so I tried it like this but absolutely nothing happened :/

Code:
[Events e_statss]
On=@StatChange
IF <argn1>==0
    maxhits = <eval <argn3>*10>
    Serv.log <argn1> <argn2> <argn3>, <maxhits>, <eval <ARGN3>*10>
ELIF <argn1>==1                  // 1 is value for intelligence
    maxmana = <eval <argn3>*10>
    Serv.log <argn1> <argn2> <argn3>, <maxmana>, <eval <ARGN3>*10>
ELIF <argn1>==2                 // 2 for Dexterity
    maxstam = <eval <argn3>*10>
    Serv.log <argn1> <argn2> <argn3>, <maxstam>, <eval <ARGN3>*10>
endif
(This post was last modified: 09-08-2015 12:45 AM by Osirirs.)
09-08-2015 12:33 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)