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
@SkillGain
Author Message
Somersby
Apprentice
*

Posts: 6
Likes Given: 1
Likes Received: 0 in 0 posts
Joined: Nov 2017
Reputation: 0



Post: #3
RE: @SkillGain
(11-07-2017 12:34 AM)darksun84 Wrote:  You have to use @SkillChange and the argn1 and argn2 value, @SkillGain is fired before the skill increase and is always fired whenever the skill will increase or not.

https://wiki.spherecommunity.net/index.p...killChange

Code:
[EVENTS e_players]
On=@SkillChange
if !<src.isplayer>
return 0
endif

if ( <argn1> == 37 ) && (<argn2> == 1000) //37 is the tinkering skill
if !<src.tag.reward_tinkering>
src.tag.reward_count = <eval ((<src.tag.reward_count>) + 1)>
src.tag.reward_tinkering = 1
src.sysmessage @,,1 Tinkering Complete!
src.dialog d_reward_gump
endif
endif

Thanks!!!
11-07-2017 02:17 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
@SkillGain - Somersby - 11-06-2017, 11:15 PM
RE: @SkillGain - darksun84 - 11-07-2017, 12:34 AM
RE: @SkillGain - Somersby - 11-07-2017 02:17 AM
RE: @SkillGain - Somersby - 11-09-2017, 10:52 AM
RE: @SkillGain - darksun84 - 11-09-2017, 08:38 PM
RE: @SkillGain - Somersby - 11-10-2017, 04:37 AM
RE: @SkillGain - darksun84 - 11-10-2017, 04:59 AM
RE: @SkillGain - Somersby - 11-10-2017, 05:35 AM
RE: @SkillGain - darksun84 - 11-10-2017, 05:38 AM
RE: @SkillGain - Somersby - 11-10-2017, 05:41 AM

Forum Jump:


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