| 445 | } |
| 446 | |
| 447 | void HitExecute(OsiArgumentDesc const & args) |
| 448 | { |
| 449 | auto helper = HelperHandleToHelper(args[0].Int64); |
| 450 | if (helper == nullptr) return; |
| 451 | |
| 452 | if (helper->Type != DamageHelpers::HT_CustomHit) { |
| 453 | OsiError("Called on a DamageHelper that is not a custom hit!"); |
| 454 | return; |
| 455 | } |
| 456 | |
| 457 | helper->Execute(); |
| 458 | gOsirisProxy->GetExtensionState().DamageHelpers.Destroy(helper->Handle); |
| 459 | } |
| 460 | |
| 461 | bool HitExecuteRetStatus(OsiArgumentDesc & args) |
| 462 | { |
nothing calls this directly
no test coverage detected