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: #1
Dragon Breathe
@DragonBreath .. ?

Wasnt there a trigger for dragon breathe its not on NPCSpecial.
I remeber there was a tigger for it, does snyone else recall?
10-21-2012 07:47 AM
Find all posts by this user Like Post Quote this message in a reply
Shaklaban
Master
**

Posts: 378
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 8

DOT

Post: #2
RE: Dragon Breathe
there is http://wiki.sphere.torfo.org/index.php/@...cialAction trigger but i don't know is it works for breathe or not.
10-21-2012 10:29 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Ben
Sphere Developer
*****

Posts: 612
Likes Given: 2
Likes Received: 123 in 70 posts
Joined: Mar 2010
Reputation: 18

SphereCommunity

Post: #3
RE: Dragon Breathe
http://wiki.sphere.torfo.org/index.php/@NPCActFight

this is the trigger that you are looking for.

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
10-21-2012 02:49 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Barnabus
Journeyman
*

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



Post: #4
RE: Dragon Breathe
Thanks Guys...

I was looking at NPCAction and SpecialAction. NPCAction was looking suspect.
Ill have a look at the @NPCActFight and see what goes on there.

Ta

I think its on NPC Action.....

How do know what ACTION 067 is, is there a list of actions somewhere I dont recall seeing them
(This post was last modified: 10-21-2012 11:27 PM by Barnabus.)
10-21-2012 11:12 PM
Find all posts by this user Like Post Quote this message in a reply
Ben
Sphere Developer
*****

Posts: 612
Likes Given: 2
Likes Received: 123 in 70 posts
Joined: Mar 2010
Reputation: 18

SphereCommunity

Post: #5
RE: Dragon Breathe
it's not in @NPCAction or @NPCSpecialAction, it's done in @NPCActFight.

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
10-22-2012 12:19 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Barnabus
Journeyman
*

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



Post: #6
RE: Dragon Breathe
PHP Code:
ON=@NPCAction
    
IF <BASEID>== c_dragon
        SERV
.LOG @NPCAction (<NAME>) does action <ACTION> (<SERV.SKILL.<ACTION>.KEY>)
    ENDIF

ON=@NPCActFight
    SERV
.LOG @NPCFightAction <NAMETrigger Fired on <SRC.NAMEACTION was <ACTION>  <SERV.SKILL.<ACTION>.KEY

15:16:NPCAction (Burat) does action 06e (0)
15:16:NPCAction (Burat) does action 067 (0)

Since there is no skill_def for this, could I make SKILL 67, and get some control of this fire breating?

Wait - I got this all wrong - IsConfused, (I had spelt ActFight Wrong) now its working.
15:34:NPCFightAction Begarin Trigger Fired on Invictus ACTION was skill_wrestling Wrestling

^^ But It says skill_wrestling that came as a surprise, Im stood away from the dragon.
(This post was last modified: 10-22-2012 12:36 AM by Barnabus.)
10-22-2012 12:19 AM
Find all posts by this user Like Post Quote this message in a reply
ShiryuX
Journeyman
*

Posts: 249
Likes Given: 1
Likes Received: 19 in 14 posts
Joined: Mar 2010
Reputation: 4



Post: #7
RE: Dragon Breathe
The action list is in SCP documentation.
10-22-2012 12:53 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
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
admin phoenix
Master
**

Posts: 354
Likes Given: 1
Likes Received: 23 in 13 posts
Joined: Mar 2012
Reputation: 3



Post: #9
RE: Dragon Breathe
if you want to change the damage of it you can use TAG.OVERRIDE.BREATH.DAM
10-22-2012 07:51 PM
Find all posts by this user Like Post Quote this message in a reply
Barnabus
Journeyman
*

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



Post: #10
RE: Dragon Breathe
Thats got to be the best option ... TAG.OVERRIDE.BREATH.DAM.

Thanks
10-22-2012 08:12 PM
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)