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
Rideable creature to give STR/DEX/INT
Author Message
Q23A
Apprentice
*

Posts: 30
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Apr 2012
Reputation: 0



Post: #1
Rideable creature to give STR/DEX/INT
Hello, I need a script, which allow rideable creature to give STR/DEX/INT.

I tried many variations, but nothing.

[TYPEDEF t_eq_horse]

ON=@EQUIP
SRC.MODSTR += 10
RETURN 0

ON=@UNEQUIP
SRC.MODSTR -= 10
RETURN 0

Works only unequip.When I mount It not give me strenght.

And If I use

on=@mount
src.modstr += 5

on=@dismount
src.modstr -= 5

Its not working.

Thank you Smile
05-15-2012 10:10 PM
Find all posts by this user Like Post Quote this message in a reply
Crusader
Master
**

Posts: 254
Likes Given: 7
Likes Received: 19 in 12 posts
Joined: Apr 2012
Reputation: 6

Erehwon New Hera

Post: #2
RE: Rideable creature to give STR/DEX/INT
where did u put this:

Code:
on=@mount
src.modstr += 5

on=@dismount
src.modstr -= 5

inside the player or inside the char of the mount?


Plus try to see if trigger ON=@EQUIP is fired,
add:
Code:
on=@mount
serv.log I'm mounting <ARGO.NAME>
src.modstr += 5
RETURN 0
(This post was last modified: 05-15-2012 10:32 PM by Crusader.)
05-15-2012 10:30 PM
Find all posts by this user Like Post Quote this message in a reply
Q23A
Apprentice
*

Posts: 30
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Apr 2012
Reputation: 0



Post: #3
RE: Rideable creature to give STR/DEX/INT
Problem Fixed Smile
05-16-2012 02:00 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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