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-nmm6 (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-nmm6 (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-nmm6 (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
No walking caster npc when attack
Author Message
Khaos
Master
**

Posts: 595
Likes Given: 166
Likes Received: 83 in 51 posts
Joined: Mar 2012
Reputation: 11



Post: #6
RE: No walking caster npc when attack
Code:
on=@spellcast
local.stam=<src.stam>
stam=0
cast <argn1>
stam=<local.stam>
return

This isn't tested, but might work? That is based on CapObvious.

If that doesn't work I would do...

Code:
on=@spelleffect
tag.spellcast.stam=<src.stam>
serv.newitem=i_memory_caster_freeze, ,<uid>   // Bounce the item to caster
new.timer=<argn3>
stam=0
return 0    // Might not need this.

[itemdef i_memory_caster_freeze]
id=i_memory
name=freeze caster memory

on=@create
timer=-1   // This should get updated by the spellcast trigger

on=@timer
cont.stam=<tag.spellcast.stam>
cont.tag.spellcast.stam=
remove
return 1

Again, nothing to test in front of me. Ideas though Big Grin
(This post was last modified: 03-25-2012 11:58 PM by Khaos.)
03-25-2012 11:56 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
RE: No walking caster npc when attack - Khaos - 03-25-2012 11:56 PM

Forum Jump:


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