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
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






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: #1
@hitcheck
I need some help to understand this new trigger.
I have my own combat system done with usual trigger such as @hittry @hit etc.

I would like to make some changes and @hitcheck should be the right way to do but i cannot undertand how it works: everytime i set an argn1 with return 0 the other triggers (hittry etc) are ignored...

PHP Code:
ON=@HitCheck
IF (<action>==skill_archery)
    
        IF (!<
ctag0.scocca>)
    
            IF (!<
findid.i_mem_archery>)
                
addarcherytimer
                argn1
=SWING_EQUIPPING
            
ENDIF
            
            return 
1
    
        
ELSE

            
argn1=SWING_READY
            argn1
=SWING_SWINGING
        
ENDIF
    
ENDIF
return 


Seems is working as i want in this way but i don't have the animation on my char....


UPDATE: ok, still not trigger @hittry -.-

Nope, it bypass so many things... unfortunally i cannot set a time between two swings using @hittry; i tried using a memory and a return 1 (the code is really similar to the previous one) but in this way i get no difference between 100 and 140 dex also if i set the speedscalefactor to 1.

The speedscalefactor controls the argn1 in @hittry but not the time between two consecutive swings.
Is possible to add an argn2 in order to do that?
(This post was last modified: 09-19-2014 08:27 AM by Rizz.)
09-19-2014 07:37 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Rizz's post
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)