User Tools

Site Tools



kdf_api

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
kdf_api [2025/03/05 01:19] kitanoikdf_api [2025/05/10 06:14] (current) kitanoi
Line 273: Line 273:
   * detectwho: me - only detects for the individual character and handle it is the marker is on them, any will detect the marker on any player and do the mechanic whether or not they have a marker. any is designed for stacking, whereas me is for spreading.   * detectwho: me - only detects for the individual character and handle it is the marker is on them, any will detect the marker on any player and do the mechanic whether or not they have a marker. any is designed for stacking, whereas me is for spreading.
   * pos [table] individual positions for each character as shown above, in 8 man content you'd need to provide 8 positions.   * pos [table] individual positions for each character as shown above, in 8 man content you'd need to provide 8 positions.
-  * returnpos [table][required] individual positions for each character as shown above, in 8 man content you'd need to provide 8 positions. This is the point to return to after spreading for markers. Useful for when puddles are left.+  * returnpos [table][required][optional if using movetoentity] individual positions for each character as shown above, in 8 man content you'd need to provide 8 positions. This is the point to return to after spreading for markers. Useful for when puddles are left.
   * timetoreturn [int][required] in seconds to wait before returning to returnpos   * timetoreturn [int][required] in seconds to wait before returning to returnpos
   * precise [bool][optional] if false, your character will only move to the specified position if the distance is > 5. Ideal to use when there is some avoidance happening at the same time as the stack marker.   * precise [bool][optional] if false, your character will only move to the specified position if the distance is > 5. Ideal to use when there is some avoidance happening at the same time as the stack marker.
   * movetoentity [bool][optional] nil if not being used. Instead of specifying specific locations, you will move to within 5 yalms of the target of the overhead marker.   * movetoentity [bool][optional] nil if not being used. Instead of specifying specific locations, you will move to within 5 yalms of the target of the overhead marker.
 +  * waitforaoe [tbl][optional] comma separated integers {40657,40656} - if these AOEs are present, it will wait until they complete before handling the overhead marker.
  
 --------------------------------------------------------------- ---------------------------------------------------------------
Line 427: Line 428:
         [1] = {contentid = 12345, frompercent = 100, topercent = 95, pos = {x = 1, y = 2, z = 3}, desc = "tank boss 12345 at this pos from 100-95%"},         [1] = {contentid = 12345, frompercent = 100, topercent = 95, pos = {x = 1, y = 2, z = 3}, desc = "tank boss 12345 at this pos from 100-95%"},
     },     },
 +    
 +    tankat= {
 +        [1] = {contentid = 1644, frompercent = 100, topercent = 0, reqs = [[return not KitanoiFuncs.API.DungeonFramework.GarudaPhased]], pos = {x=0.59,y=-2.15,z=-21.73}, desc = "tank garuda at north until phased"},
 +        [2] = {contentid = 1644, frompercent = 100, topercent = 0, reqs = [[return  KitanoiFuncs.API.DungeonFramework.GarudaPhased]], pos = {x=-0.76,y=-1.85,z=-4.35}, desc = "tank garuda at north of inner circle after phased"},
 +    },    
 </code> </code>
   * contentid [required] contentid of the enemy   * contentid [required] contentid of the enemy
Line 432: Line 438:
   * topercent [required] should be the lower %   * topercent [required] should be the lower %
   * pos [required] position to tank at   * pos [required] position to tank at
 +  * reqs [optional] must start with "return" and return a bool
 +
 +---------------------------------------------------------------
 +====MaxFollowDist====
 +[int][optional] allows you to specify how far ahead the tank can be before they stop and wait for party members to be catch up
  
 --------------------------------------------------------------- ---------------------------------------------------------------
Line 601: Line 612:
 </code> </code>
 forces skillprofiles / acrs to not cast when your character is moving. Doesn't work with MCR forces skillprofiles / acrs to not cast when your character is moving. Doesn't work with MCR
 +
 +---------------------------------------------------------------
 +====onentitydeath====
 +[tbl][optional]
 +<code>
 +onentitydeath = {
 +    ["Satin Plume"] = "KitanoiNavigation.NavAPI.MoveTo(100,0,100)    KitanoiSettings.avoidingtime=Now()+2000    KitanoiSettings.MoveForPlume = Now()",
 +},
 +</code>
 +
 +---------------------------------------------------------------
 +====tankmaintainaggro====
 +[bool][optional]
 +
 +---------------------------------------------------------------
 +====tankautoprovoke====
 +[bool][optional]
 +
 +---------------------------------------------------------------
 +====tankstancetargets====
 +[tbl][optional]
 +<code>
 +tankstancetargets = {
 +    ["MT"] = {
 +        [1644] = true, --garuda
 +        [2091] = false, --spiny
 +    },
 +    ["OT"] = {
 +        [1644] = false, --garuda
 +        [2091] = true, --spiny
 +    },
 +},
 +</code>
 +
 +====overrideaoedetails====
 +[tbl][optional]
 +<code>
 +overrideaoedetails = {
 +  length = {
 +    [1234] = 5,
 +    [5412] = 6,
 +  },
 +  fan = {
 +    [4213] = "fan090", --should be fan + 3 digit angle
 +    [13] = "fan270", --should be fan + 3 digit angle
 +  },
 +  type = {
 +    [4584] = 10, --make it a donut
 +    [123] = 2, --make it a circle
 +    [1223] = 3, --make it a cone (you need to add to fan as well)
 +    [123222] = 11, --make it a cross
 +  },
 +  innerrad = { --inner radius override for donut aoes
 +    [1244] = 5,
 +  },
 +}
 +</code>
  
 --------------------------------------------------------------- ---------------------------------------------------------------
kdf_api.1741137566.txt.gz · Last modified: 2025/03/05 01:19 by kitanoi