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
Dragon Breathe
Author Message
Barnabus
Journeyman
*

Posts: 124
Likes Given: 0
Likes Received: 3 in 2 posts
Joined: Apr 2012
Reputation: 1



Post: #8
RE: Dragon Breathe
Ah Thx Shiruyux i probably just looked in the old revisions file.

I did this on the act fight
PHP Code:
ON=@NPCActFight
    REF1
=<SERV.UID.<UID>>
    
REF2=<SERV.UID.<SRC.UID>>
    IF <
REF1.TAG.NPCGroup>==Dragon
        
IF <ARGN1> > 2
            
IF <SERV.SKILL.<ACTION>.KEY> == Wrestling
                
// This must be a Dragon Breath
                
SERV.LOG @NPCActFight <NAMEBreathes Fire on <REF2.NAME>
                
REF2.TAG.DragonFireDamage=<EVAL <REF1.INT> + <REF1.DAM>>
            ENDIF
        ENDIF
    ENDIF 

It does the job fine, the dragon breathe damage was pretty high i didnt know were it was coming from, GETHIT sees the trigger now and deals with it.

And inside SPHERE-ACTIONLIST.txt in the SCP documentation.

ACTION 067 is
NPCACT_WANDER, // 103 = Wander aimlessly.

06e is
NPCACT_BREATH, // 110 = Using breath weapon. on m_Act_Targ

^^^ Shock
Thats cool, whe the dragon started his breathing exercises he did 06e as the first action
the actions that followed on the serv.log were 067, the NPC was checking what to do, those values where triggered in @NPCAction, although when it casts dragon breath its fired on @NPCActFight and its action is wrestling.

@NPCACTION
IF <ACTION> == 06e
This is the dragon breath
(This post was last modified: 10-22-2012 01:29 AM by Barnabus.)
10-22-2012 01:21 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Dragon Breathe - Barnabus - 10-21-2012, 07:47 AM
RE: Dragon Breathe - Shaklaban - 10-21-2012, 10:29 AM
RE: Dragon Breathe - Ben - 10-21-2012, 02:49 PM
RE: Dragon Breathe - Barnabus - 10-21-2012, 11:12 PM
RE: Dragon Breathe - Ben - 10-22-2012, 12:19 AM
RE: Dragon Breathe - Barnabus - 10-22-2012, 12:19 AM
RE: Dragon Breathe - ShiryuX - 10-22-2012, 12:53 AM
RE: Dragon Breathe - Barnabus - 10-22-2012 01:21 AM
RE: Dragon Breathe - admin phoenix - 10-22-2012, 07:51 PM
RE: Dragon Breathe - Barnabus - 10-22-2012, 08:12 PM
RE: Dragon Breathe - Anarch Cassius - 10-23-2012, 04:52 AM
RE: Dragon Breathe - Barnabus - 10-24-2012, 08:11 AM
RE: Dragon Breathe - Skul - 10-28-2012, 04:18 AM

Forum Jump:


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