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
Wall of Stone
Author Message
Skul
Master
**

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



Post: #12
RE: Wall of Stone
diagonal walk check? this allows players to walk through corners diagonally (like the god client)? Maybe people ARE escaping the 'wall of stone cross' which is an old pk tactic of trapping someone, or is it the fact that someone can cast through the little corners to kill the player? Maybe adding an LOS 'check' to see if the player can't really see through the corner (even though sphere will tell you the player can)
Code:
on=@spelleffect
if ( <serv.spell.<argn1>.flags> & spellflag_harm )
if !(<uid>==<src.uid>)
  local.p.x=<p.x>
  local.p.y=<p.y>
  foritems 1
   if (<type>==t_spell) && (<baseid>==i_wall_stone_7) //is wall of stone
    if (<p.x>==<eval <local.p.x> +1>) || (<p.x>==<eval <local.p.x> +-1>) //left or right 1 tile of character
     local.x += 1
    elseif (<p.y>==<eval <local.p.y> +1>) || (<p.y>==<eval <local.p.y> +-1>) //up or down 1 tile of character
     local.x += 1
    endif
   endif
  endfor
if (<dlocal.x> >= 4) //is trapped?
  return 1 //halt the spell - the player is trapped!
endif
endif

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

Marchadium :: http://www.marchadium.ca/ :: Join us!
07-12-2012 12:46 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Wall of Stone - LASTA - 05-17-2012, 06:43 AM
RE: Wall of Stone - Barnabus - 05-17-2012, 08:47 AM
RE: Wall of Stone - LASTA - 05-17-2012, 01:26 PM
RE: Wall of Stone - LASTA - 05-18-2012, 04:00 AM
RE: Wall of Stone - WRWR - 05-18-2012, 07:11 AM
RE: Wall of Stone - LASTA - 05-18-2012, 02:02 PM
RE: Wall of Stone - LASTA - 05-23-2012, 06:52 AM
RE: Wall of Stone - jeem - 05-24-2012, 07:04 AM
RE: Wall of Stone - Crusader - 05-24-2012, 06:21 PM
RE: Wall of Stone - Shaklaban - 05-24-2012, 06:30 PM
RE: Wall of Stone - Hellz1nho - 07-11-2012, 11:05 PM
RE: Wall of Stone - Skul - 07-12-2012 12:46 AM
RE: Wall of Stone - Hellz1nho - 07-12-2012, 01:11 AM
RE: Wall of Stone - Skul - 07-14-2012, 12:47 AM
RE: Wall of Stone - Hellz1nho - 07-14-2012, 03:40 AM
RE: Wall of Stone - Skul - 07-14-2012, 01:53 PM

Forum Jump:


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