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-nmm8 (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-nmm8 (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-nmm8 (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
@hitcheck
Author Message
Rizz
Master
**

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



Post: #7
RE: @hitcheck
PHP Code:
[SKILL 31]
DEFNAME=Skill_Archery
FLAGS
=SKF_FIGHT
KEY
=Archery
TITLE
=Archer
PROMPT_MSG
=
DELAY=0
STAT_STR
=0
STAT_INT
=0
STAT_DEX
=0
BONUS_STR
=0
BONUS_DEX
=95
BONUS_INT
=5
BONUS_STATS
=10
ADV_RATE
=3.0,15.0,80.0 

Nothing changes...
This is my script:

PHP Code:
ON=@HITTRY

    
IF (<action>==skill_archery)
    
        IF (!<
ctag0.scocca>)
    
            IF (!<
findid.i_mem_archery>)
                
addarcherytimer
            
ENDIF
        
            return 
1
        
        
ELSE

            
ARGN1=2
        
ENDIF
    
    ENDIF 

addarcherytimer wil add the "i_mem_archery" with the right delay for swing (is a timerd), when the memory decays it will add to the player the ctag.scocca to allow him to shoot.
In this way, i don't know why, i get no changes between 100 and 140 dex.
Also tried with speedscalefactor=1.

Maybe memories on players have no timerd but only timer?

YES!

PHP Code:
[function f_testa_archery]
serv.newitem i_mem_prova_arch
new.timerd=12
equip 
<new.uid>

serv.newitem i_mem_prova_arch
new.timerd=6
equip 
<new.uid>

[
ITEMDEF i_mem_prova_arch]
id=i_worldgem_lg
layer
=layer_special
type
=T_EQ_SCRIPT
name
=Timer Memory
weight
=0

on
=@create
attr
=attr_invis

on
=@equip
link
=<src.uid>




on=@timer
link
.say asdas
return 


THE SAME TIMING!!!
(This post was last modified: 09-22-2014 07:18 AM by Rizz.)
09-22-2014 06:29 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
@hitcheck - Rizz - 09-19-2014, 07:37 AM
RE: @hitcheck - XuN - 09-19-2014, 08:08 PM
RE: @hitcheck - Rizz - 09-19-2014, 09:47 PM
RE: @hitcheck - Coruja - 09-20-2014, 12:10 PM
RE: @hitcheck - Rizz - 09-20-2014, 10:20 PM
RE: @hitcheck - Extreme - 09-20-2014, 11:54 PM
RE: @hitcheck - Rizz - 09-22-2014 06:29 AM
RE: @hitcheck - Extreme - 09-22-2014, 08:46 AM
RE: @hitcheck - Rizz - 09-22-2014, 08:43 PM
RE: @hitcheck - Extreme - 09-22-2014, 08:48 PM
RE: @hitcheck - Rizz - 09-22-2014, 09:29 PM
RE: @hitcheck - XuN - 09-23-2014, 01:04 AM
RE: @hitcheck - Rizz - 09-23-2014, 07:23 AM
RE: @hitcheck - Rizz - 09-28-2014, 12:39 AM

Forum Jump:


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