Self / ally arts cast on the hero when pointed at an enemy
Arts with launch type 2 (buffs, auras, heals) are only valid on allies or without a target; with an enemy under the cursor the game dropped the order. Orders of a player hero for such arts lose a non-ally target, which casts them on the hero. The launch type comes from the art definition tables (game/engine/arts.h, tools/arttable.mjs). Also: skill keys check the relocated taskbar slots (all 7), Ghidra data labels (g_ names in names.txt). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
dbc632750b
commit
30c93fc87e
9 files changed
+187
-10
No files matched your search
@@ -119,3 +119,25 @@
|
||||
0x006e31e0 cUI_Taskbar2::RenderArtSlots
|
||||
0x006e4310 cUI_Taskbar2::UpdateTooltips
|
||||
0x0081c020 Options::CombineSlots # COMBINE_SLOTS: weapon set also selects the art slot
|
||||
# combat arts
|
||||
0x0052e400 cCreature::ReceiveOrder # vf18; order 0x105 (use art) at 0x52fc58
|
||||
0x006170d0 cEngine::SendCreatureOrder
|
||||
0x005521e0 cCreature::ResolveArtId # art variant for the creature class (+0x10)
|
||||
0x00580cb0 cArtCooldowns::IsReady # (art): cooldown <= 0.01
|
||||
0x00548ef0 cCreature::IsAlive
|
||||
0x004d1930 CombatMoveDef::Find # (id) -> g_combatMoveDefs entry
|
||||
0x004d2150 SpellDef::Find # (id) -> g_spellDefs entry
|
||||
0x004d1a20 CombatMoveDef::UsableMounted # flags +0x74
|
||||
0x004d23e0 SpellDef::UsableMounted # flags +0x90
|
||||
0x0094ddb0 g_combatMoveDefs # 95 x 0x78: id +0, icon name +0xc, target type +0x4c
|
||||
0x00950a38 g_spellDefs # 71 x 0x94: id +0, icon name +0xc, target type u16 +0x3c
|
||||
0x0095503c g_slotCountByLevel # (level, slots) u16 pairs
|
||||
0x009ed058 g_taskbarSlotColors
|
||||
0x00ad23c8 g_inventoryManager
|
||||
0x00ad3bc0 g_objectManager
|
||||
0x0051d680 cCreature::IsValidArtTarget # (pick, launch type): can the art be used on the picked object
|
||||
0x0051d670 NormalizeArtId
|
||||
0x00548f20 cCreature::IsAlly # (object id)
|
||||
0x00548e70 cCreature::IsEnemy # (object id)
|
||||
0x00611f10 cEngine::UpdateCursorPick # cursor target for the selected art
|
||||
0x00548060 cCreature::ChooseAiArt # monsters: art per creature class
|
||||
Reference in new issue
Block a user