User Tools

Site Tools


legacy:grid:targeting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
legacy:grid:targeting [2025/01/13 16:14] – ↷ Page moved from grid:targeting to legacy:grid:targeting superadminlegacy:grid:targeting [2025/01/13 16:14] (current) – ↷ Links adapted because of a move operation superadmin
Line 18: Line 18:
   * **Target grid**   * **Target grid**
  
-The target grid represents an [[https://ruby-doc.org/core-1.9.2/Array.html|array]] of area effect that is configured manually using a [[grid:api#getting_position|combination of positioning and direction]]. __By default, the target grid is only an array that has a single value which is the center grid value__. (see below for clarification)+The target grid represents an [[https://ruby-doc.org/core-1.9.2/Array.html|array]] of area effect that is configured manually using a [[legacy:grid:api#getting_position|combination of positioning and direction]]. __By default, the target grid is only an array that has a single value which is the center grid value__. (see below for clarification)
  
 ===== Illustration ===== ===== Illustration =====
Line 99: Line 99:
 __It does NOT matter whether it is one enemy, all enemies, random enemies__, it basically tells the system that the skill/item is targeting the enemy. Because of this, any repeated attack or random attack to the enemies, you have to do it manually through the skill action sequence.  __It does NOT matter whether it is one enemy, all enemies, random enemies__, it basically tells the system that the skill/item is targeting the enemy. Because of this, any repeated attack or random attack to the enemies, you have to do it manually through the skill action sequence. 
  
-The same thing applies to ally selection. If you select the options provided that basically target the ally, it tells the system that the skill is targeting the ally. If you want a skill to target self, you have to do it through the targetable grid and do it this way (or look at [[grid:targeting#self-trigger_skill|self trigger skill]] section).+The same thing applies to ally selection. If you select the options provided that basically target the ally, it tells the system that the skill is targeting the ally. If you want a skill to target self, you have to do it through the targetable grid and do it this way (or look at [[legacy:grid:targeting#self-trigger_skill|self trigger skill]] section).
 <code ruby> <code ruby>
 class << Grid::Area class << Grid::Area
Line 151: Line 151:
 Both of method name reference a lambda object accepts 3 parameters which are Both of method name reference a lambda object accepts 3 parameters which are
   * a = User of the skill   * a = User of the skill
-  * b = Any battler in the center grid, if there is no battler, it will be redirected to a [[grid:target_null|target null]]+  * b = Any battler in the center grid, if there is no battler, it will be redirected to a [[legacy:grid:target_null|target null]]
   * c = Center grid   * c = Center grid
  
legacy/grid/targeting.1736784873.txt.gz · Last modified: 2025/01/13 16:14 by superadmin