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
Anarch Cassius
Master
**

Posts: 273
Likes Given: 19
Likes Received: 10 in 9 posts
Joined: Mar 2012
Reputation: 2



Post: #11
RE: Dragon Breathe
Actually I think the best option is rescripting webs, rocks and breathe in to events. When these hard-coded behavioirs were first put in, you couldn't do anything as complex as call a targeting cursor or use tags in a script. Now that we can do better in a way that's open to being editted later I think we should. I'm not saying remove these, they're fun for nostalgia and people who want something simple out of the box. But if you find yourself tweaking these hard-coded specials you may want to consider disabling them and writing something you'll have even more control of.

Current Projects: Necromancy SCP overhaul. Custom Faction AI/System. Imbuing.
10-23-2012 04:52 AM
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: #12
RE: Dragon Breathe
Indeed..

I never used the override tag in the end what I have seems fine.
If Dragon and If Distance Over 2 and If Skill Wreslting
Its a flame, and Ive just made the damage the mobs damage + Int
its easy to manage like that way, I was thinking about increasing the mana reduction for it.
To stop the dragon spamming it so much.

I actually thought we had a @DragonBreath Trigger, but that was in my imagination.
10-24-2012 08:11 AM
Find all posts by this user Like Post Quote this message in a reply
Skul
Master
**

Posts: 413
Likes Given: 0
Likes Received: 19 in 15 posts
Joined: Jun 2012
Reputation: 9



Post: #13
RE: Dragon Breathe
I agree, using a seperate @trigger for these npc actions is the best way to go:
Code:
on=@NPCBreath
on=@NPCLaySpiderWeb
on=@NPCThrowFire //fire elementals
on=@NPCThrowStone
on=@NPCDeathCorpseExplode //fired after @deathcorpse

return 0 //default
return 1 //halt default action
default //creature this trigger is placed upon
src //source of fire, stone (the object <argo> is being tossed at if any)
argo //object being used (breath, fire, stone, web)

Edit: Adding these triggers to non-default NPCs, such as @NPCBreath to c_spider_giant will give c_spider_giant dragon-like breathing capability, all these
triggers should enable new behavior to any NPC it is placed upon, for more functional compatibility.

"I ask a question to the answer I already know."

Marchadium :: http://www.marchadium.ca/ :: Join us!
(This post was last modified: 10-28-2012 04:34 AM by Skul.)
10-28-2012 04:18 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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