Cast Range and squares - New Player Zone and General Guides - WarpPortal Community Forums

Jump to content


Photo
- - - - -

Cast Range and squares


  • Please log in to reply
6 replies to this topic

#1 4853121207141913140

4853121207141913140

    Awarded #1 Troll

  • Members
  • 895 posts
  • Playing:Ragnarok Online
  • Server:Renewal

Posted 08 October 2014 - 07:17 PM

I want to ask how the cast range works if my target is not on the same line as me.

from what i tested, i can cast at max range only if i am on the same line as my target, if i move 1 cell up or down, i have to move closer to my target by 1 cell, but i could also cast from 2 cells north/south. i think rcx could have helped with this, but i was new at that time so i didn't get a chance to use it.


Today I learned that my High Heal can be cast 2 cells further than Heal.
also if i cast outside of the cast range, my character will move 1 cell closer than the skill's max range.


  • 0

#2 DrAzzy

DrAzzy

    Really Azzy? Already?

  • VMod Retired
  • 15606 posts
  • LocationNew England
  • Playing:Ragnarok Online
  • Server:Chaos-Clandestine Society

Posted 08 October 2014 - 08:03 PM

Player skill ranges are vaguely circular, as you've discovered. 

 

And yes, when you target something out of range, you move 1 cell closer than you need to - and this is often relevant, as sometimes the monster will be able to skill on you if you move that 1 cell closer.


  • 0

#3 Ryokosha

Ryokosha

    Amateur Blogger

  • Members
  • 118 posts
  • Playing:Ragnarok Online
  • Server:iRO Classic

Posted 08 October 2014 - 11:34 PM

Funny, I investigated the same thing as you just some days ago.

 

In short: Ranges for players are circular while ranges for monsters are square.

 

Longer reply: If you cast a spell or do an attack, the client itself while first do a range check to see if the target is in attack range. If he thinks it is, the client will directly send an attack command to the server. The server then will check for the range itself, if it's attack, the command is executed. If it's not ok, the server sends "not ok" back to the client which will cause the player to automatically start walking towards a cell from which he can reach the target and then resend the command to the server. The cell the client targets for movement is always one cell closer that what it needs to be. I assume it was implemented like this because the target might actually move away at the same time and it would suck if you character stopped just to find out the target is again not in range (it still happens, but the chance is lower like this). If the client sends a command while the character is walking, the character will always first move to the next full cell and then do the command. It seems like it goes into some kind of command queue on the server that waits for the walking to the next cell to be done.

 

Basically circular range is like this (when standing):

W7uVhC3.png


  • 0

#4 Necrohealiac

Necrohealiac

    10,000 posts and not even a Tiki-Shirt.

  • Members
  • 13389 posts
  • Playing:Ragnarok Online
  • Server:Chaos

Posted 09 October 2014 - 05:40 AM

any reasoning behind the different color schemes or was it just to provide a clearer picture?

 

like the diagram regardless.


  • 0

#5 Ryokosha

Ryokosha

    Amateur Blogger

  • Members
  • 118 posts
  • Playing:Ragnarok Online
  • Server:iRO Classic

Posted 09 October 2014 - 09:15 PM

Oh I just wanted to highlight the max range you can still stand at a particular range.


  • 0

#6 4853121207141913140

4853121207141913140

    Awarded #1 Troll

  • Members
  • 895 posts
  • Playing:Ragnarok Online
  • Server:Renewal

Posted 11 October 2014 - 11:32 AM

m-may i continue asking questions? 

uhm, How do obstacles interfere with aoe skills?

I had a partymate on old gh who gets hit by hell's judgement by the mvp even though there is a pillar nearby.

Using the picture above, it would look like this
 

S3Nw5IR.jpg

Where mvp is mvp, the cone is the obstacle, check icon is a safe cell, x icon is where the player gets hit.

-The picture above helped me a lot. Now i know that when i am diagonally away from my target i have the shortest cast range.


Edited by 4853121207141913140, 11 October 2014 - 11:34 AM.

  • 0

#7 Ryokosha

Ryokosha

    Amateur Blogger

  • Members
  • 118 posts
  • Playing:Ragnarok Online
  • Server:iRO Classic

Posted 13 October 2014 - 02:15 AM

Not sure how the exact calculation for line of sight is, but basically if there is an obstacle between you and the "damage center" you won't get hit. How damage center is defined is however different for each skill. So it's hard to explain. I guess for targetted and self skills the center is always the caster? For other AoE that places "units" it's sometimes one center with a larger AoE area and sometimes every cell itself is a center with its own AoE (for example Storm Gust places damage center in a 9x9 area that all do 3x3 "away from center" splash damage). I think for the later you can't use the "obstacle in the way" trick.

 

Also from a blocked cell, line of sight is always false, meaning that if you put an Icewall on a center cell then that "unit" will not do any damage.


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users