Batch #17140 by ragnarok-clanker: 250 byte-identical, 218 confirmed by peer review. - fn_03093 EffectResourceSwitcher::SetNames: logic confirmed by peer review - fn_03097 EffectResourceSwitcher::OnProcess: logic confirmed by peer review - fn_03154 CSkillAction_DamageWereRaptorForm::SpawnAttack02Effect: logic confirmed by peer review - fn_03155 CSkillAction_DamageWereRaptorForm::PlayFormAttackEffect: logic confirmed by peer review (already on main) - fn_03156 CSkillAction_DamageWereWolfForm::PlayFormAttackEffect: logic confirmed by peer review (already on main) - fn_03157 CSkillAction_Icing::SpawnIcing: logic confirmed by peer review (already on main) - fn_03158 CSkillAction_ThunderingBasic::PlayThunderEffect: logic confirmed by peer review (already on main) - fn_03159 CSkillAction_ThunderingExpand::PlayThunderEffect: logic confirmed by peer review (already on main) - fn_03160 CSkillAction_DamageWereRaptorForm::SpawnDirectionalEffect: logic confirmed by peer review - fn_03177 CEfstAction_BasicAction::OnEfstBegin: logic confirmed by peer review - fn_03179 CSkillAction_Icing::OnSkillCast: byte-identical - fn_03180 CSkillAction_Thundering::OnSkillCast: logic confirmed by peer review (already on main) - fn_03185 CEfstAction_AnimalForm::ResetAnimalForm: logic confirmed by peer review (already on main) - fn_03188 CSkillAction_AT_ALPHA_CLAW::OnSkillEffect: logic confirmed by peer review (already on main) - fn_03192 CSkillAction_AT_PULSE_OF_MADNESS::OnSkillEffect: logic confirmed by peer review (already on main) - fn_03196 CSkillAction_AT_FRENZY_FANG::OnSkillEffect: logic confirmed by peer review (already on main) - fn_03200 CSkillAction_AT_PINION_SHOT::OnSkillEffect: logic confirmed by peer review (already on main) - fn_03205 CSkillAction_AT_QUILL_SPEAR::OnSkillEffect: logic confirmed by peer review (already on main) - fn_03206 CSkillAction_AT_QUILL_SPEAR_S::OnSkillEffect: logic confirmed by peer review (already on main) - fn_03210 CSkillAction_AT_NATURE_HARMONY::OnSkillEffect: logic confirmed by peer review (already on main) - fn_03217 CSkillAction_AT_GRAVITY_HOLE::OnSkillEffect: logic confirmed by peer review (already on main) - fn_03219 CSkillAction_AT_CHILLING_BLAST::OnSkillEffect: logic confirmed by peer review - fn_03222 CSkillObjectAction_AT_GLACIER_MONOLITH::OnSkillObjectCreate: logic confirmed by peer review - fn_03223 CSkillObjectAction_AT_GLACIER_MONOLITH::OnSkillObjectRemove: logic confirmed by peer review - fn_03225 CSkillAction_AT_GLACIER_NOVA::OnGroundSkillEffect: logic confirmed by peer review (already on main) - fn_03226 CSkillAction_AT_GLACIER_SHARD::OnGroundSkillCast: logic confirmed by peer review (already on main) - fn_03227 CSkillAction_AT_GLACIER_SHARD::OnSkillEffect: logic confirmed by peer review - fn_03229 CSkillAction_AT_GLACIER_STOMP::OnSkillEffect: logic confirmed by peer review - fn_03231 CSkillAction_AT_ROARING_CHARGE::OnSkillEffect: logic confirmed by peer review - fn_03233 CSkillAction_AT_ROARING_CHARGE_S::OnSkillEffect: logic confirmed by peer review - fn_03234 CSkillAction_AT_ROARING_PIERCER::OnSkillEffect: logic confirmed by peer review (already on main) - fn_03235 CSkillAction_AT_ROARING_PIERCEER_S::OnSkillEffect: logic confirmed by peer review (already on main) - fn_03237 CSkillAction_AT_FURIOS_STORM::OnSkillEffect: logic confirmed by peer review - fn_03243 CSkillAction_AT_ALPHA_PHASE::OnSkillEffect: logic confirmed by peer review (already on main) - fn_03247 CSkillAction_AT_APEX_PHASE::OnSkillEffect: logic confirmed by peer review (already on main) - fn_03251 CSkillAction_AT_FLIP_FLAP::OnSkillEffect: logic confirmed by peer review (already on main) - fn_03256 CSkillAction_AT_AERO_SYNC::OnSkillEffect: logic confirmed by peer review - fn_03259 CEfstAction_FLIP_FLAP_TARGET::OnEfstBegin: logic confirmed by peer review (already on main) - fn_03261 CSkillAction_AT_SAVAGE_LUNGE::OnSkillEffect: logic confirmed by peer review - fn_03264 CSkillAction_AT_TEMPEST_FLAP::OnSkillCast: logic confirmed by peer review (already on main) - fn_03265 CSkillAction_AT_TEMPEST_FLAP::OnSkillEffect: logic confirmed by peer review (already on main) - fn_03267 CSkillAction_AT_TERRA_HARVEST::OnSkillEffect: logic confirmed by peer review - fn_03268 CSkillAction_AT_TERRA_WAVE::OnGroundSkillEffect: logic confirmed by peer review (already on main) - fn_03270 CSkillAction_AT_SOLID_STOMP::OnSkillEffect: logic confirmed by peer review - fn_03274 CEfstAction_ZEPHYR_LINK::OnEfstBegin: logic confirmed by peer review - fn_03277 CEfstAction_INSANE::OnEfstBegin: logic confirmed by peer review - fn_03280 CEfstAction_INSANE2::OnEfstBegin: logic confirmed by peer review - fn_03281 CEfstAction_INSANE3::OnEfstBegin: logic confirmed by peer review - fn_03327 CSkillAction_AT_PRIMAL_CLAW::OnSkillEffect: logic confirmed by peer review (already on main) - fn_03329 CSkillAction_AT_FERAL_CLAW::OnSkillEffect: logic confirmed by peer review (already on main) - fn_03341 CSkillAction_KR_DOUBLE_SLASH::OnSkillEffect: logic confirmed by peer review - fn_03343 CSkillAction_KR_NASTY_SLASH::OnSkillEffect: logic confirmed by peer review - fn_03347 CSkillAction_KR_CLAW_WAVE::OnGroundSkillEffect: logic confirmed by peer review - fn_03349 CSkillAction_KR_EARTH_DRILL::OnSkillHit: logic confirmed by peer review - fn_03351 CSkillAction_KR_EARTH_STAMP::OnGroundSkillEffect: logic confirmed by peer review - fn_03354 CSkillAction_KR_GROUND_BLOOM::OnSkillEffect: logic confirmed by peer review (already on main) - fn_03355 CSkillAction_KR_THUNDERING_CALL::OnSkillEffect: logic confirmed by peer review - fn_03356 CSkillAction_KR_THUNDERING_CALL_S::OnSkillEffect: logic confirmed by peer review - fn_03358 CSkillAction_KR_THUNDERING_FOCUS::OnSkillEffect: logic confirmed by peer review (already on main) - fn_03360 CSkillAction_KR_THUNDERING_FOCUS_S::OnSkillEffect: logic confirmed by peer review (already on main) - fn_03361 CSkillAction_KR_THUNDERING_ORB::OnGroundSkillEffect: logic confirmed by peer review - fn_03362 CSkillAction_KR_THUNDERING_ORB_S::OnGroundSkillEffect: logic confirmed by peer review - fn_03363 CSkillAction_KR_ICE_SPLASH::OnSkillEffect: logic confirmed by peer review - fn_03366 CSkillObjectAction_KR_ICE_PILLAR::OnSkillObjectCreate: logic confirmed by peer review - fn_03369 CSkillAction_KR_FEATHER_SPRINKLE::OnSkillEffect: logic confirmed by peer review - fn_03374 CSkillAction_KR_SHARPEN_GUST::OnSkillEffect: logic confirmed by peer review - fn_03378 CSkillAction_KR_SHARPEN_HAIL::OnSkillCast: logic confirmed by peer review - fn_03379 CSkillAction_KR_SHARPEN_HAIL::OnSkillEffect: logic confirmed by peer review - fn_03384 CSkillAction_KR_IRON_HOWLING::OnSkillEffect: logic confirmed by peer review - fn_03390 CSkillAction_KR_TYPHOON_WING::OnGroundSkillEffect: logic confirmed by peer review - fn_03396 CEfstAction_WIND_VEIL::OnEfstBegin: logic confirmed by peer review - fn_03400 CSkillAction_SKID_KR_CHOP_CHOP::OnSkillEffect: logic confirmed by peer review (already on main) - fn_03436 CMapSkyMgr::CreateClouds: logic confirmed by peer review (already on main) - fn_04459 CSkillAction_DR_WERERAPTOR::OnSkillEffect: logic confirmed by peer review - fn_04466 CSkillAction_DR_ENRAGE_WOLF::OnSkillEffect: logic confirmed by peer review - fn_04472 CSkillAction_DR_BLOOD_HOWLING::OnSkillEffect: logic confirmed by peer review - fn_04476 CSkillAction_DR_NOMERCY_CLAW::OnSkillEffect: logic confirmed by peer review - fn_04478 CSkillAction_DR_HUNGER::OnSkillEffect: logic confirmed by peer review - fn_04479 CSkillAction_DR_HUNGER::OnSkillHit: logic confirmed by peer review - fn_04481 CSkillAction_DR_CRUEL_BITE::OnSkillEffect: logic confirmed by peer review - fn_04485 CSkillAction_DR_ENRAGE_RAPTOR::OnSkillEffect: logic confirmed by peer review - fn_04491 CSkillAction_DR_PREENING::OnSkillEffect: logic confirmed by peer review - fn_04495 CSkillAction_DR_SHOOTING_FEATHER::OnSkillEffect: logic confirmed by peer review (already on main) - fn_04498 CSkillAction_DR_FLICKING_TONADO::OnSkillEffect: logic confirmed by peer review - fn_04500 CSkillAction_DR_LOW_FLIGHT::OnSkillEffect: logic confirmed by peer review - fn_04504 CSkillAction_DR_NATURE_SHIELD::OnSkillEffect: logic confirmed by peer review - fn_04522 CSkillAction_DR_TRUTH_OF_EARTH::OnSkillEffect: logic confirmed by peer review - fn_04528 CSkillAction_DR_TRUTH_OF_ICE::OnSkillEffect: logic confirmed by peer review (already on main) - fn_04534 CSkillAction_DR_TRUTH_OF_WIND::OnSkillEffect: logic confirmed by peer review - fn_04540 CSkillAction_DR_CUTTING_WIND::OnSkillEffect: logic confirmed by peer review - fn_04541 CSkillAction_DR_CUTTING_WIND::OnSkillDamage: logic confirmed by peer review - fn_04545 CSkillAction_DR_WIND_BOMB::OnSkillEffect: logic confirmed by peer review - fn_04546 CSkillAction_DR_WIND_BOMB::OnSkillDamage: logic confirmed by peer review - fn_04547 CSkillAction_DR_AROUND_FLOWER::OnSkillEffect: logic confirmed by peer review - fn_04548 CSkillAction_DR_EARTH_FLOWER::OnSkillEffect: logic confirmed by peer review (already on main) - fn_04549 CSkillAction_DR_ICE_CLOUD::OnSkillEffect: logic confirmed by peer review - fn_04550 CSkillAction_DR_ICE_TOTEM::OnSkillEffect: logic confirmed by peer review - fn_04552 CSkillAction_DR_WEREWOLF::OnSkillEffect: logic confirmed by peer review - fn_05551 CEnchantMgr::HandleEnchantResult: logic confirmed by peer review - fn_07446 CShowEffect::Add: logic confirmed by peer review - fn_08326 CEfstAction_ChangeSize::OnEfstBegin: byte-identical (already on main) - fn_08329 CEfstAction_GenderChange::OnEfstBegin: byte-identical - fn_08330 CEfstAction_GenderChange::OnEfstEnd: logic confirmed by peer review - fn_08332 CEfstAction_ShowEffect::OnEfstBegin: byte-identical (already on main) - fn_08336 CSkillAction_RA_UNLIMIT::OnSkillEffect: byte-identical - fn_08337 CEfstAction_UNLIMIT::OnEfstBegin: logic confirmed by peer review - fn_08340 CSkillAction_AG_ENERGY_CONVERSION::OnSkillCast: logic confirmed by peer review - fn_08341 CSkillAction_AG_ENERGY_CONVERSION::OnSkillEffect: byte-identical - fn_08342 CSkillAction_CD_DIVINUS_FLOS::OnSkillCast: byte-identical - fn_08343 CSkillAction_CD_DIVINUS_FLOS::OnSkillEffect: byte-identical - fn_08344 CSkillAction_CD_DIVINUS_FLOS::OnSkillDamage: logic confirmed by peer review - fn_08345 CSkillAction_SHC_ENCHANTING_SHADOW::OnSkillCast: byte-identical - fn_08349 CSkillAction_SHC_IMPACT_CRATER::OnSkillEffect: byte-identical - fn_08350 CSkillAction_SHC_IMPACT_CRATER::OnSkillDamage: byte-identical - fn_08352 CSkillAction_SHC_CROSS_SLASH::OnSkillEffect: byte-identical - fn_08353 CSkillAction_SHC_CROSS_SLASH::OnSkillDamage: byte-identical - fn_08355 CSkillAction_SHC_DANCING_KNIFE::OnSkillCast: byte-identical - fn_08356 CSkillAction_SHC_DANCING_KNIFE::OnSkillDamage: byte-identical - fn_08357 CEfstAction_DANCING_KNIFE::OnEfstBegin: byte-identical - fn_08361 CSkillAction_SHC_SHADOW_STAB::OnSkillEffect: byte-identical - fn_08362 CSkillAction_SHC_SHADOW_STAB::OnSkillDamage: logic confirmed by peer review - fn_08363 CSkillAction_SHC_SHADOW_EXCEED::OnSkillCast: byte-identical - fn_08364 CSkillAction_SHC_SHADOW_EXCEED::OnSkillEffect: byte-identical - fn_08372 CSkillAction_ABC_CHASING_BREAK::OnSkillEffect: logic confirmed by peer review (already on main) - fn_08373 CSkillAction_ABC_CHASING_BREAK::OnSkillDamage: byte-identical - fn_08376 CSkillAction_ABC_CHASING_SHOT::OnSkillCast: byte-identical - fn_08377 CSkillAction_ABC_CHASING_SHOT::OnSkillEffect: logic confirmed by peer review (already on main) - fn_08378 CSkillAction_ABC_CHASING_SHOT::OnSkillHit: byte-identical - fn_08379 CSkillAction_ABC_CHASING_SHOT::OnSkillDamage: byte-identical - fn_08381 CSkillAction_ABC_HIT_AND_SLIDING::OnSkillDamage: byte-identical - fn_08382 CSkillAction_ABC_ABYSS_FLAME::OnSkillCast: byte-identical - fn_08383 CSkillAction_ABC_ABYSS_FLAME::OnSkillEffect: byte-identical - fn_08384 CSkillAction_ABC_ABYSS_FLAME::OnSkillDamage: byte-identical - fn_08386 CSkillAction_ABC_ABYSS_FLAME_ATK::OnSkillEffect: byte-identical - fn_08387 CSkillAction_ABC_ABYSS_FLAME_ATK::OnSkillDamage: byte-identical - fn_08388 CSkillAction_EM_PSYCHIC_STREAM::OnSkillCast: byte-identical - fn_08389 CSkillAction_EM_PSYCHIC_STREAM::OnSkillEffect: byte-identical - fn_08390 CSkillAction_EM_PSYCHIC_STREAM::OnSkillDamage: byte-identical - fn_08392 CSkillAction_IQ_BLAZING_FLAME_BLAST::OnSkillCast: byte-identical - fn_08393 CSkillAction_IQ_BLAZING_FLAME_BLAST::OnSkillEffect: byte-identical - fn_08394 CSkillAction_IQ_BLAZING_FLAME_BLAST::OnSkillDamage: logic confirmed by peer review - fn_08437 CSkillAction_BO_MAYHEMIC_THORNS::OnSkillCast: byte-identical (already on main) - fn_08438 CSkillAction_BO_MAYHEMIC_THORNS::OnSkillEffect: byte-identical - fn_08440 CSkillAction_BO_EXPLOSIVE_POWDER::OnSkillEffect: byte-identical - fn_08442 CSkillAction_BO_MYSTERY_POWDER::OnSkillEffect: byte-identical - fn_08443 CSkillAction_BO_MYSTERY_POWDER::OnSkillDamage: byte-identical - fn_08444 CEfstAction_MYSTERY_POWDER::OnEfstBegin: byte-identical - fn_08448 CSkillAction_BO_DUST_EXPLOSION::OnSkillDamage: byte-identical - fn_08449 DustExplosionSpawner::operator(): logic confirmed by peer review - fn_08450 CSkillAction_DK_VIGOR::OnSkillEffect: byte-identical - fn_08451 CEfstAction_VIGOR::OnEfstBegin: byte-identical - fn_08456 CSkillAction_DK_SERVANTWEAPON_ATK::OnSkillHit: byte-identical - fn_08457 CSkillAction_DK_SERVANTWEAPON_ATK::OnSkillDamage: byte-identical - fn_08461 CSkillAction_DK_SERVANT_W_PHANTOM::OnSkillDamage: logic confirmed by peer review - fn_08462 CEfstAction_SERVANT_SIGN::OnEfstBegin: byte-identical - fn_08468 CSkillAction_DK_SERVANT_W_PHANTOM::OnSkillHit: logic confirmed by peer review (already on main) - fn_08470 CSkillAction_DK_SERVANT_W_DEMOL::OnSkillHit: logic confirmed by peer review - fn_08471 CSkillAction_DK_SERVANT_W_DEMOL::OnSkillDamage: byte-identical - fn_08473 CSkillAction_DK_STORMSLASH::OnSkillEffect: logic confirmed by peer review - fn_08477 CSkillAction_DK_MADNESS_CRUSHER::OnSkillDamage: byte-identical - fn_08479 CSkillAction_DK_DRAGONIC_PIERCE::OnSkillCast: byte-identical - fn_08480 CSkillAction_DK_DRAGONIC_PIERCE::OnSkillEffect: logic confirmed by peer review (already on main) - fn_08481 CSkillAction_DK_DRAGONIC_PIERCE::OnSkillDamage: byte-identical - fn_08484 CSkillAction_DK_DRAGONIC_BREATH::OnSkillEffect: byte-identical - fn_08485 CSkillAction_DK_DRAGONIC_BREATH::OnSkillHit: logic confirmed by peer review - fn_08488 CSkillAction_DK_CHARGINGPIERCE::OnSkillEffect: byte-identical - fn_08490 CEfstAction_CHARGINGPIERCE_COUNT::OnEfstBegin: logic confirmed by peer review - fn_08493 CSkillAction_DK_HACKANDSLASHER::OnSkillEffect: byte-identical - fn_08494 CSkillAction_DK_HACKANDSLASHER::OnSkillDamage: byte-identical - fn_08496 CSkillAction_DK_HACKANDSLASHER_ATK::OnSkillDamage: byte-identical - fn_08498 CSkillAction_NPC_BLOCK_EXPLOSION::OnSkillEffect: byte-identical - fn_08500 CSkillAction_NPC_FROST_FIELD::OnSkillEffect: logic confirmed by peer review - fn_08501 CSkillAction_NPC_FROST_FIELD::OnSkillDamage: byte-identical - fn_08502 CEfstAction_FROST_STORM::OnEfstBegin: byte-identical - fn_08506 CSkillAction_NPC_LIGHTNING_JUDGEMENT::OnSkillEffect: logic confirmed by peer review - fn_08507 CSkillAction_NPC_LIGHTNING_JUDGEMENT::OnSkillDamage: byte-identical - fn_08508 CEfstAction_GROGGY::OnEfstBegin: byte-identical - fn_08511 CSkillAction_NPC_RESET_EFST::OnSkillEffect: logic confirmed by peer review - fn_08512 CEfstAction_TARGET_MARKER::OnEfstBegin: byte-identical - fn_08517 CSkillAction_NPC_AIMED_SHOWER::OnSkillEffect: logic confirmed by peer review - fn_08518 CSkillAction_NPC_AIMED_SHOWER::OnSkillDamage: byte-identical - fn_08520 CSkillAction_NPC_BLAZING_ERUPTION::OnSkillEffect: logic confirmed by peer review - fn_08522 CEfstAction_BLOCK_SEAL::OnEfstBegin: byte-identical - fn_08527 CSkillAction_HN_DOUBLEBOWLINGBASH::OnSkillEffect: byte-identical - fn_08530 CSkillAction_HN_MEGA_SONIC_BLOW::OnSkillEffect: byte-identical - fn_08533 CSkillAction_HN_SHIELD_CHAIN_RUSH::OnSkillEffect: byte-identical - fn_08536 CSkillAction_HN_SPIRAL_PIERCE_MAX::OnSkillEffect: logic confirmed by peer review - fn_08539 CSkillAction_HN_METEOR_STORM_BUSTER::OnGroundSkillEffect: logic confirmed by peer review (already on main) - fn_08544 CSkillAction_HN_JUPITEL_THUNDER_STORM::OnSkillEffect: byte-identical - fn_08547 CSkillAction_HN_JACK_FROST_NOVA::OnSkillCast: logic confirmed by peer review - fn_08550 CSkillObjectAction_HN_JACK_FROST_NOVA::OnSkillObjectCreate: byte-identical - fn_08551 CSkillObjectAction_HN_JACK_FROST_NOVA::OnSkillObjectRemove: byte-identical - fn_08554 CSkillAction_HN_HELLS_DRIVE::OnSkillEffect: logic confirmed by peer review - fn_08558 CSkillObjectAction_HN_GROUND_GRAVITATION::OnSkillObjectCreate: byte-identical - fn_08562 CSkillAction_HN_NAPALM_VULCAN_STRIKE::OnSkillHit: byte-identical - fn_08565 CSkillAction_HN_BREAKINGLIMIT::OnSkillEffect: byte-identical - fn_08566 CEfstAction_BREAKINGLIMIT::OnEfstBegin: byte-identical - fn_08571 CSkillAction_HN_RULEBREAK::OnSkillEffect: byte-identical - fn_08572 CEfstAction_RULEBREAK::OnEfstBegin: byte-identical - fn_08575 CSkillAction_HN_OVERCOMING_CRISIS::OnSkillEffect: byte-identical - fn_08579 CSkillAction_IG_CROSS_RAIN::OnSkillCast: byte-identical - fn_08581 CSkillObjectAction_IG_CROSS_RAIN::OnSkillObjectCreate: logic confirmed by peer review - fn_08583 CSkillAction_IG_GRAND_JUDGEMENT::OnSkillCast: byte-identical - fn_08584 CSkillAction_IG_GRAND_JUDGEMENT::OnSkillEffect: logic confirmed by peer review - fn_08585 CEfstAction_IG_GRAND_JUDGEMENT::OnEfstBegin: byte-identical - fn_08590 CSkillAction_IG_GUARDIAN_SHIELD::OnSkillEffect: byte-identical - fn_08591 CEfstAction_IG_GUARDIAN_SHIELD::OnEfstBegin: byte-identical - fn_08596 CSkillAction_IG_HOLY_SHIELD::OnSkillCast: byte-identical - fn_08597 CSkillAction_IG_HOLY_SHIELD::OnSkillEffect: byte-identical - fn_08598 CEfstAction_IG_HOLY_SHIELD::OnEfstBegin: byte-identical - fn_08604 CSkillAction_IG_JUDGEMENT_CROSS::OnSkillCast: byte-identical - fn_08605 CSkillAction_IG_JUDGEMENT_CROSS::OnSkillEffect: logic confirmed by peer review - fn_08606 CSkillAction_IG_JUDGEMENT_CROSS::OnSkillHit: byte-identical - fn_08607 CSkillAction_IG_JUDGEMENT_CROSS::OnSkillDamage: logic confirmed by peer review - fn_08609 CSkillAction_IG_OVERSLASH::OnSkillCast: byte-identical - fn_08610 CSkillAction_IG_OVERSLASH::OnSkillEffect: byte-identical - fn_08611 CSkillAction_IG_OVERSLASH::OnSkillDamage: byte-identical - fn_08612 CSkillAction_IG_REBOUND_SHIELD::OnSkillCast: byte-identical - fn_08613 CSkillAction_IG_REBOUND_SHIELD::OnSkillEffect: byte-identical - fn_08617 CSkillAction_IG_ULTIMATE_SACRIFICE::OnSkillEffect: byte-identical - fn_08618 CEfstAction_IG_ULTIMATE_SACRIFICE::OnEfstBegin: logic confirmed by peer review - fn_08622 CSkillAction_IG_IMPERIAL_CROSS::OnSkillEffect: byte-identical - fn_08623 CSkillAction_IG_IMPERIAL_CROSS::OnSkillDamage: byte-identical - fn_08625 CSkillAction_IG_RADIANT_SPEAR::OnSkillCast: byte-identical - fn_08626 CSkillAction_IG_RADIANT_SPEAR::OnSkillEffect: logic confirmed by peer review - fn_08627 CSkillAction_IG_RADIANT_SPEAR::OnSkillDamage: byte-identical - fn_08628 CSkillAction_IG_IMPERIAL_PRESSURE::OnSkillCast: byte-identical - fn_08629 CSkillAction_IG_IMPERIAL_PRESSURE::OnSkillEffect: byte-identical - fn_08630 CSkillAction_IG_IMPERIAL_PRESSURE::OnSkillDamage: byte-identical - fn_08632 CSkillAction_IG_SHIELD_SHOOTING::OnSkillCast: byte-identical - fn_08633 CSkillAction_IG_SHIELD_SHOOTING::OnSkillEffect: logic confirmed by peer review - fn_08634 CSkillAction_IG_SHIELD_SHOOTING::OnSkillDamage: byte-identical - fn_08636 CSkillAction_IG_ATTACK_STANCE::OnSkillCast: byte-identical - fn_08637 CSkillAction_IG_ATTACK_STANCE::OnSkillEffect: byte-identical - fn_08638 CEfstAction_IG_ATTACK_STANCE::OnEfstBegin: byte-identical - fn_08644 CSkillAction_IG_GUARD_STANCE::OnSkillCast: byte-identical - fn_08645 CSkillAction_IG_GUARD_STANCE::OnSkillEffect: byte-identical - fn_08646 CEfstAction_IG_GUARD_STANCE::OnEfstBegin: byte-identical - fn_08653 CSkillAction_MT_SPARK_BLASTER::OnSkillEffect: byte-identical - fn_08657 CSkillAction_MT_TRIPLE_LASER::OnSkillHit: byte-identical - fn_08659 CSkillAction_MT_MIGHTY_SMASH::OnSkillEffect: byte-identical - fn_08662 CSkillAction_MT_ENERGY_CANNONADE::OnSkillCast: byte-identical - fn_08663 CSkillAction_MT_ENERGY_CANNONADE::OnSkillEffect: byte-identical - fn_08664 CSkillAction_MT_ENERGY_CANNONADE::OnSkillHit: byte-identical - fn_08665 CSkillAction_MT_ENERGY_CANNONADE::OnSkillDamage: byte-identical - fn_08667 CSkillAction_MT_RUSH_STRIKE::OnSkillEffect: logic confirmed by peer review - fn_08668 CSkillAction_MT_RUSH_STRIKE::OnSkillDamage: byte-identical - fn_08670 CSkillAction_MT_POWERFUL_SWING::OnSkillEffect: logic confirmed by peer review - fn_08671 CSkillAction_MT_POWERFUL_SWING::OnSkillDamage: byte-identical - fn_08676 CSkillAction_NW_INTENSIVE_AIM::OnSkillEffect: byte-identical - fn_08677 CEfstAction_INTENSIVE_AIM_COUNT::OnEfstBegin: logic confirmed by peer review - fn_08680 CSkillAction_NW_GRENADE_FRAGMENT::OnSkillEffect: logic confirmed by peer review - fn_08683 CSkillAction_NW_THE_VIGILANTE_AT_NIGHT_GUN_GATLING::OnSkillEffect: logic confirmed by peer review - fn_08685 CSkillAction_NW_THE_VIGILANTE_AT_NIGHT_GUN_SHOTGUN::OnSkillEffect: logic confirmed by peer review - fn_08688 CSkillAction_NW_ONLY_ONE_BULLET::OnTargetSkillCast: byte-identical - fn_08689 CSkillAction_NW_ONLY_ONE_BULLET::OnSkillDamage: byte-identical - fn_08692 CSkillAction_NW_SPIRAL_SHOOTING::OnSkillEffect: byte-identical - fn_08695 CSkillAction_NW_MAGAZINE_FOR_ONE::OnSkillEffect: byte-identical - fn_08698 CSkillAction_NW_WILD_FIRE::OnGroundSkillEffect: logic confirmed by peer review (already on main) - fn_08702 CSkillAction_NW_BASIC_GRENADE::OnGroundSkillEffect: logic confirmed by peer review (already on main) - fn_08707 CSkillAction_NW_HASTY_FIRE_IN_THE_HOLE::OnGroundSkillEffect: logic confirmed by peer review - fn_08713 CSkillObjectAction_NW_GRENADES_DROPPING::OnSkillObjectCreate: byte-identical - fn_08716 CSkillAction_NW_AUTO_FIRING_LAUNCHER::OnSkillEffect: byte-identical - fn_08719 CSkillAction_NW_HIDDEN_CARD::OnSkillEffect: byte-identical - fn_08720 CEfstAction_HIDDEN_CARD::OnEfstBegin: byte-identical - fn_08727 CSkillObjectAction_NW_MISSION_BOMBARD::OnSkillObjectCreate: byte-identical - fn_08729 CSkillAction_NW_WILD_SHOT::OnSkillCast: byte-identical - fn_08730 CSkillAction_NW_WILD_SHOT::OnSkillEffect: logic confirmed by peer review - fn_08731 CSkillAction_NW_WILD_SHOT::OnSkillDamage: byte-identical - fn_08734 CSkillAction_NW_MIDNIGHT_FALLEN::OnSkillCast: byte-identical - fn_08735 CSkillAction_NW_MIDNIGHT_FALLEN::OnGroundSkillEffect: logic confirmed by peer review (already on main) - fn_08736 CSkillAction_NW_MIDNIGHT_FALLEN::OnSkillDamage: byte-identical - fn_08738 CEfstAction_NIGHTMARE::OnEfstBegin: byte-identical - fn_08741 CEfstAction_SHADOW_CLOCK::OnEfstBegin: byte-identical - fn_08744 CSkillObjectAction_SS_SBUNSHIN::OnSkillObjectCreate: byte-identical - fn_08745 CSkillObjectAction_SS_SBUNSHIN::OnSkillObjectRemove: byte-identical - fn_08746 CSkillObjectAction_SS_KUNAITRAP::OnSkillObjectCreate: byte-identical - fn_08747 CSkillObjectAction_SS_KUNAITRAP::OnSkillObjectRemove: byte-identical - fn_08748 CSkillAction_SS_TOKEDASU::OnGroundSkillEffect: logic confirmed by peer review - fn_08752 CSkillAction_SS_AKUMUKESU::OnSkillEffect: byte-identical - fn_08755 CSkillAction_SS_SHINKIROU::OnSkillCast: byte-identical (already on main) - fn_08756 CSkillAction_SS_KAGEGARI::OnGroundSkillEffect: logic confirmed by peer review (already on main) - fn_08759 CSkillAction_SS_KAGENOMAI::OnSkillEffect: byte-identical - fn_08762 CSkillAction_SS_KAGEGISSEN::OnSkillEffect: byte-identical - fn_08764 CSkillAction_SS_FUUMASHOUAKU::OnSkillCast: byte-identical - fn_08765 CSkillObjectAction_NPC_FUUMA::OnSkillObjectCreate: byte-identical - fn_08767 CSkillAction_SS_FUUMAKOUCHIKU::OnSkillCast: byte-identical - fn_08768 CSkillAction_SS_FUUMAKOUCHIKU::OnGroundSkillEffect: logic confirmed by peer review (already on main) - fn_08769 CSkillAction_SS_FUUMASHOUAKU_HIT::OnSkillHit: byte-identical - fn_08771 CSkillAction_SS_KUNAIWAIKYOKU::OnSkillCast: byte-identical - fn_08772 CSkillAction_SS_KUNAIWAIKYOKU::OnGroundSkillEffect: logic confirmed by peer review (already on main) - fn_08774 CSkillAction_SS_KUNAIKAITEN::OnSkillEffect: logic confirmed by peer review - fn_08776 CSkillAction_SS_KUNAIKUSSETSU::OnSkillCast: byte-identical - fn_08777 CSkillAction_SS_KUNAIKUSSETSU::OnSkillEffect: logic confirmed by peer review - fn_08781 CSkillAction_SS_SEKIENHOU::OnSkillEffect: logic confirmed by peer review (already on main) - fn_08785 CSkillAction_SS_REIKETSUHOU::OnGroundSkillEffect: logic confirmed by peer review (already on main) - fn_08788 CSkillAction_SS_RAIDENPOU::OnSkillCast: byte-identical - fn_08789 CSkillAction_SS_RAIDENPOU::OnSkillEffect: byte-identical - fn_08790 CSkillAction_SS_RAIDENPOU::OnSkillDamage: byte-identical - fn_08794 CSkillAction_SS_KINRYUUHOU::OnSkillEffect: byte-identical - fn_08795 CSkillAction_SS_KINRYUUHOU::OnSkillDamage: byte-identical - fn_08799 CSkillAction_SS_ANTENPOU::OnSkillEffect: byte-identical - fn_08803 CSkillAction_SS_KAGEAKUMU::OnSkillHit: byte-identical - fn_08807 CSkillAction_SS_HITOUAKUMU::OnSkillEffect: logic confirmed by peer review - fn_08811 CSkillAction_SS_ANKOKURYUUAKUMU::OnSkillEffect: byte-identical - fn_08812 CSkillAction_SS_ANKOKURYUUAKUMU::OnSkillHit: byte-identical - fn_08813 CSkillAction_SS_FOUR_CHARM::OnSkillEffect: logic confirmed by peer review - fn_08815 CSkillObjectAction_SKE_STAR_CANNON::OnSkillObjectCreate: byte-identical - fn_08818 CSkillAction_SKE_ALL_IN_THE_SKY::OnTargetSkillCast: byte-identical - fn_08820 CEfstAction_SKY_ENCHANT::OnEfstBegin: byte-identical - fn_08822 CEfstAction_SKY_ENCHANT::OnEfstUpdate: byte-identical - fn_08824 CSkillAction_SKE_SKY_SUN::OnSkillEffect: logic confirmed by peer review - fn_08825 CSkillAction_SKE_SKY_SUN::OnSkillDamage: byte-identical - fn_08827 CSkillAction_SKE_SKY_MOON::OnSkillCast: logic confirmed by peer review - fn_08828 CSkillAction_SKE_SKY_MOON::OnSkillEffect: byte-identical - fn_08829 CSkillAction_SKE_SKY_MOON::OnSkillDamage: byte-identical - fn_08830 CSkillAction_SKE_STAR_LIGHT_KICK::OnSkillEffect: byte-identical - fn_08831 CSkillAction_SKE_STAR_LIGHT_KICK::OnSkillDamage: byte-identical - fn_08833 CEfstAction_RISING_SUN::OnEfstBegin: logic confirmed by peer review - fn_08835 CEfstAction_RISING_SUN::OnEfstUpdate: byte-identical - fn_08836 CEfstAction_NOON_SUN::OnEfstBegin: logic confirmed by peer review - fn_08838 CEfstAction_NOON_SUN::OnEfstUpdate: byte-identical - fn_08839 CEfstAction_SUNSET_SUN::OnEfstBegin: logic confirmed by peer review - fn_08841 CEfstAction_SUNSET_SUN::OnEfstUpdate: byte-identical - fn_08843 CSkillAction_SKE_NOON_BLAST::OnSkillEffect: byte-identical - fn_08845 CSkillAction_SKE_SUNSET_BLAST::OnSkillEffect: logic confirmed by peer review - fn_08847 CEfstAction_RISING_MOON::OnEfstBegin: byte-identical - fn_08849 CEfstAction_RISING_MOON::OnEfstUpdate: byte-identical - fn_08850 CEfstAction_MIDNIGHT_MOON::OnEfstBegin: byte-identical - fn_08852 CEfstAction_MIDNIGHT_MOON::OnEfstUpdate: byte-identical - fn_08853 CEfstAction_DAWN_MOON::OnEfstBegin: byte-identical - fn_08855 CEfstAction_DAWN_MOON::OnEfstUpdate: byte-identical - fn_08858 CSkillAction_SKE_MIDNIGHT_KICK::OnSkillEffect: byte-identical - fn_08861 CSkillAction_SKE_DAWN_BREAK::OnSkillEffect: byte-identical - fn_08865 CSkillObjectAction_SKE_TWINKLING_GALAXY::OnSkillObjectCreate: byte-identical - fn_08868 CEfstAction_STAR_BURST::OnEfstBegin: byte-identical - fn_08876 CSkillAction_SOA_TALISMAN_OF_FIVE_ELEMENTS::OnSkillEffect: byte-identical - fn_08879 CSkillAction_SOA_TALISMAN_OF_SOUL_STEALING::OnSkillHit: logic confirmed by peer review - fn_08881 CSkillAction_SOA_EXORCISM_OF_MALICIOUS_SOUL::OnSkillEffect: byte-identical - fn_08883 CSkillAction_SOA_TALISMAN_OF_BLUE_DRAGON::OnSkillEffect: logic confirmed by peer review - fn_08884 CEfstAction_T_FIRST_GOD::OnEfstBegin: byte-identical - fn_08888 CSkillAction_SOA_TALISMAN_OF_WHITE_TIGER::OnSkillEffect: logic confirmed by peer review - fn_08889 CEfstAction_T_SECOND_GOD::OnEfstBegin: byte-identical - fn_08893 CSkillAction_SOA_TALISMAN_OF_RED_PHOENIX::OnSkillEffect: byte-identical - fn_08894 CEfstAction_T_THIRD_GOD::OnEfstBegin: byte-identical - fn_08898 CSkillAction_SOA_TALISMAN_OF_BLACK_TORTOISE::OnGroundSkillEffect: logic confirmed by peer review (already on main) - fn_08900 CEfstAction_T_FOURTH_GOD::OnEfstBegin: byte-identical - fn_08904 CSkillAction_SOA_TALISMAN_OF_FOUR_BEARING_GOD::OnSkillEffect: byte-identical - fn_08906 CSkillAction_SOA_CIRCLE_OF_DIRECTIONS_AND_ELEMENTALS::OnSkillEffect: byte-identical - fn_08907 CEfstAction_T_FIVETH_GOD::OnEfstBegin: byte-identical - fn_08912 CSkillAction_SOA_SOUL_OF_HEAVEN_AND_EARTH::OnSkillEffect: byte-identical - fn_08913 CEfstAction_HEAVEN_AND_EARTH::OnEfstBegin: byte-identical - fn_08918 CSkillAction_SOA_TALISMAN_OF_PROTECTION::OnSkillEffect: byte-identical - fn_08921 CSkillAction_SOA_TALISMAN_OF_WARRIOR::OnSkillEffect: byte-identical - fn_08924 CSkillAction_SOA_TALISMAN_OF_MAGICIAN::OnSkillEffect: byte-identical - fn_08926 CSkillAction_SOA_SOUL_GATHERING::OnSkillEffect: byte-identical - fn_08929 CSkillObjectAction_SOA_TOTEM_OF_TUTELARY::OnSkillObjectCreate: byte-identical - fn_08930 CSkillObjectAction_SOA_TOTEM_OF_TUTELARY::OnSkillObjectRemove: byte-identical - fn_08932 CSkillAction_SH_CHUL_HO_SONIC_CLAW::OnSkillEffect: logic confirmed by peer review - fn_08935 CSkillAction_SH_HOWLING_OF_CHUL_HO::OnSkillEffect: byte-identical - fn_08936 CEfstAction_HOGOGONG::OnEfstBegin: byte-identical - fn_08941 CSkillAction_SH_HOGOGONG_STRIKE::OnSkillHit: byte-identical - fn_08943 CSkillAction_SH_KI_SUL_WATER_SPRAYING::OnSkillEffect: byte-identical - fn_08945 CSkillAction_SH_MARINE_FESTIVAL_OF_KI_SUL::OnSkillEffect: byte-identical - fn_08946 CEfstAction_MARINE_FESTIVAL::OnEfstBegin: byte-identical - fn_08948 CSkillAction_SH_SANDY_FESTIVAL_OF_KI_SUL::OnSkillEffect: byte-identical - fn_08949 CEfstAction_SANDY_FESTIVAL::OnEfstBegin: byte-identical - fn_08951 CSkillAction_SH_KI_SUL_RAMPAGE::OnSkillEffect: byte-identical - fn_08953 CSkillAction_SH_COLORS_OF_HYUN_ROK::OnSkillEffect: logic confirmed by peer review - fn_08957 CSkillObjectAction_SH_HYUN_ROKS_BREEZE::OnSkillObjectCreate: byte-identical - fn_08959 CSkillAction_SH_HYUN_ROK_CANNON::OnSkillEffect: byte-identical - fn_08961 CSkillAction_SH_TEMPORARY_COMMUNION::OnSkillEffect: byte-identical - fn_08962 CEfstAction_TEMPORARY_COMMUNION::OnEfstBegin: logic confirmed by peer review - fn_08967 CSkillAction_SH_BLESSING_OF_MYSTICAL_CREATURES::OnSkillEffect: byte-identical - fn_08969 CSkillAction_SH_CHUL_HO_BATTERING::OnSkillCast: byte-identical - fn_08970 CSkillAction_SH_CHUL_HO_BATTERING::OnSkillEffect: byte-identical - fn_08971 CSkillAction_SH_CHUL_HO_BATTERING::OnSkillDamage: logic confirmed by peer review - fn_08972 CSkillAction_SH_HYUN_ROK_SPIRIT_POWER::OnSkillCast: byte-identical - fn_08973 CSkillAction_SH_HYUN_ROK_SPIRIT_POWER::OnSkillEffect: byte-identical - fn_08974 CSkillAction_SH_HYUN_ROK_SPIRIT_POWER::OnSkillDamage: byte-identical - fn_08976 CSkillAction_TR_ROSEBLOSSOM::OnSkillDamage: byte-identical - fn_08977 CSkillAction_TR_ROSEBLOSSOM_ATK::OnSkillDamage: byte-identical - fn_08978 CSkillAction_TR_KVASIR_SONATA::OnSkillCast: byte-identical - fn_08979 CSkillAction_TR_KVASIR_SONATA::OnSkillEffect: byte-identical - fn_08982 CSkillAction_TR_PRON_MARCH::OnSkillCast: logic confirmed by peer review - fn_08983 CSkillAction_TR_PRON_MARCH::OnSkillEffect: byte-identical - fn_08987 CSkillAction_TR_JAWAII_SERENADE::OnSkillCast: byte-identical - fn_08988 CSkillAction_TR_JAWAII_SERENADE::OnSkillEffect: byte-identical - fn_08992 CSkillAction_TR_AIN_RHAPSODY::OnSkillCast: byte-identical - fn_08993 CSkillAction_TR_AIN_RHAPSODY::OnSkillEffect: byte-identical - fn_08997 CSkillAction_TR_GEF_NOCTURN::OnSkillCast: byte-identical - fn_08998 CSkillAction_TR_GEF_NOCTURN::OnSkillEffect: logic confirmed by peer review - fn_09002 CSkillAction_TR_RHYTHMICAL_WAVE::OnSkillCast: logic confirmed by peer review - fn_09003 CSkillAction_TR_RHYTHMICAL_WAVE::OnSkillEffect: byte-identical - fn_09004 CSkillAction_TR_RHYTHMICAL_WAVE::OnSkillDamage: byte-identical - fn_09006 CSkillAction_TR_METALIC_FURY::OnSkillEffect: byte-identical - fn_09007 CSkillAction_TR_MYSTIC_SYMPHONY::OnSkillCast: byte-identical - fn_09008 CSkillAction_TR_MYSTIC_SYMPHONY::OnSkillEffect: byte-identical - fn_09009 CEfstAction_MYSTIC_SYMPHONY::OnEfstBegin: byte-identical - fn_09015 CSkillAction_TR_RHYTHMSHOOTING::OnSkillCast: byte-identical - fn_09016 CSkillAction_TR_RHYTHMSHOOTING::OnSkillHit: byte-identical - fn_09017 CSkillAction_TR_RHYTHMSHOOTING::OnSkillDamage: byte-identical - fn_09018 CSkillAction_TR_ROKI_CAPRICCIO::OnSkillCast: byte-identical - fn_09019 CSkillAction_TR_ROKI_CAPRICCIO::OnSkillEffect: byte-identical - fn_09020 CSkillAction_TR_ROSEBLOSSOM::OnSkillCast: byte-identical - fn_09021 CSkillAction_TR_ROSEBLOSSOM::OnSkillEffect: byte-identical - fn_09023 CSkillAction_WH_GALESTORM::OnSkillCast: logic confirmed by peer review - fn_09024 CSkillAction_WH_GALESTORM::OnSkillEffect: byte-identical - fn_09025 CSkillAction_WH_GALESTORM::OnSkillDamage: byte-identical - fn_09026 CSkillAction_WH_CALAMITYGALE::OnSkillCast: byte-identical - fn_09027 CSkillAction_WH_CALAMITYGALE::OnSkillEffect: byte-identical - fn_09028 CEfstAction_CALAMITYGALE::OnEfstBegin: byte-identical - fn_09037 CSkillAction_WH_CRESCIVE_BOLT::OnSkillCast: byte-identical - fn_09038 CSkillAction_WH_CRESCIVE_BOLT::OnSkillDamage: byte-identical - fn_09039 CSkillAction_WH_WILD_WALK::OnSkillCast: byte-identical - fn_09040 CSkillAction_WH_WILD_WALK::OnSkillEffect: byte-identical - fn_09041 CSkillAction_WH_WILD_WALK::OnSkillDamage: logic confirmed by peer review - fn_10225 UIRuneSystemWnd::SendMsg: logic confirmed by peer review - fn_17682 CWorld::LoadMapEffects: logic confirmed by peer review (already on main) - fn_17955 CChampionMonsterMgr::ApplyEffects: logic confirmed by peer review (already on main) - fn_20087 CRagEffect::OnProcess3: logic confirmed by peer review - fn_21019 CGameActor::SetHatEffect: logic confirmed by peer review (already on main) - fn_21020 CGameActor::SetEffectState: byte-identical (already on main) - fn_21021 CGameActor::SetEffectInstance: byte-identical - fn_21112 CGameActor::SendMsg: logic confirmed by peer review - fn_21156 CGameActor::SetCharm: logic confirmed by peer review - fn_21166 CGameActor::SetTetraBall: logic confirmed by peer review (already on main) - fn_21194 CGameActor::PlayGroundSkillEffect: logic confirmed by peer review (already on main) - fn_21196 CGameActor::ProcessSkillMessage: logic confirmed by peer review - fn_21296 CGameMode::LaunchTargetEffect: logic confirmed by peer review - fn_21312 LaunchBulletSpriteEffect: byte-identical - fn_21314 CGameMode::PlayItemUseEffect: logic confirmed by peer review - fn_21953 CGameMode::ApplyStatusChange: logic confirmed by peer review - fn_21963 CGameMode::NotifySkillCasting: logic confirmed by peer review - fn_21965 LaunchSkillActorEffect: logic confirmed by peer review - fn_21967 LaunchSkillCastEffect: logic confirmed by peer review - fn_21970 CGameMode::ReceiveActorStatusValue: logic confirmed by peer review - fn_22008 CGameMode::SpawnSkillWarningPlanes: logic confirmed by peer review (already on main) - fn_22013 CGameMode::ReceiveRuneRewardPacket: logic confirmed by peer review - fn_22027 CGameMode::ReceiveRuneGradeResult: logic confirmed by peer review (already on main) - fn_22037 CGameMode::ReceiveGradeEnchantResult: logic confirmed by peer review (already on main) - fn_22038 CGameMode::ReceiveAchievementUpdate: logic confirmed by peer review - fn_22128 CGameMode::ReceiveWindow348Result: logic confirmed by peer review - fn_22140 CGameMode::ReceiveStatusChangeNotice: logic confirmed by peer review - fn_22143 CGameMode::ReceiveNotifyEffect: logic confirmed by peer review (already on main) - fn_22147 CGameMode::ReceiveNotifyGroundSkill: logic confirmed by peer review (already on main) - fn_22149 CGameMode::ReceiveNotifySkill: logic confirmed by peer review (already on main) - fn_22189 CGameMode::ReceiveSoulEnergy: logic confirmed by peer review (already on main) - fn_22192 CGameMode::UpdateActorSpiritCount: logic confirmed by peer review (already on main) - fn_22208 CGameMode::ReceiveSkillUse: logic confirmed by peer review (already on main) - fn_22252 CItem::SendMsg: logic confirmed by peer review (already on main) - fn_22670 CPlayer::ReapplySkillEffects: logic confirmed by peer review (already on main) - fn_23895 CSession::PlaySkillEffect: logic confirmed by peer review - fn_23896 CSession::PlaySkillTargetEffect: byte-identical - fn_23901 CSession::PlaySkillGroundEffect: logic confirmed by peer review - fn_24271 CSkill::LaunchGroundEffects: logic confirmed by peer review - fn_24287 CSkill::OnProcess: logic confirmed by peer review - fn_24296 CDummyEffectLauncher::SendMsg: logic confirmed by peer review - fn_24302 CSkill::SendMsg: logic confirmed by peer review - fn_45483 LaunchLuaSkillEffect: logic confirmed by peer review - fn_45492 CSkillAction_WH_CRESCIVE_BOLT::OnSkillHit: logic confirmed by peer review - fn_18774 EffectLists::Spawn: logic confirmed by peer review - fn_21763 CGameMode::ReceiveBroadcast: logic confirmed by peer review (already on main) - fn_21777 CGameMode::ReceiveZoneServerChange: logic confirmed by peer review (already on main) - fn_22566 CPc::RenderBodyOutline: logic confirmed by peer review (already on main) - fn_22594 CGrannyPc::Render: logic confirmed by peer review (already on main) - fn_22597 CGrannyPc::RenderCached: logic confirmed by peer review (already on main) - fn_19253 SetWindEffectInfo: logic confirmed by peer review (already on main) Reviewed-by: ragnarok-clanker
2145 lines
76 KiB
C++
2145 lines
76 KiB
C++
#include "Contents/Actors/ActorEnums.h"
|
|
#include "Client/Mode/CGameMode.h"
|
|
#include "Client/Session/Session.h"
|
|
#include "Client/Mode/ModeMgr.h"
|
|
#include "Contents/Actors/GameActor.h"
|
|
#include "Contents/Actors/Pc.h"
|
|
#include "Contents/Camera/Camera.h"
|
|
#include "Contents/Effects/EffectResourceSwitcher.h"
|
|
#include "Contents/Effects/Particles/EZ2STREffectEx.h"
|
|
#include "Contents/Effects/Core/Effect.h"
|
|
#include "Contents/Effects/Core/EffectActor.h"
|
|
#include "Contents/Effects/Core/EffectLists.h"
|
|
#include "Contents/Effects/Core/RagEffect.h"
|
|
#include "Contents/Tables/MessageTable.h"
|
|
#include "Contents/Skills/SkillInfo.h"
|
|
#include "Utility/Cipher/XorBytes.h"
|
|
#include "Utility/Math/Vector3d.h"
|
|
#include "Utility/Cipher/LocalEncryptedName.h"
|
|
#include "Utility/Cipher/CryptName.h"
|
|
|
|
#include <algorithm>
|
|
#include <array>
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
#include <cstdlib>
|
|
#include <string>
|
|
#include <string_view>
|
|
|
|
class CSkillAction_AnimalForm : public CSkillAction {
|
|
public:
|
|
bool CanUse(CGameActor* actor);
|
|
virtual bool IsInForm(CGameActor* actor) = 0;
|
|
virtual void PlayFormAttackEffect(CGameActor* actor) = 0;
|
|
};
|
|
|
|
class CSkillAction_Direction {
|
|
public:
|
|
int GetDirection(float angle);
|
|
bool IsValidDirection(unsigned int direction);
|
|
};
|
|
|
|
class CSkillAction_DamageWereRaptorForm : public CSkillAction_AnimalForm, public CSkillAction_Direction {
|
|
public:
|
|
void SpawnAttack00Effect(int sourceActor, CGameActor* target);
|
|
__declspec(noinline) void SpawnAttack01Effect(int level, CGameActor* source);
|
|
__declspec(noinline) void SpawnAttack02Effect(int level, CGameActor* source);
|
|
void SpawnDirectionalEffect(CGameActor* source, CGameActor* target, std::string_view name);
|
|
void OnSkillDamage(int level, CGameActor* source, CGameActor* target) override;
|
|
bool IsInForm(CGameActor* actor) override;
|
|
void PlayFormAttackEffect(CGameActor* actor) override;
|
|
};
|
|
|
|
class CSkillAction_DamageWereWolfForm : public CSkillAction_AnimalForm {
|
|
public:
|
|
void OnSkillDamage(int level, CGameActor* source, CGameActor* target) override;
|
|
bool IsInForm(CGameActor* actor) override;
|
|
void PlayFormAttackEffect(CGameActor* actor) override;
|
|
};
|
|
|
|
class CSkillAction_Earthing : public CSkillAction {
|
|
public:
|
|
int GetSkillCastMotion() override;
|
|
int GetSkillAttackMotion() override;
|
|
void OnSkillCast(int level, CGameActor* source) override;
|
|
void OnSkillDamage(int level, CGameActor* source, CGameActor* target) override;
|
|
};
|
|
|
|
class CSkillAction_Icing : public CSkillAction {
|
|
public:
|
|
int GetSkillCastMotion() override;
|
|
int GetSkillAttackMotion() override;
|
|
void OnSkillCast(int level, CGameActor* source) override;
|
|
void OnSkillDamage(int level, CGameActor* source, CGameActor* target) override;
|
|
void SpawnIcing(CGameActor* target);
|
|
};
|
|
|
|
class CSkillAction_Thundering : public CSkillAction {
|
|
public:
|
|
int GetSkillCastMotion() override;
|
|
int GetSkillAttackMotion() override;
|
|
void OnSkillCast(int level, CGameActor* source) override;
|
|
void OnSkillDamage(int level, CGameActor* source, CGameActor* target) override;
|
|
virtual void PlayThunderEffect(CGameActor* source) = 0;
|
|
};
|
|
|
|
class CSkillAction_ThunderingBasic : public CSkillAction_Thundering {
|
|
public:
|
|
void PlayThunderEffect(CGameActor* source) override;
|
|
};
|
|
|
|
class CSkillAction_ThunderingExpand : public CSkillAction_Thundering {
|
|
public:
|
|
void PlayThunderEffect(CGameActor* source) override;
|
|
};
|
|
|
|
class CEfstAction_BasicAction : public CEfstAction {
|
|
public:
|
|
void OnEfstBegin(int efstId, int value, int argument3, int argument4, CRenderObject* actor, bool argument6) override;
|
|
void OnEfstEnd(int efstId, int argument2, int argument3, int argument4, CRenderObject* actor) override;
|
|
void OnEfstUpdate(int efstId, int value, int argument3, int argument4, CRenderObject* actor) override;
|
|
virtual int GetEffectId(int efstId, int argument4) = 0;
|
|
};
|
|
|
|
class CEfstAction_AnimalForm : public CEfstAction {
|
|
public:
|
|
void OnEfstEnd(int efstId, int argument2, int argument3, int argument4, CRenderObject* actor) override;
|
|
void ResetAnimalForm(CRenderObject* actor);
|
|
void ApplyAnimalForm(CRenderObject* actor, int form);
|
|
void OnEfstUpdate(int efstId, int value, int argument3, int argument4, CRenderObject* actor) override;
|
|
};
|
|
|
|
class CSkillAction_AT_ALPHA_CLAW : public CSkillAction_DamageWereWolfForm {
|
|
public:
|
|
int GetSkillAttackMotion() override;
|
|
void OnSkillEffect(int level, CGameActor* source, CGameActor* target) override;
|
|
};
|
|
|
|
class CSkillAction_AT_PULSE_OF_MADNESS : public CSkillAction_DamageWereWolfForm {
|
|
public:
|
|
int GetSkillCastMotion() override;
|
|
int GetSkillAttackMotion() override;
|
|
void OnSkillCast(int level, CGameActor* source) override;
|
|
void OnSkillEffect(int level, CGameActor* source, CGameActor* target) override;
|
|
};
|
|
|
|
class CEfstAction_PULSE_OF_MADNESS : public CEfstAction {
|
|
public:
|
|
EfstActionMessage GetEfstBeginMessage() override;
|
|
EfstActionMessage GetEfstEndMessage() override;
|
|
};
|
|
|
|
class CSkillAction_AT_PRIMAL_CLAW : public CSkillAction_DamageWereWolfForm {
|
|
public:
|
|
int GetSkillAttackMotion() override;
|
|
void OnSkillEffect(int level, CGameActor* source, CGameActor* target) override;
|
|
};
|
|
|
|
class CSkillAction_AT_FERAL_CLAW : public CSkillAction_DamageWereWolfForm {
|
|
public:
|
|
int GetSkillAttackMotion() override;
|
|
void OnSkillEffect(int level, CGameActor* source, CGameActor* target) override;
|
|
};
|
|
|
|
class CSkillAction_AT_FRENZY_FANG : public CSkillAction_DamageWereWolfForm {
|
|
public:
|
|
int GetSkillAttackMotion() override;
|
|
void OnSkillEffect(int level, CGameActor* source, CGameActor* target) override;
|
|
};
|
|
|
|
class CSkillAction_AT_PINION_SHOT : public CSkillAction_DamageWereRaptorForm {
|
|
public:
|
|
int GetSkillCastMotion() override;
|
|
int GetSkillAttackMotion() override;
|
|
void OnSkillCast(int level, CGameActor* source) override;
|
|
void OnSkillEffect(int level, CGameActor* source, CGameActor* target) override;
|
|
void OnSkillHit(int level, CGameActor* source, CGameActor* target) override;
|
|
};
|
|
|
|
class CSkillAction_AT_QUILL_SPEAR : public CSkillAction_DamageWereRaptorForm {
|
|
public:
|
|
int GetSkillCastMotion() override;
|
|
int GetSkillAttackMotion() override;
|
|
void OnSkillCast(int level, CGameActor* source) override;
|
|
void OnSkillEffect(int level, CGameActor* source, CGameActor* target) override;
|
|
};
|
|
|
|
class CSkillAction_AT_QUILL_SPEAR_S : public CSkillAction_DamageWereRaptorForm {
|
|
public:
|
|
void OnSkillEffect(int level, CGameActor* source, CGameActor* target) override;
|
|
};
|
|
|
|
class CSkillAction_AT_NATURE_HARMONY : public CSkillAction {
|
|
public:
|
|
int GetSkillCastMotion() override;
|
|
int GetSkillAttackMotion() override;
|
|
void OnSkillCast(int level, CGameActor* source) override;
|
|
void OnSkillEffect(int level, CGameActor* source, CGameActor* target) override;
|
|
};
|
|
|
|
class CEfstAction_NATURE_HARMONY : public CEfstAction {
|
|
public:
|
|
EfstActionMessage GetEfstBeginMessage() override;
|
|
EfstActionMessage GetEfstEndMessage() override;
|
|
};
|
|
|
|
class CSkillAction_AT_GRAVITY_HOLE : public CSkillAction {
|
|
public:
|
|
int GetSkillCastMotion() override;
|
|
int GetSkillAttackMotion() override;
|
|
void OnSkillCast(int level, CGameActor* source) override;
|
|
void OnSkillEffect(int level, CGameActor* source, CGameActor* target) override;
|
|
void OnSkillDamage(int level, CGameActor* source, CGameActor* target) override;
|
|
};
|
|
|
|
class CSkillAction_AT_CHILLING_BLAST : public CSkillAction_Icing {
|
|
public:
|
|
int GetSkillAttackMotion() override;
|
|
void OnSkillEffect(int level, CGameActor* source, CGameActor* target) override;
|
|
};
|
|
|
|
class CSkillAction_AT_GLACIER_MONOLITH : public CSkillAction_Icing {
|
|
public:
|
|
int GetSkillAttackMotion() override;
|
|
int GetSkillScopeType() override;
|
|
};
|
|
|
|
class CSkillObjectAction_AT_GLACIER_MONOLITH : public CSkillObjectAction {
|
|
public:
|
|
void OnSkillObjectCreate(int argument, CRenderObject* object, CGameActor* source) override;
|
|
void OnSkillObjectRemove(CRenderObject* object) override;
|
|
};
|
|
|
|
class CSkillAction_AT_GLACIER_NOVA : public CSkillAction_Icing {
|
|
public:
|
|
int GetSkillAttackMotion() override;
|
|
void OnGroundSkillEffect(vector3d position, int argument2, int argument3) override;
|
|
};
|
|
|
|
class CSkillAction_AT_GLACIER_SHARD : public CSkillAction_Icing {
|
|
public:
|
|
void OnGroundSkillCast(int level, CGameActor* source, int argument3, int argument4, int argument5) override;
|
|
void OnSkillEffect(int level, CGameActor* source, CGameActor* target) override;
|
|
};
|
|
|
|
class CSkillAction_AT_GLACIER_STOMP : public CSkillAction_Icing {
|
|
public:
|
|
int GetSkillAttackMotion() override;
|
|
void OnSkillEffect(int level, CGameActor* source, CGameActor* target) override;
|
|
};
|
|
|
|
class CSkillAction_AT_ROARING_CHARGE : public CSkillAction_ThunderingBasic {
|
|
public:
|
|
int GetSkillAttackMotion() override;
|
|
void OnSkillEffect(int level, CGameActor* source, CGameActor* target) override;
|
|
};
|
|
|
|
class CSkillAction_AT_ROARING_CHARGE_S : public CSkillAction_ThunderingExpand {
|
|
public:
|
|
int GetSkillAttackMotion() override;
|
|
void OnSkillEffect(int level, CGameActor* source, CGameActor* target) override;
|
|
};
|
|
|
|
class CSkillAction_AT_ROARING_PIERCER : public CSkillAction_ThunderingBasic {
|
|
public:
|
|
void OnSkillEffect(int level, CGameActor* source, CGameActor* target) override;
|
|
};
|
|
|
|
class CSkillAction_AT_ROARING_PIERCEER_S : public CSkillAction_ThunderingExpand {
|
|
public:
|
|
void OnSkillEffect(int level, CGameActor* source, CGameActor* target) override;
|
|
};
|
|
|
|
class CSkillAction_AT_FURIOS_STORM : public CSkillAction_Thundering {
|
|
public:
|
|
int GetSkillAttackMotion() override;
|
|
void OnSkillEffect(int level, CGameActor* source, CGameActor* target) override;
|
|
void PlayThunderEffect(CGameActor* source) override;
|
|
};
|
|
|
|
class CEfstAction_FURIOS_STORM : public CEfstAction {
|
|
public:
|
|
void OnEfstEnd(int efstId, int argument2, int argument3, int argument4, CRenderObject* actor) override;
|
|
};
|
|
|
|
class CSkillAction_AT_ALPHA_PHASE : public CSkillAction {
|
|
public:
|
|
int GetSkillCastMotion() override;
|
|
int GetSkillAttackMotion() override;
|
|
void OnSkillCast(int level, CGameActor* source) override;
|
|
void OnSkillEffect(int level, CGameActor* source, CGameActor* target) override;
|
|
};
|
|
|
|
class CEfstAction_ALPHA_PHASE : public CEfstAction {
|
|
public:
|
|
EfstActionMessage GetEfstBeginMessage() override;
|
|
EfstActionMessage GetEfstEndMessage() override;
|
|
};
|
|
|
|
class CSkillAction_AT_APEX_PHASE : public CSkillAction {
|
|
public:
|
|
int GetSkillAttackMotion() override;
|
|
void OnSkillEffect(int level, CGameActor* source, CGameActor* target) override;
|
|
};
|
|
|
|
class CEfstAction_AT_APEX_PHASE : public CEfstAction {
|
|
public:
|
|
EfstActionMessage GetEfstBeginMessage() override;
|
|
EfstActionMessage GetEfstEndMessage() override;
|
|
};
|
|
|
|
class CSkillAction_AT_FLIP_FLAP : public CSkillAction {
|
|
public:
|
|
int GetSkillAttackMotion() override;
|
|
void OnSkillEffect(int level, CGameActor* source, CGameActor* target) override;
|
|
};
|
|
|
|
class CEfstAction_FLIP_FLAP : public CEfstAction {
|
|
public:
|
|
EfstActionMessage GetEfstBeginMessage() override;
|
|
EfstActionMessage GetEfstEndMessage() override;
|
|
};
|
|
|
|
class CSkillAction_AT_AERO_SYNC : public CSkillAction {
|
|
public:
|
|
bool IsSupport() override;
|
|
int GetSkillAttackMotion() override;
|
|
void OnSkillEffect(int level, CGameActor* source, CGameActor* target) override;
|
|
};
|
|
|
|
class CEfstAction_FLIP_FLAP_TARGET : public CEfstAction {
|
|
public:
|
|
void OnEfstBegin(int efstId, int value, int argument3, int argument4, CRenderObject* actor, bool argument6) override;
|
|
EfstActionMessage GetEfstBeginMessage() override;
|
|
EfstActionMessage GetEfstEndMessage() override;
|
|
};
|
|
|
|
class CSkillAction_AT_SAVAGE_LUNGE : public CSkillAction_DamageWereWolfForm {
|
|
public:
|
|
int GetSkillAttackMotion() override;
|
|
void OnSkillEffect(int level, CGameActor* source, CGameActor* target) override;
|
|
};
|
|
|
|
class CSkillAction_AT_TEMPEST_FLAP : public CSkillAction_DamageWereRaptorForm {
|
|
public:
|
|
int GetSkillCastMotion() override;
|
|
int GetSkillAttackMotion() override;
|
|
void OnSkillCast(int level, CGameActor* source) override;
|
|
void OnSkillEffect(int level, CGameActor* source, CGameActor* target) override;
|
|
};
|
|
|
|
class CSkillAction_AT_TERRA_HARVEST : public CSkillAction_Earthing {
|
|
public:
|
|
int GetSkillAttackMotion() override;
|
|
void OnSkillEffect(int level, CGameActor* source, CGameActor* target) override;
|
|
};
|
|
|
|
class CSkillAction_AT_TERRA_WAVE : public CSkillAction_Earthing {
|
|
public:
|
|
void OnGroundSkillEffect(vector3d position, int argument2, int argument3) override;
|
|
};
|
|
|
|
class CSkillAction_AT_SOLID_STOMP : public CSkillAction_Earthing {
|
|
public:
|
|
int GetSkillAttackMotion() override;
|
|
void OnSkillEffect(int level, CGameActor* source, CGameActor* target) override;
|
|
};
|
|
|
|
class CEfstAction_SOLID_STOMP : public CEfstAction {
|
|
public:
|
|
EfstActionMessage GetEfstBeginMessage() override;
|
|
EfstActionMessage GetEfstEndMessage() override;
|
|
};
|
|
|
|
class CSkillAction_AT_ZEPHYR_LINK : public CSkillAction {
|
|
public:
|
|
int GetSkillAttackMotion() override;
|
|
};
|
|
|
|
class CEfstAction_ZEPHYR_LINK : public CEfstAction {
|
|
public:
|
|
void OnEfstBegin(int efstId, int value, int argument3, int argument4, CRenderObject* actor, bool argument6) override;
|
|
void OnEfstEnd(int efstId, int argument2, int argument3, int argument4, CRenderObject* actor) override;
|
|
void OnEfstUpdate(int efstId, int value, int argument3, int argument4, CRenderObject* actor) override;
|
|
};
|
|
|
|
class CEfstAction_INSANE : public CEfstAction {
|
|
public:
|
|
void OnEfstBegin(int efstId, int value, int argument3, int argument4, CRenderObject* actor, bool argument6) override;
|
|
void OnEfstEnd(int efstId, int argument2, int argument3, int argument4, CRenderObject* actor) override;
|
|
void OnEfstUpdate(int efstId, int value, int argument3, int argument4, CRenderObject* actor) override;
|
|
};
|
|
|
|
class CEfstAction_INSANE2 : public CEfstAction_INSANE {
|
|
public:
|
|
void OnEfstBegin(int efstId, int value, int argument3, int argument4, CRenderObject* actor, bool argument6) override;
|
|
};
|
|
|
|
class CEfstAction_INSANE3 : public CEfstAction_INSANE {
|
|
public:
|
|
void OnEfstBegin(int efstId, int value, int argument3, int argument4, CRenderObject* actor, bool argument6) override;
|
|
};
|
|
|
|
// OFFSET: 0x005A50B0
|
|
// FUNCTION: fn_03155
|
|
void CSkillAction_DamageWereRaptorForm::PlayFormAttackEffect(CGameActor* actor) {
|
|
if (actor) {
|
|
EffectLists* effects = g_effectMgr;
|
|
effects->Spawn(actor->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr std::array<char, 18> bytes = CRYPT_NAME("dr_hit_wereraptor", 0x1D6D75EDE7CD311FULL);
|
|
thread_local EncryptedName<sizeof(bytes), 0x1D6D75EDE7CD311FULL> name(bytes);
|
|
return name.Text();
|
|
}()), 0.0f, 0.0f, 0.0f, 0, -1, 0, 0);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005A52B0
|
|
// FUNCTION: fn_03156
|
|
void CSkillAction_DamageWereWolfForm::PlayFormAttackEffect(CGameActor* actor) {
|
|
if (actor) {
|
|
EffectLists* effects = g_effectMgr;
|
|
effects->Spawn(actor->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr std::array<char, 16> bytes = CRYPT_NAME("dr_hit_werewolf", 0x3375B1C7DBB5FD55ULL);
|
|
thread_local EncryptedName<sizeof(bytes), 0x3375B1C7DBB5FD55ULL> name(bytes);
|
|
return name.Text();
|
|
}()), 0.0f, 0.0f, 0.0f, 0, -1, 0, 0);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005A54B0
|
|
// FUNCTION: fn_03157
|
|
void CSkillAction_Icing::SpawnIcing(CGameActor* target) {
|
|
if (target) {
|
|
EffectLists* effects = g_effectMgr;
|
|
if (CEffect* effect = effects->Spawn(target->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr auto bytesText = CRYPT_NAME("ice_hit", 0x91651D81F559F971ULL);
|
|
const auto& bytes = bytesText.data;
|
|
thread_local EncryptedName<sizeof(bytes), 0x91651D81F559F971ULL> name(bytes);
|
|
return name.Text();
|
|
}()), 0.0f, 0.0f, 0.0f, 0, -1, 0, 0)) {
|
|
effect->SetScale(0.9f);
|
|
}
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005A56C0
|
|
// FUNCTION: fn_03158
|
|
void CSkillAction_ThunderingBasic::PlayThunderEffect(CGameActor* source) {
|
|
if (source) {
|
|
EffectLists* effects = g_effectMgr;
|
|
effects->Spawn(source->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr std::array<char, 20> bytes = CRYPT_NAME("thundering_attack_g", 0x3FAF85D995034FD7ULL);
|
|
thread_local EncryptedName<sizeof(bytes), 0x3FAF85D995034FD7ULL> name(bytes);
|
|
return name.Text();
|
|
}()), 0.0f, 0.0f, 0.0f, 0, -1, 0, 0);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005A58C0
|
|
// FUNCTION: fn_03159
|
|
void CSkillAction_ThunderingExpand::PlayThunderEffect(CGameActor* source) {
|
|
if (source) {
|
|
EffectLists* effects = g_effectMgr;
|
|
effects->Spawn(source->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
const std::uint8_t bytes[] = {0xCD, 0x65, 0x5A, 0xCF, 0x27, 0x9E, 0x7D, 0x20, 0xD7, 0x6A, 0x70, 0xC0, 0x37, 0x8F, 0x6E, 0x2A,
|
|
0xD2, 0x52, 0x56, 0xA1};
|
|
thread_local EncryptedName<sizeof(bytes), 0x490FFB43A12F0DB9ULL> name(bytes);
|
|
return name.Text();
|
|
}()), 0.0f, 0.0f, 0.0f, 0, -1, 0, 0);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005A5AC0
|
|
// FUNCTION: fn_03160
|
|
void CSkillAction_DamageWereRaptorForm::SpawnDirectionalEffect(CGameActor* source, CGameActor* target, std::string_view name) {
|
|
const float angle = ScreenAngle(
|
|
&source->render.position.x, &target->render.position.x, static_cast<CGameMode*>(g_modeMgr.GetGameMode())->camera->frame.view.values
|
|
);
|
|
const int direction = this->GetDirection(angle);
|
|
if (!this->IsValidDirection(direction)) {
|
|
return;
|
|
}
|
|
|
|
const bool flipped = direction == 1 || direction == 2;
|
|
EffectLists* effects = g_effectMgr;
|
|
if (CEffect* effect = effects->Spawn(target->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId(name.data()), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0)) {
|
|
effect->SetFlipX(flipped);
|
|
effect->SetAngle(static_cast<float>((static_cast<int>(angle + (flipped ? -180.0f : 0.0f)) + 360) % 360));
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005A5D20
|
|
// FUNCTION: fn_03161
|
|
int CSkillAction_Earthing::GetSkillCastMotion() {
|
|
return 60;
|
|
}
|
|
|
|
// OFFSET: 0x005A5D30
|
|
// FUNCTION: fn_03162
|
|
int CSkillAction_Icing::GetSkillCastMotion() {
|
|
return 61;
|
|
}
|
|
|
|
// OFFSET: 0x005A5D40
|
|
// FUNCTION: fn_03163
|
|
int CSkillAction_Thundering::GetSkillCastMotion() {
|
|
return 61;
|
|
}
|
|
|
|
// OFFSET: 0x005A5D50
|
|
// FUNCTION: fn_03164
|
|
int CSkillAction_Direction::GetDirection(float angle) {
|
|
if (angle > 60.0f && angle <= 120.0f) {
|
|
return 0;
|
|
}
|
|
if (angle > 120.0f && angle <= 240.0f) {
|
|
return 1;
|
|
}
|
|
if (angle > 240.0f && angle <= 300.0f) {
|
|
return 2;
|
|
}
|
|
if ((angle > 300.0f && angle <= 360.0f) || (angle >= 0.0f && angle <= 60.0f)) {
|
|
return 3;
|
|
}
|
|
return -1;
|
|
}
|
|
|
|
// OFFSET: 0x005A5DE0
|
|
// FUNCTION: fn_03165
|
|
int CSkillAction_Earthing::GetSkillAttackMotion() {
|
|
return 62;
|
|
}
|
|
|
|
// OFFSET: 0x005A5DF0
|
|
// FUNCTION: fn_03166
|
|
int CSkillAction_Icing::GetSkillAttackMotion() {
|
|
return 64;
|
|
}
|
|
|
|
// OFFSET: 0x005A5E00
|
|
// FUNCTION: fn_03167
|
|
int CSkillAction_Thundering::GetSkillAttackMotion() {
|
|
return 64;
|
|
}
|
|
|
|
// OFFSET: 0x005A5E10
|
|
// FUNCTION: fn_03168
|
|
bool CSkillAction_DamageWereRaptorForm::IsInForm(CGameActor* actor) {
|
|
return actor->GetShapeShift() == 2;
|
|
}
|
|
|
|
// OFFSET: 0x005A5E30
|
|
// FUNCTION: fn_03169
|
|
bool CSkillAction_DamageWereWolfForm::IsInForm(CGameActor* actor) {
|
|
return actor->GetShapeShift() == 1;
|
|
}
|
|
|
|
// OFFSET: 0x005A5E90
|
|
// FUNCTION: fn_03171
|
|
bool CSkillAction_Direction::IsValidDirection(unsigned int direction) {
|
|
return direction <= 3;
|
|
}
|
|
|
|
// OFFSET: 0x005A5EA0
|
|
// FUNCTION: fn_03172
|
|
void CSkillAction_DamageWereRaptorForm::OnSkillDamage(int level, CGameActor* source, CGameActor* target) {
|
|
this->PlayFormAttackEffect(source);
|
|
}
|
|
|
|
// OFFSET: 0x005A5EB0
|
|
// FUNCTION: fn_03173
|
|
void CSkillAction_DamageWereWolfForm::OnSkillDamage(int level, CGameActor* source, CGameActor* target) {
|
|
this->PlayFormAttackEffect(source);
|
|
}
|
|
|
|
// OFFSET: 0x005A5EC0
|
|
// FUNCTION: fn_03174
|
|
void CSkillAction_Earthing::OnSkillDamage(int level, CGameActor* source, CGameActor* target) {
|
|
if (!source) {
|
|
return;
|
|
}
|
|
|
|
if (CRagEffect* effect = source->LaunchEffect(0, vector3d{0.0f, 0.0f, 0.0f}, 0.0f)) {
|
|
effect->SendMsg(nullptr, AM_SETPOS, 0, reinterpret_cast<int>(&source->render.position), 0, 0, 0, 0);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005A5F30
|
|
// FUNCTION: fn_03175
|
|
void CSkillAction_Icing::OnSkillDamage(int level, CGameActor* source, CGameActor* target) {
|
|
this->SpawnIcing(source);
|
|
}
|
|
|
|
// OFFSET: 0x005A5F40
|
|
// FUNCTION: fn_03176
|
|
void CSkillAction_Thundering::OnSkillDamage(int level, CGameActor* source, CGameActor* target) {
|
|
this->PlayThunderEffect(source);
|
|
}
|
|
|
|
// OFFSET: 0x005A5F50
|
|
// FUNCTION: fn_03177
|
|
void CEfstAction_BasicAction::OnEfstBegin(int efstId, int value, int argument3, int argument4, CRenderObject* actor, bool argument6) {
|
|
if (actor) {
|
|
const int id = this->GetEffectId(efstId, argument4);
|
|
if (id >= 0) {
|
|
g_effectMgr->Spawn(actor->render.accountId, id, vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0);
|
|
}
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005A5FB0
|
|
// FUNCTION: fn_03178
|
|
void CSkillAction_Earthing::OnSkillCast(int level, CGameActor* source) {
|
|
if (source) {
|
|
source->LaunchEffect(57, level / 16);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005A5FE0
|
|
// FUNCTION: fn_03179
|
|
void CSkillAction_Icing::OnSkillCast(int level, CGameActor* source) {
|
|
if (source) {
|
|
EffectLists* effects = g_effectMgr;
|
|
if (CEffect* effect = effects->Spawn(source->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId("ice_cast"), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0)) {
|
|
effect->SetLifeTime(level);
|
|
}
|
|
effects = g_effectMgr;
|
|
if (CEffect* effect =
|
|
effects->Spawn(source->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId("ice_cast_bottom"), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0)) {
|
|
effect->SetLifeTime(level);
|
|
}
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005A6260
|
|
// FUNCTION: fn_03180
|
|
void CSkillAction_Thundering::OnSkillCast(int level, CGameActor* source) {
|
|
if (source) {
|
|
EffectLists* effects = g_effectMgr;
|
|
if (CEffect* effect = effects->Spawn(source->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr std::array<char, 16> bytes = CRYPT_NAME("thundering_cast", 0x93E7A3A1F587CDC5ULL);
|
|
thread_local EncryptedName<sizeof(bytes), 0x93E7A3A1F587CDC5ULL> name(bytes);
|
|
return name.Text();
|
|
}()), 0.0f, 0.0f, 0.0f, 0, -1, 0, 0)) {
|
|
effect->SetLifeTime(level);
|
|
}
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005A6470
|
|
// FUNCTION: fn_03181
|
|
void CEfstAction_AnimalForm::OnEfstEnd(int efstId, int argument2, int argument3, int argument4, CRenderObject* actor) {
|
|
this->ResetAnimalForm(actor);
|
|
}
|
|
|
|
// OFFSET: 0x005A6480
|
|
// FUNCTION: fn_03182
|
|
void CEfstAction_BasicAction::OnEfstEnd(int efstId, int argument2, int argument3, int argument4, CRenderObject* actor) {
|
|
if (actor) {
|
|
const int id = this->GetEffectId(efstId, argument4);
|
|
if (id >= 0) {
|
|
g_effectMgr->Retire(actor->render.accountId, id);
|
|
}
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005A64C0
|
|
// FUNCTION: fn_03183
|
|
void CEfstAction_AnimalForm::OnEfstUpdate(int efstId, int value, int argument3, int argument4, CRenderObject* actor) {
|
|
this->OnEfstBegin(efstId, value, 0, 0, actor, false);
|
|
}
|
|
|
|
// OFFSET: 0x005A64E0
|
|
// FUNCTION: fn_03184
|
|
void CEfstAction_BasicAction::OnEfstUpdate(int efstId, int value, int argument3, int argument4, CRenderObject* actor) {
|
|
if (actor) {
|
|
this->OnEfstBegin(efstId, value, argument3, argument4, actor, false);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005A6510
|
|
// FUNCTION: fn_03185
|
|
void CEfstAction_AnimalForm::ResetAnimalForm(CRenderObject* actor) {
|
|
if (!actor) {
|
|
return;
|
|
}
|
|
|
|
CGameActor* gameActor = static_cast<CGameActor*>(actor);
|
|
if (g_session.m_aid == actor->render.accountId) {
|
|
g_session.SetPlayerSkillMode(0);
|
|
}
|
|
gameActor->SetShapeShift(0);
|
|
gameActor->SetSprJob(gameActor->GetShapeShiftJob());
|
|
EffectLists* effects = g_effectMgr;
|
|
effects->Spawn(actor->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr auto bytesText = CRYPT_NAME("return", 0x812BE72BCD5707B7ULL);
|
|
const auto& bytes = bytesText.data;
|
|
thread_local EncryptedName<sizeof(bytes), 0x812BE72BCD5707B7ULL> name(bytes);
|
|
return name.Text();
|
|
}()), 0.0f, 0.0f, 0.0f, 0, -1, 0, 0);
|
|
gameActor->SetBodyPaletteName();
|
|
}
|
|
|
|
// OFFSET: 0x005A6740
|
|
// FUNCTION: fn_03186
|
|
void CEfstAction_AnimalForm::ApplyAnimalForm(CRenderObject* actor, int form) {
|
|
if (actor) {
|
|
CGameActor* gameActor = static_cast<CGameActor*>(actor);
|
|
if (g_session.m_aid == actor->render.accountId) {
|
|
g_session.SetPlayerSkillMode(form);
|
|
}
|
|
|
|
gameActor->SetShapeShift(form);
|
|
gameActor->SetSprJob(gameActor->GetShapeShiftJob());
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005A6790
|
|
// FUNCTION: fn_03187
|
|
int CSkillAction_AT_ALPHA_CLAW::GetSkillAttackMotion() {
|
|
return 76;
|
|
}
|
|
|
|
// OFFSET: 0x005A67A0
|
|
// FUNCTION: fn_03188
|
|
void CSkillAction_AT_ALPHA_CLAW::OnSkillEffect(int level, CGameActor* source, CGameActor* target) {
|
|
if (!this->CanUse(source) || !target) {
|
|
return;
|
|
}
|
|
|
|
g_effectMgr->Spawn(target->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr auto bytesText = CRYPT_NAME("alpha_claw", 0x1D6D75EDE7CD311FULL);
|
|
const auto& bytes = bytesText.data;
|
|
thread_local EncryptedName<sizeof(bytes), 0x1D6D75EDE7CD311FULL> name(bytes);
|
|
return name.Text();
|
|
}()), 0.0f, 0.0f, 0.0f, 0, -1, 0, 0);
|
|
}
|
|
|
|
// OFFSET: 0x005A69B0
|
|
// FUNCTION: fn_03189
|
|
int CSkillAction_AT_PULSE_OF_MADNESS::GetSkillCastMotion() {
|
|
return 66;
|
|
}
|
|
|
|
// OFFSET: 0x005A69C0
|
|
// FUNCTION: fn_03190
|
|
int CSkillAction_AT_PULSE_OF_MADNESS::GetSkillAttackMotion() {
|
|
return 68;
|
|
}
|
|
|
|
// OFFSET: 0x005A69D0
|
|
// FUNCTION: fn_03191
|
|
void CSkillAction_AT_PULSE_OF_MADNESS::OnSkillCast(int level, CGameActor* source) {
|
|
if (source) {
|
|
source->LaunchEffect(54, level / 16);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005A6A00
|
|
// FUNCTION: fn_03192
|
|
void CSkillAction_AT_PULSE_OF_MADNESS::OnSkillEffect(int level, CGameActor* source, CGameActor* target) {
|
|
if (source && source->GetShapeShift() != 0) {
|
|
this->IsInForm(source);
|
|
}
|
|
|
|
g_effectMgr->Spawn(source->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
const std::uint8_t bytes[] = {0x57, 0x74, 0x6B, 0x1E, 0x66, 0x9A, 0x9C, 0x49, 0x78, 0x6C, 0x66, 0x09, 0x6D, 0xA0, 0x80, 0x5C, 0x27};
|
|
thread_local EncryptedName<sizeof(bytes), 0x2FF3C5036D070127ULL> name(bytes);
|
|
return name.Text();
|
|
}()), 0.0f, 0.0f, 0.0f, 0, -1, 0, 0);
|
|
}
|
|
|
|
// OFFSET: 0x005A6C00
|
|
// FUNCTION: fn_03193
|
|
EfstActionMessage CEfstAction_PULSE_OF_MADNESS::GetEfstBeginMessage() {
|
|
return {LookupMessage(4668), 0xFFFF00};
|
|
}
|
|
|
|
// OFFSET: 0x005A6C30
|
|
// FUNCTION: fn_03194
|
|
EfstActionMessage CEfstAction_PULSE_OF_MADNESS::GetEfstEndMessage() {
|
|
return {LookupMessage(4669), 0xFF};
|
|
}
|
|
|
|
// OFFSET: 0x005A6C60
|
|
// FUNCTION: fn_03195
|
|
int CSkillAction_AT_FRENZY_FANG::GetSkillAttackMotion() {
|
|
return 70;
|
|
}
|
|
|
|
// OFFSET: 0x005A6C70
|
|
// FUNCTION: fn_03196
|
|
void CSkillAction_AT_FRENZY_FANG::OnSkillEffect(int level, CGameActor* source, CGameActor* target) {
|
|
if (!this->CanUse(source)) {
|
|
return;
|
|
}
|
|
|
|
if (!target) {
|
|
return;
|
|
}
|
|
|
|
if (CEffect* effect = g_effectMgr->Spawn(source->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr auto bytesText = CRYPT_NAME("frenzy_fang", 0x17359BF953C367B3ULL);
|
|
const auto& bytes = bytesText.data;
|
|
thread_local EncryptedName<sizeof(bytes), 0x17359BF953C367B3ULL> name(bytes);
|
|
return name.Text();
|
|
}()), 0.0f, 0.0f, 0.0f, 0, -1, 0, 0)) {
|
|
const float angle = ScreenAngle(
|
|
&source->render.position.x, &target->render.position.x, static_cast<CGameMode*>(g_modeMgr.GetGameMode())->camera->frame.view.values
|
|
);
|
|
effect->SetFlipX(angle < 90.0f || angle > 270.0f);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005A6EE0
|
|
// FUNCTION: fn_03197
|
|
int CSkillAction_AT_PINION_SHOT::GetSkillCastMotion() {
|
|
return 60;
|
|
}
|
|
|
|
// OFFSET: 0x005A6EF0
|
|
// FUNCTION: fn_03198
|
|
int CSkillAction_AT_PINION_SHOT::GetSkillAttackMotion() {
|
|
return 78;
|
|
}
|
|
|
|
// OFFSET: 0x005A6F00
|
|
// FUNCTION: fn_03199
|
|
void CSkillAction_AT_PINION_SHOT::OnSkillCast(int level, CGameActor* source) {
|
|
if (source) {
|
|
source->LaunchEffect(56, level / 16);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005A6F30
|
|
// FUNCTION: fn_03200
|
|
void CSkillAction_AT_PINION_SHOT::OnSkillEffect(int level, CGameActor* source, CGameActor* target) {
|
|
if (!target) {
|
|
return;
|
|
}
|
|
|
|
if (!this->CanUse(source)) {
|
|
return;
|
|
}
|
|
|
|
if (CEffect* effect = g_effectMgr->Spawn(source->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr auto bytesText = CRYPT_NAME("pinion_shot", 0xC52FB5FBB94FF917ULL);
|
|
const auto& bytes = bytesText.data;
|
|
thread_local EncryptedName<sizeof(bytes), 0xC52FB5FBB94FF917ULL> name(bytes);
|
|
return name.Text();
|
|
}()), 0.0f, 0.0f, 0.0f, 0, -1, 0, 0)) {
|
|
const float angle = ScreenAngle(
|
|
&source->render.position.x, &target->render.position.x, static_cast<CGameMode*>(g_modeMgr.GetGameMode())->camera->frame.view.values
|
|
);
|
|
effect->SetAngle(angle);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005A7180
|
|
// FUNCTION: fn_03201
|
|
void CSkillAction_AT_PINION_SHOT::OnSkillHit(int level, CGameActor* source, CGameActor* target) {
|
|
this->SpawnAttack01Effect(level, source);
|
|
}
|
|
|
|
// OFFSET: 0x005A71A0
|
|
// FUNCTION: fn_03202
|
|
int CSkillAction_AT_QUILL_SPEAR::GetSkillCastMotion() {
|
|
return 60;
|
|
}
|
|
|
|
// OFFSET: 0x005A71B0
|
|
// FUNCTION: fn_03203
|
|
int CSkillAction_AT_QUILL_SPEAR::GetSkillAttackMotion() {
|
|
return 79;
|
|
}
|
|
|
|
// OFFSET: 0x005A71C0
|
|
// FUNCTION: fn_03204
|
|
void CSkillAction_AT_QUILL_SPEAR::OnSkillCast(int level, CGameActor* source) {
|
|
if (source) {
|
|
source->LaunchEffect(56, level / 16);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005A71F0
|
|
// FUNCTION: fn_03205
|
|
void CSkillAction_AT_QUILL_SPEAR::OnSkillEffect(int level, CGameActor* source, CGameActor* target) {
|
|
if (!target || !this->CanUse(source)) {
|
|
return;
|
|
}
|
|
|
|
const int effectId = CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr std::array<char, 16> bytes = CRYPT_NAME("quill_spear_3x7", 0x93E7A3A1F587CDC5ULL);
|
|
thread_local EncryptedName<sizeof(bytes), 0x93E7A3A1F587CDC5ULL> name(bytes);
|
|
return name.Text();
|
|
}());
|
|
if (CEffect* effect = g_effectMgr->Spawn(source->render.accountId, effectId, 0.0f, 0.0f, 0.0f, 0, -1, 0, 0)) {
|
|
const float angle = ScreenAngle(
|
|
&source->render.position.x, &target->render.position.x, static_cast<CGameMode*>(g_modeMgr.GetGameMode())->camera->frame.view.values
|
|
);
|
|
effect->SetAngle(angle);
|
|
if (CRagEffect* ragEffect = source->LaunchEffect(2442, vector3d{0.0f, 0.0f, 0.0f}, 0.0f)) {
|
|
ragEffect->SendMsg(nullptr, AM_SETPOS, 0, reinterpret_cast<int>(&target->render.position), 0, 0, 0, 0);
|
|
}
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005A74A0
|
|
// FUNCTION: fn_03206
|
|
void CSkillAction_AT_QUILL_SPEAR_S::OnSkillEffect(int level, CGameActor* source, CGameActor* target) {
|
|
if (!target || !this->CanUse(source)) {
|
|
return;
|
|
}
|
|
|
|
const int effectId = CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr std::array<char, 16> bytes = CRYPT_NAME("quill_spear_5x7", 0x3FAF85D995034FD7ULL);
|
|
thread_local EncryptedName<sizeof(bytes), 0x3FAF85D995034FD7ULL> name(bytes);
|
|
return name.Text();
|
|
}());
|
|
if (CEffect* effect = g_effectMgr->Spawn(source->render.accountId, effectId, 0.0f, 0.0f, 0.0f, 0, -1, 0, 0)) {
|
|
const float angle = ScreenAngle(
|
|
&source->render.position.x, &target->render.position.x, static_cast<CGameMode*>(g_modeMgr.GetGameMode())->camera->frame.view.values
|
|
);
|
|
effect->SetAngle(angle);
|
|
if (CRagEffect* ragEffect = source->LaunchEffect(2442, vector3d{0.0f, 0.0f, 0.0f}, 0.0f)) {
|
|
ragEffect->SendMsg(nullptr, AM_SETPOS, 0, reinterpret_cast<int>(&target->render.position), 0, 0, 0, 0);
|
|
}
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005A7750
|
|
// FUNCTION: fn_03207
|
|
int CSkillAction_AT_NATURE_HARMONY::GetSkillCastMotion() {
|
|
return 61;
|
|
}
|
|
|
|
// OFFSET: 0x005A7760
|
|
// FUNCTION: fn_03208
|
|
int CSkillAction_AT_NATURE_HARMONY::GetSkillAttackMotion() {
|
|
return 64;
|
|
}
|
|
|
|
// OFFSET: 0x005A7770
|
|
// FUNCTION: fn_03209
|
|
void CSkillAction_AT_NATURE_HARMONY::OnSkillCast(int level, CGameActor* source) {
|
|
if (source) {
|
|
source->LaunchEffect(12, level / 16);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005A77A0
|
|
// FUNCTION: fn_03210
|
|
void CSkillAction_AT_NATURE_HARMONY::OnSkillEffect(int level, CGameActor* source, CGameActor* target) {
|
|
if (source) {
|
|
EffectLists* effects = g_effectMgr;
|
|
effects->Spawn(source->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr auto bytesText = CRYPT_NAME("nature_harmony", 0x490FFB43A12F0DB9ULL);
|
|
const auto& bytes = bytesText.data;
|
|
thread_local EncryptedName<sizeof(bytes), 0x490FFB43A12F0DB9ULL> name(bytes);
|
|
return name.Text();
|
|
}()), 0.0f, 0.0f, 0.0f, 0, -1, 0, 0);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005A79B0
|
|
// FUNCTION: fn_03211
|
|
EfstActionMessage CEfstAction_NATURE_HARMONY::GetEfstBeginMessage() {
|
|
return {LookupMessage(4684), 0xFFFF00};
|
|
}
|
|
|
|
// OFFSET: 0x005A79E0
|
|
// FUNCTION: fn_03212
|
|
EfstActionMessage CEfstAction_NATURE_HARMONY::GetEfstEndMessage() {
|
|
return {LookupMessage(4685), 0xFF};
|
|
}
|
|
|
|
// OFFSET: 0x005A7A10
|
|
// FUNCTION: fn_03213
|
|
int CSkillAction_AT_GRAVITY_HOLE::GetSkillCastMotion() {
|
|
return 61;
|
|
}
|
|
|
|
// OFFSET: 0x005A7A20
|
|
// FUNCTION: fn_03214
|
|
int CSkillAction_AT_GRAVITY_HOLE::GetSkillAttackMotion() {
|
|
return 64;
|
|
}
|
|
|
|
// OFFSET: 0x005A7A30
|
|
// FUNCTION: fn_03215
|
|
void CSkillAction_AT_GRAVITY_HOLE::OnSkillCast(int level, CGameActor* source) {
|
|
if (source) {
|
|
source->LaunchEffect(12, level / 16);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005A7A60
|
|
// FUNCTION: fn_03216
|
|
void CSkillAction_AT_GRAVITY_HOLE::OnSkillDamage(int level, CGameActor* source, CGameActor* target) {
|
|
if (source) {
|
|
if (CRagEffect* effect = source->LaunchEffect(0, vector3d{0.0f, 0.0f, 0.0f}, 0.0f)) {
|
|
effect->SendMsg(nullptr, AM_SETPOS, 0, reinterpret_cast<int>(&source->render.position), 0, 0, 0, 0);
|
|
}
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005A7AD0
|
|
// FUNCTION: fn_03217
|
|
void CSkillAction_AT_GRAVITY_HOLE::OnSkillEffect(int level, CGameActor* source, CGameActor* target) {
|
|
if (source) {
|
|
EffectLists* effects = g_effectMgr;
|
|
effects->Spawn(source->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr std::array<char, 13> bytes = CRYPT_NAME("gravity_hole", 0x91651D81F559F971ULL);
|
|
thread_local EncryptedName<sizeof(bytes), 0x91651D81F559F971ULL> name(bytes);
|
|
return name.Text();
|
|
}()), 0.0f, 0.0f, 0.0f, 0, -1, 0, 0);
|
|
effects = g_effectMgr;
|
|
effects->Spawn(source->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr std::array<char, 20> bytes = CRYPT_NAME("gravity_hole_bottom", 0x73D1674B61DF7B0BULL);
|
|
thread_local EncryptedName<sizeof(bytes), 0x73D1674B61DF7B0BULL> name(bytes);
|
|
return name.Text();
|
|
}()), 0.0f, 0.0f, 0.0f, 0, -1, 0, 0);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005A7E70
|
|
// FUNCTION: fn_03218
|
|
int CSkillAction_AT_CHILLING_BLAST::GetSkillAttackMotion() {
|
|
return 65;
|
|
}
|
|
|
|
// OFFSET: 0x005A7E80
|
|
// FUNCTION: fn_03219
|
|
void CSkillAction_AT_CHILLING_BLAST::OnSkillEffect(int level, CGameActor* source, CGameActor* target) {
|
|
if (source) {
|
|
EffectLists* effects = g_effectMgr;
|
|
effects->Spawn(source->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr auto bytesText = CRYPT_NAME("chilling_blast", 0xD98F03A52D35636DULL);
|
|
const auto& bytes = bytesText.data;
|
|
thread_local EncryptedName<sizeof(bytes), 0xD98F03A52D35636DULL> name(bytes);
|
|
return name.Text();
|
|
}()), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0);
|
|
effects = g_effectMgr;
|
|
effects->Spawn(source->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr auto bytesText = CRYPT_NAME("chilling_blast_bottom", 0x0F0F8B6B8F9D19D1ULL);
|
|
const auto& bytes = bytesText.data;
|
|
thread_local EncryptedName<sizeof(bytes), 0x0F0F8B6B8F9D19D1ULL> name(bytes);
|
|
return name.Text();
|
|
}()), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005A8230
|
|
// FUNCTION: fn_03220
|
|
int CSkillAction_AT_GLACIER_MONOLITH::GetSkillScopeType() {
|
|
return 9;
|
|
}
|
|
|
|
// OFFSET: 0x005A8240
|
|
// FUNCTION: fn_03221
|
|
int CSkillAction_AT_GLACIER_MONOLITH::GetSkillAttackMotion() {
|
|
return 65;
|
|
}
|
|
|
|
// OFFSET: 0x005A8250
|
|
// FUNCTION: fn_03222
|
|
void CSkillObjectAction_AT_GLACIER_MONOLITH::OnSkillObjectCreate(int argument, CRenderObject* object, CGameActor* source) {
|
|
if (!object) {
|
|
return;
|
|
}
|
|
|
|
EffectLists* effects = g_effectMgr;
|
|
effects->Spawn(object->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr std::array<char, 23> bytes = CRYPT_NAME("glacier_monolith_start", 0xD3755DD95F47A909ULL);
|
|
thread_local EncryptedName<sizeof(bytes), 0xD3755DD95F47A909ULL> name(bytes);
|
|
return name.Text();
|
|
}()), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0);
|
|
effects = g_effectMgr;
|
|
effects->Spawn(object->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr std::array<char, 30> bytes = CRYPT_NAME("glacier_monolith_start_bottom", 0x31D7C1EDA345E36DULL);
|
|
thread_local EncryptedName<sizeof(bytes), 0x31D7C1EDA345E36DULL> name(bytes);
|
|
return name.Text();
|
|
}()), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0);
|
|
|
|
effects = g_effectMgr;
|
|
if (CEffect* effect = effects->Spawn(object->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr std::array<char, 22> bytes = CRYPT_NAME("glacier_monolith_loop", 0xC7912587FFF31B71ULL);
|
|
thread_local EncryptedName<sizeof(bytes), 0xC7912587FFF31B71ULL> name(bytes);
|
|
return name.Text();
|
|
}()), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0)) {
|
|
effect->SetDelay(990);
|
|
}
|
|
effects = g_effectMgr;
|
|
if (CEffect* effect = effects->Spawn(object->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr std::array<char, 29> bytes = CRYPT_NAME("glacier_monolith_loop_bottom", 0x69D345DB950F336DULL);
|
|
thread_local EncryptedName<sizeof(bytes), 0x69D345DB950F336DULL> name(bytes);
|
|
return name.Text();
|
|
}()), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0)) {
|
|
effect->SetDelay(990);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005A8960
|
|
// FUNCTION: fn_03223
|
|
void CSkillObjectAction_AT_GLACIER_MONOLITH::OnSkillObjectRemove(CRenderObject* object) {
|
|
if (!object) {
|
|
return;
|
|
}
|
|
|
|
EffectLists* effects = g_effectMgr;
|
|
effects->Retire(object->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
const char bytes[] = {'\x48', '\xF3', '\xD2', '\xB8', '\x86', '\xAC', '\x65', '\xC4', '\x42', '\xF0', '\xDD', '\xB4', '\x83', '\xA0', '\x63', '\xF3',
|
|
'\x70', '\xF3', '\xDC', '\xB4', '\x9F', '\xC9'};
|
|
thread_local EncryptedName<sizeof(bytes), 0x9B17C9EFDBB39F2FULL> name(bytes);
|
|
return name.Text();
|
|
}()));
|
|
effects = g_effectMgr;
|
|
effects->Retire(object->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
const char bytes[] = {'\xBA', '\xB9', '\x28', '\x22', '\x1E', '\x70', '\x49', '\x72', '\xB0', '\xBA', '\x27', '\x2E', '\x1B', '\x7C', '\x4F', '\x45',
|
|
'\x82', '\xB9', '\x26', '\x2E', '\x07', '\x4A', '\x59', '\x42', '\xA9', '\xA1', '\x26', '\x2C', '\x77'};
|
|
thread_local EncryptedName<sizeof(bytes), 0x2D3B15774149D5DDULL> name(bytes);
|
|
return name.Text();
|
|
}()));
|
|
|
|
effects = g_effectMgr;
|
|
effects->Spawn(0, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
const char bytes[] = {'\x86', '\xF7', '\x92', '\x18', '\x84', '\xE2', '\x8D', '\x3E', '\x8C', '\xF4', '\x9D', '\x14', '\x81', '\xEE', '\x8B', '\x09', '\xBE', '\xFE', '\x9D', '\x1F', '\xED'};
|
|
thread_local EncryptedName<sizeof(bytes), 0x61FF87ED7BF39BE1ULL> name(bytes);
|
|
return name.Text();
|
|
}()), object->render.position, 0, -1, 0, 0);
|
|
effects = g_effectMgr;
|
|
effects->Spawn(0, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
const char bytes[] = {'\x98', '\xE9', '\x46', '\x6E', '\x0C', '\x5A', '\xEB', '\x22', '\x92', '\xEA', '\x49', '\x62', '\x09', '\x56', '\xED', '\x15',
|
|
'\xA0', '\xE0', '\x49', '\x69', '\x3A', '\x5D', '\xF6', '\x09', '\x8B', '\xEA', '\x4A', '\x0D'};
|
|
thread_local EncryptedName<sizeof(bytes), 0x7D993F650D2785FFULL> name(bytes);
|
|
return name.Text();
|
|
}()), object->render.position, 0, -1, 0, 0);
|
|
}
|
|
|
|
// OFFSET: 0x005A8FC0
|
|
// FUNCTION: fn_03224
|
|
int CSkillAction_AT_GLACIER_NOVA::GetSkillAttackMotion() {
|
|
return 65;
|
|
}
|
|
|
|
// OFFSET: 0x005A8FD0
|
|
// FUNCTION: fn_03225
|
|
void CSkillAction_AT_GLACIER_NOVA::OnGroundSkillEffect(vector3d position, int argument2, int argument3) {
|
|
EffectLists* effects = g_effectMgr;
|
|
effects->Spawn(0, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr auto bytesText = CRYPT_NAME("glacier_nova", 0x2D394DBD0F332733ULL);
|
|
const auto& bytes = bytesText.data;
|
|
thread_local EncryptedName<sizeof(bytes), 0x2D394DBD0F332733ULL> name(bytes);
|
|
return name.Text();
|
|
}()), position.x, position.y, position.z, 0, -1, 0, 0);
|
|
}
|
|
|
|
// OFFSET: 0x005A91A0
|
|
// FUNCTION: fn_03226
|
|
void CSkillAction_AT_GLACIER_SHARD::OnGroundSkillCast(int level, CGameActor* source, int argument3, int argument4, int argument5) {
|
|
if (source) {
|
|
EffectLists* effects = g_effectMgr;
|
|
if (CEffect* effect = effects->Spawn(source->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr std::array<char, 21> bytes = CRYPT_NAME("glacier_shard_target", 0x151F77EBEBBB2147ULL);
|
|
thread_local EncryptedName<sizeof(bytes), 0x151F77EBEBBB2147ULL> name(bytes);
|
|
return name.Text();
|
|
}()), 0.0f, 0.0f, 0.0f, 0, -1, 0, 0)) {
|
|
effect->SetLifeTime(level);
|
|
}
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005A93B0
|
|
// FUNCTION: fn_03227
|
|
void CSkillAction_AT_GLACIER_SHARD::OnSkillEffect(int level, CGameActor* source, CGameActor* target) {
|
|
if (target) {
|
|
EffectLists* effects = g_effectMgr;
|
|
effects->Spawn(target->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr auto bytesText = CRYPT_NAME("glacier_shard", 0x69FD1D9733D3CFC1ULL);
|
|
const auto& bytes = bytesText.data;
|
|
thread_local EncryptedName<sizeof(bytes), 0x69FD1D9733D3CFC1ULL> name(bytes);
|
|
return name.Text();
|
|
}()), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005A95C0
|
|
// FUNCTION: fn_03228
|
|
int CSkillAction_AT_GLACIER_STOMP::GetSkillAttackMotion() {
|
|
return 65;
|
|
}
|
|
|
|
// OFFSET: 0x005A95D0
|
|
// FUNCTION: fn_03229
|
|
void CSkillAction_AT_GLACIER_STOMP::OnSkillEffect(int level, CGameActor* source, CGameActor* target) {
|
|
if (target) {
|
|
EffectLists* effects = g_effectMgr;
|
|
effects->Spawn(target->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr auto bytesText = CRYPT_NAME("glacier_stomp", 0xF5657D1F3DE5CDC7ULL);
|
|
const auto& bytes = bytesText.data;
|
|
thread_local EncryptedName<sizeof(bytes), 0xF5657D1F3DE5CDC7ULL> name(bytes);
|
|
return name.Text();
|
|
}()), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005A97E0
|
|
// FUNCTION: fn_03230
|
|
int CSkillAction_AT_ROARING_CHARGE::GetSkillAttackMotion() {
|
|
return 65;
|
|
}
|
|
|
|
// OFFSET: 0x005A97F0
|
|
// FUNCTION: fn_03231
|
|
void CSkillAction_AT_ROARING_CHARGE::OnSkillEffect(int level, CGameActor* source, CGameActor* target) {
|
|
if (source) {
|
|
EffectLists* effects = g_effectMgr;
|
|
effects->Spawn(source->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr auto bytesText = CRYPT_NAME("roaring_charge", 0x8B65CD61012B5931ULL);
|
|
const auto& bytes = bytesText.data;
|
|
thread_local EncryptedName<sizeof(bytes), 0x8B65CD61012B5931ULL> name(bytes);
|
|
return name.Text();
|
|
}()), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0);
|
|
effects = g_effectMgr;
|
|
effects->Spawn(source->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr auto bytesText = CRYPT_NAME("roaring_charge_bottom", 0xF7530137154D8FE5ULL);
|
|
const auto& bytes = bytesText.data;
|
|
thread_local EncryptedName<sizeof(bytes), 0xF7530137154D8FE5ULL> name(bytes);
|
|
return name.Text();
|
|
}()), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005A9BA0
|
|
// FUNCTION: fn_03232
|
|
int CSkillAction_AT_ROARING_CHARGE_S::GetSkillAttackMotion() {
|
|
return 65;
|
|
}
|
|
|
|
// OFFSET: 0x005A9BB0
|
|
// FUNCTION: fn_03233
|
|
void CSkillAction_AT_ROARING_CHARGE_S::OnSkillEffect(int level, CGameActor* source, CGameActor* target) {
|
|
if (source) {
|
|
EffectLists* effects = g_effectMgr;
|
|
effects->Spawn(source->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr std::array<char, 17> bytes = CRYPT_NAME("roaring_charge_s", 0x8B3FEB5B8BD5C3C3ULL);
|
|
thread_local EncryptedName<sizeof(bytes), 0x8B3FEB5B8BD5C3C3ULL> name(bytes);
|
|
return name.Text();
|
|
}()), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0);
|
|
effects = g_effectMgr;
|
|
effects->Spawn(source->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr std::array<char, 24> bytes = CRYPT_NAME("roaring_charge_s_bottom", 0x0BEB63A5C905B3A7ULL);
|
|
thread_local EncryptedName<sizeof(bytes), 0x0BEB63A5C905B3A7ULL> name(bytes);
|
|
return name.Text();
|
|
}()), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005A9F50
|
|
// FUNCTION: fn_03234
|
|
void CSkillAction_AT_ROARING_PIERCER::OnSkillEffect(int level, CGameActor* source, CGameActor* target) {
|
|
if (!source) {
|
|
return;
|
|
}
|
|
|
|
if (!target) {
|
|
return;
|
|
}
|
|
|
|
const int effectId = CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
const std::uint8_t bytes[] = {0xBB, 0xD8, 0x44, 0xE5, 0xD2, 0x5D, 0xE4, 0x58, 0xB9, 0xDE, 0x40, 0xE5, 0xD8, 0x56, 0xF1, 0x58,
|
|
0xAE, 0xB7};
|
|
thread_local EncryptedName<sizeof(bytes), 0x078333BB9725B7C9ULL> name(bytes);
|
|
return name.Text();
|
|
}());
|
|
if (CEffect* effect = g_effectMgr->Spawn(source->render.accountId, effectId, 0.0f, 0.0f, 0.0f, 0, -1, 0, 0)) {
|
|
const float angle = ScreenAngle(
|
|
&target->render.position.x, &source->render.position.x, static_cast<CGameMode*>(g_modeMgr.GetGameMode())->camera->frame.view.values
|
|
);
|
|
effect->SetAngle(angle);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005AA180
|
|
// FUNCTION: fn_03235
|
|
void CSkillAction_AT_ROARING_PIERCEER_S::OnSkillEffect(int level, CGameActor* source, CGameActor* target) {
|
|
if (!source) {
|
|
return;
|
|
}
|
|
|
|
if (!target) {
|
|
return;
|
|
}
|
|
|
|
const int effectId = CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
const std::uint8_t bytes[] = {0xC7, 0x1A, 0x00, 0x2D, 0x94, 0x35, 0x7C, 0xD0, 0xC5, 0x1C, 0x04, 0x2D, 0x9E, 0x3E, 0x69, 0xD0,
|
|
0xCC, 0x75};
|
|
thread_local EncryptedName<sizeof(bytes), 0x8F1B5BFD5F6175B5ULL> name(bytes);
|
|
return name.Text();
|
|
}());
|
|
if (CEffect* effect = g_effectMgr->Spawn(source->render.accountId, effectId, 0.0f, 0.0f, 0.0f, 0, -1, 0, 0)) {
|
|
const float angle = ScreenAngle(
|
|
&target->render.position.x, &source->render.position.x, static_cast<CGameMode*>(g_modeMgr.GetGameMode())->camera->frame.view.values
|
|
);
|
|
effect->SetAngle(angle);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005AA3B0
|
|
// FUNCTION: fn_03236
|
|
int CSkillAction_AT_FURIOS_STORM::GetSkillAttackMotion() {
|
|
return 65;
|
|
}
|
|
|
|
// OFFSET: 0x005AA3C0
|
|
// FUNCTION: fn_03237
|
|
void CSkillAction_AT_FURIOS_STORM::OnSkillEffect(int level, CGameActor* source, CGameActor* target) {
|
|
if (!source) {
|
|
return;
|
|
}
|
|
|
|
if (CEffect* effect = g_effectMgr->Spawn(source->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr auto bytesText = CRYPT_NAME("thundering_cast_mute", 0x5B8F49AF09390D1BULL);
|
|
const auto& bytes = bytesText.data;
|
|
thread_local EncryptedName<sizeof(bytes), 0x5B8F49AF09390D1BULL> name(bytes);
|
|
return name.Text();
|
|
}()), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0)) {
|
|
effect->SetLifeTime(1000);
|
|
}
|
|
|
|
const int stormA = CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr auto bytesText = CRYPT_NAME("furios_storm_a", 0x3B915119EFD523EFULL);
|
|
const auto& bytes = bytesText.data;
|
|
thread_local EncryptedName<sizeof(bytes), 0x3B915119EFD523EFULL> name(bytes);
|
|
return name.Text();
|
|
}());
|
|
const int stormABottom = CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr auto bytesText = CRYPT_NAME("furios_storm_a_bottom", 0x474DC581D5E98357ULL);
|
|
const auto& bytes = bytesText.data;
|
|
thread_local EncryptedName<sizeof(bytes), 0x474DC581D5E98357ULL> name(bytes);
|
|
return name.Text();
|
|
}());
|
|
const int stormB = CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr auto bytesText = CRYPT_NAME("furios_storm_b", 0x3F557BE333F95F6DULL);
|
|
const auto& bytes = bytesText.data;
|
|
thread_local EncryptedName<sizeof(bytes), 0x3F557BE333F95F6DULL> name(bytes);
|
|
return name.Text();
|
|
}());
|
|
const int stormBBottom = CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr auto bytesText = CRYPT_NAME("furios_storm_b_bottom", 0x0753A7E1EFA9E139ULL);
|
|
const auto& bytes = bytesText.data;
|
|
thread_local EncryptedName<sizeof(bytes), 0x0753A7E1EFA9E139ULL> name(bytes);
|
|
return name.Text();
|
|
}());
|
|
|
|
for (int delay = 0; delay < 1000; delay += 250) {
|
|
const int variant = std::max(std::rand() % 2, 0);
|
|
if (CEffect* effect = g_effectMgr->Spawn(source->render.accountId, variant ? stormA : stormB, vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0)) {
|
|
effect->SetDelay(delay);
|
|
}
|
|
if (CEffect* effect = g_effectMgr->Spawn(source->render.accountId, variant ? stormABottom : stormBBottom, vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0)) {
|
|
effect->SetDelay(delay);
|
|
}
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005AABF0
|
|
// FUNCTION: fn_03238
|
|
void CSkillAction_AT_FURIOS_STORM::PlayThunderEffect(CGameActor* source) {
|
|
}
|
|
|
|
// OFFSET: 0x005AAC00
|
|
// FUNCTION: fn_03239
|
|
void CEfstAction_FURIOS_STORM::OnEfstEnd(int efstId, int argument2, int argument3, int argument4, CRenderObject* actor) {
|
|
if (actor) {
|
|
g_effectMgr->Retire(actor->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr std::array<std::uint8_t, 16> bytes = CRYPT_NAME("thundering_cast", 0x7FC1015DFFCF6D19ULL);
|
|
thread_local EncryptedName<sizeof(bytes), 0x7FC1015DFFCF6D19ULL> name(bytes);
|
|
return name.Text();
|
|
}()));
|
|
for (int index = 0; index < 4; ++index) {
|
|
g_effectMgr->Retire(actor->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr std::array<std::uint8_t, 15> bytes = CRYPT_NAME("furios_storm_a", 0xCB3FBD4183DB8323ULL);
|
|
thread_local EncryptedName<sizeof(bytes), 0xCB3FBD4183DB8323ULL> name(bytes);
|
|
return name.Text();
|
|
}()));
|
|
g_effectMgr->Retire(actor->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr std::array<std::uint8_t, 22> bytes = CRYPT_NAME("furios_storm_a_bottom", 0x7FCD77F9C7CBD14DULL);
|
|
thread_local EncryptedName<sizeof(bytes), 0x7FCD77F9C7CBD14DULL> name(bytes);
|
|
return name.Text();
|
|
}()));
|
|
g_effectMgr->Retire(actor->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr std::array<std::uint8_t, 15> bytes = CRYPT_NAME("furios_storm_b", 0xD1538513DF975701ULL);
|
|
thread_local EncryptedName<sizeof(bytes), 0xD1538513DF975701ULL> name(bytes);
|
|
return name.Text();
|
|
}()));
|
|
g_effectMgr->Retire(actor->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr std::array<std::uint8_t, 22> bytes = CRYPT_NAME("furios_storm_b_bottom", 0x91E147EBBD47C39FULL);
|
|
thread_local EncryptedName<sizeof(bytes), 0x91E147EBBD47C39FULL> name(bytes);
|
|
return name.Text();
|
|
}()));
|
|
}
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005AB5F0
|
|
// FUNCTION: fn_03240
|
|
int CSkillAction_AT_ALPHA_PHASE::GetSkillCastMotion() {
|
|
return 66;
|
|
}
|
|
|
|
// OFFSET: 0x005AB600
|
|
// FUNCTION: fn_03241
|
|
int CSkillAction_AT_ALPHA_PHASE::GetSkillAttackMotion() {
|
|
return 68;
|
|
}
|
|
|
|
// OFFSET: 0x005AB610
|
|
// FUNCTION: fn_03242
|
|
void CSkillAction_AT_ALPHA_PHASE::OnSkillCast(int level, CGameActor* source) {
|
|
if (source) {
|
|
source->LaunchEffect(54, level / 16);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005AB640
|
|
// FUNCTION: fn_03243
|
|
void CSkillAction_AT_ALPHA_PHASE::OnSkillEffect(int level, CGameActor* source, CGameActor* target) {
|
|
if (source) {
|
|
EffectLists* effects = g_effectMgr;
|
|
effects->Spawn(source->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr auto bytesText = CRYPT_NAME("alpha_phase", 0x4F1791FB1503C713ULL);
|
|
const auto& bytes = bytesText.data;
|
|
thread_local EncryptedName<sizeof(bytes), 0x4F1791FB1503C713ULL> name(bytes);
|
|
return name.Text();
|
|
}()), 0.0f, 0.0f, 0.0f, 0, -1, 0, 0);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005AB840
|
|
// FUNCTION: fn_03244
|
|
EfstActionMessage CEfstAction_ALPHA_PHASE::GetEfstBeginMessage() {
|
|
return {LookupMessage(4670), 0xFFFF00};
|
|
}
|
|
|
|
// OFFSET: 0x005AB870
|
|
// FUNCTION: fn_03245
|
|
EfstActionMessage CEfstAction_ALPHA_PHASE::GetEfstEndMessage() {
|
|
return {LookupMessage(4671), 0xFF};
|
|
}
|
|
|
|
// OFFSET: 0x005AB8A0
|
|
// FUNCTION: fn_03246
|
|
int CSkillAction_AT_APEX_PHASE::GetSkillAttackMotion() {
|
|
return 80;
|
|
}
|
|
|
|
// OFFSET: 0x005AB8B0
|
|
// FUNCTION: fn_03247
|
|
void CSkillAction_AT_APEX_PHASE::OnSkillEffect(int level, CGameActor* source, CGameActor* target) {
|
|
if (source) {
|
|
EffectLists* effects = g_effectMgr;
|
|
effects->Spawn(source->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr auto bytesText = CRYPT_NAME("apex_phase", 0xA1A55B4D1597EDD3ULL);
|
|
const auto& bytes = bytesText.data;
|
|
thread_local EncryptedName<sizeof(bytes), 0xA1A55B4D1597EDD3ULL> name(bytes);
|
|
return name.Text();
|
|
}()), 0.0f, 0.0f, 0.0f, 0, -1, 0, 0);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005ABAB0
|
|
// FUNCTION: fn_03248
|
|
EfstActionMessage CEfstAction_AT_APEX_PHASE::GetEfstBeginMessage() {
|
|
return {LookupMessage(4682), 0xFFFF00};
|
|
}
|
|
|
|
// OFFSET: 0x005ABAE0
|
|
// FUNCTION: fn_03249
|
|
EfstActionMessage CEfstAction_AT_APEX_PHASE::GetEfstEndMessage() {
|
|
return {LookupMessage(4683), 0xFF};
|
|
}
|
|
|
|
// OFFSET: 0x005ABB10
|
|
// FUNCTION: fn_03250
|
|
int CSkillAction_AT_FLIP_FLAP::GetSkillAttackMotion() {
|
|
return 80;
|
|
}
|
|
|
|
// OFFSET: 0x005ABB20
|
|
// FUNCTION: fn_03251
|
|
void CSkillAction_AT_FLIP_FLAP::OnSkillEffect(int level, CGameActor* source, CGameActor* target) {
|
|
if (source) {
|
|
EffectLists* effects = g_effectMgr;
|
|
effects->Spawn(source->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr auto bytesText = CRYPT_NAME("flip_flap", 0x1BF915E1F37DFDFDULL);
|
|
const auto& bytes = bytesText.data;
|
|
thread_local EncryptedName<sizeof(bytes), 0x1BF915E1F37DFDFDULL> name(bytes);
|
|
return name.Text();
|
|
}()), 0.0f, 0.0f, 0.0f, 0, -1, 0, 0);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005ABD20
|
|
// FUNCTION: fn_03252
|
|
EfstActionMessage CEfstAction_FLIP_FLAP::GetEfstBeginMessage() {
|
|
return {LookupMessage(4678), 0xFFFF00};
|
|
}
|
|
|
|
// OFFSET: 0x005ABD50
|
|
// FUNCTION: fn_03253
|
|
EfstActionMessage CEfstAction_FLIP_FLAP::GetEfstEndMessage() {
|
|
return {LookupMessage(4679), 0xFF};
|
|
}
|
|
|
|
// OFFSET: 0x005ABD80
|
|
// FUNCTION: fn_03254
|
|
bool CSkillAction_AT_AERO_SYNC::IsSupport() {
|
|
return true;
|
|
}
|
|
|
|
// OFFSET: 0x005ABD90
|
|
// FUNCTION: fn_03255
|
|
int CSkillAction_AT_AERO_SYNC::GetSkillAttackMotion() {
|
|
return 70;
|
|
}
|
|
|
|
// OFFSET: 0x005ABDA0
|
|
// FUNCTION: fn_03256
|
|
void CSkillAction_AT_AERO_SYNC::OnSkillEffect(int level, CGameActor* source, CGameActor* target) {
|
|
if (source) {
|
|
EffectLists* effects = g_effectMgr;
|
|
effects->Spawn(source->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
const char bytes[] = {'\xBE', '\xBC', '\x2F', '\x06', '\x4C', '\xE0', '\x86', '\x6F', '\xBC', '\x86', '\x2E', '\x10', '\x7D', '\xF0', '\xFF'};
|
|
thread_local EncryptedName<sizeof(bytes), 0x01FF9313695DD9DFULL> name(bytes);
|
|
return name.Text();
|
|
}()), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0);
|
|
effects = g_effectMgr;
|
|
effects->Spawn(0, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
const char bytes[] = {'\xFA', '\xC8', '\x07', '\xA0', '\x8E', '\x4E', '\x94', '\x03', '\xF8', '\xF2', '\x18', '\xAE', '\xB8', '\x53', '\xED'};
|
|
thread_local EncryptedName<sizeof(bytes), 0x6DED3DD1CF75AD9BULL> name(bytes);
|
|
return name.Text();
|
|
}()), source->render.position, 0, -1, 0, 0);
|
|
effects = g_effectMgr;
|
|
effects->Spawn(0, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
const char bytes[] = {'\xA0', '\xB6', '\xA9', '\x18', '\xC4', '\x06', '\xBA', '\x27', '\xA2', '\x8C', '\xB6', '\x16', '\xF2', '\x1B', '\x9C', '\x2B',
|
|
'\xAE', '\xA7', '\xAF', '\x18', '\xF6', '\x75'};
|
|
thread_local EncryptedName<sizeof(bytes), 0x49C3759B77DBD3C1ULL> name(bytes);
|
|
return name.Text();
|
|
}()), source->render.position, 0, -1, 0, 0);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005AC300
|
|
// FUNCTION: fn_03257
|
|
EfstActionMessage CEfstAction_FLIP_FLAP_TARGET::GetEfstBeginMessage() {
|
|
return {LookupMessage(4680), 0xFFFF00};
|
|
}
|
|
|
|
// OFFSET: 0x005AC330
|
|
// FUNCTION: fn_03258
|
|
EfstActionMessage CEfstAction_FLIP_FLAP_TARGET::GetEfstEndMessage() {
|
|
return {LookupMessage(4681), 0xFF};
|
|
}
|
|
|
|
// OFFSET: 0x005AC360
|
|
// FUNCTION: fn_03259
|
|
void CEfstAction_FLIP_FLAP_TARGET::OnEfstBegin(int efstId, int value, int argument3, int argument4, CRenderObject* actor, bool argument6) {
|
|
if (actor) {
|
|
EffectLists* effects = g_effectMgr;
|
|
effects->Spawn(actor->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr auto bytesText = CRYPT_NAME("aero_sync_sync", 0x3F5315DFE32B4FAFULL);
|
|
const auto& bytes = bytesText.data;
|
|
thread_local EncryptedName<sizeof(bytes), 0x3F5315DFE32B4FAFULL> name(bytes);
|
|
return name.Text();
|
|
}()), 0.0f, 0.0f, 0.0f, 0, -1, 0, 0);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005AC570
|
|
// FUNCTION: fn_03260
|
|
int CSkillAction_AT_SAVAGE_LUNGE::GetSkillAttackMotion() {
|
|
return 73;
|
|
}
|
|
|
|
// OFFSET: 0x005AC970
|
|
// FUNCTION: fn_03262
|
|
int CSkillAction_AT_TEMPEST_FLAP::GetSkillCastMotion() {
|
|
return 66;
|
|
}
|
|
|
|
// OFFSET: 0x005AC980
|
|
// FUNCTION: fn_03263
|
|
int CSkillAction_AT_TEMPEST_FLAP::GetSkillAttackMotion() {
|
|
return 67;
|
|
}
|
|
|
|
// OFFSET: 0x005ACBA0
|
|
// FUNCTION: fn_03265
|
|
void CSkillAction_AT_TEMPEST_FLAP::OnSkillEffect(int level, CGameActor* source, CGameActor* target) {
|
|
if (target) {
|
|
EffectLists* effects = g_effectMgr;
|
|
effects->Spawn(target->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr std::array<char, 13> bytes = CRYPT_NAME("tempest_flap", 0x17FFC98B398FAF61ULL);
|
|
thread_local EncryptedName<sizeof(bytes), 0x17FFC98B398FAF61ULL> name(bytes);
|
|
return name.Text();
|
|
}()), 0.0f, 0.0f, 0.0f, 0, -1, 0, 0);
|
|
effects = g_effectMgr;
|
|
effects->Spawn(target->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr std::array<char, 20> bytes = CRYPT_NAME("tempest_flap_bottom", 0x9B5B959B954D9333ULL);
|
|
thread_local EncryptedName<sizeof(bytes), 0x9B5B959B954D9333ULL> name(bytes);
|
|
return name.Text();
|
|
}()), 0.0f, 0.0f, 0.0f, 0, -1, 0, 0);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005ACF40
|
|
// FUNCTION: fn_03266
|
|
int CSkillAction_AT_TERRA_HARVEST::GetSkillAttackMotion() {
|
|
return 62;
|
|
}
|
|
|
|
// OFFSET: 0x005ACF50
|
|
// FUNCTION: fn_03267
|
|
void CSkillAction_AT_TERRA_HARVEST::OnSkillEffect(int level, CGameActor* source, CGameActor* target) {
|
|
if (!target) {
|
|
return;
|
|
}
|
|
|
|
const int variant = std::max(std::rand() % 2, 0);
|
|
const int effectId = CEZ2STREffectMgr::GetInstance()->EffectId(variant ? std::string([] {
|
|
constexpr auto bytesText = CRYPT_NAME("terra_harvest_red", 0xAFA5617F178B6185ULL);
|
|
const auto& bytes = bytesText.data;
|
|
thread_local EncryptedName<sizeof(bytes), 0xAFA5617F178B6185ULL> name(bytes);
|
|
return name.Text();
|
|
}()) : std::string([] {
|
|
constexpr auto bytesText = CRYPT_NAME("terra_harvest_yellow", 0x078143534999254DULL);
|
|
const auto& bytes = bytesText.data;
|
|
thread_local EncryptedName<sizeof(bytes), 0x078143534999254DULL> name(bytes);
|
|
return name.Text();
|
|
}()));
|
|
const int bottomId = CEZ2STREffectMgr::GetInstance()->EffectId(variant ? std::string([] {
|
|
constexpr auto bytesText = CRYPT_NAME("terra_harvest_red_bottom", 0x8741152D8FB34B4FULL);
|
|
const auto& bytes = bytesText.data;
|
|
thread_local EncryptedName<sizeof(bytes), 0x8741152D8FB34B4FULL> name(bytes);
|
|
return name.Text();
|
|
}()) : std::string([] {
|
|
constexpr auto bytesText = CRYPT_NAME("terra_harvest_yellow_bottom", 0x955D4DF94DE9BB07ULL);
|
|
const auto& bytes = bytesText.data;
|
|
thread_local EncryptedName<sizeof(bytes), 0x955D4DF94DE9BB07ULL> name(bytes);
|
|
return name.Text();
|
|
}()));
|
|
g_effectMgr->Spawn(target->render.accountId, effectId, vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0);
|
|
g_effectMgr->Spawn(target->render.accountId, bottomId, vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0);
|
|
}
|
|
|
|
// OFFSET: 0x005AD630
|
|
// FUNCTION: fn_03268
|
|
void CSkillAction_AT_TERRA_WAVE::OnGroundSkillEffect(vector3d position, int argument2, int argument3) {
|
|
EffectLists* effects = g_effectMgr;
|
|
effects->Spawn(0, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr std::array<char, 11> bytes = CRYPT_NAME("terra_wave", 0xC399B7091589B50BULL);
|
|
thread_local EncryptedName<sizeof(bytes), 0xC399B7091589B50BULL> name(bytes);
|
|
return name.Text();
|
|
}()), position.x, position.y, position.z, 0, -1, 0, 0);
|
|
effects = g_effectMgr;
|
|
effects->Spawn(0, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr std::array<char, 18> bytes = CRYPT_NAME("terra_wave_bottom", 0xB739073FE921AD6FULL);
|
|
thread_local EncryptedName<sizeof(bytes), 0xB739073FE921AD6FULL> name(bytes);
|
|
return name.Text();
|
|
}()), position.x, position.y, position.z, 0, -1, 0, 0);
|
|
}
|
|
|
|
// OFFSET: 0x005AD970
|
|
// FUNCTION: fn_03269
|
|
int CSkillAction_AT_SOLID_STOMP::GetSkillAttackMotion() {
|
|
return 63;
|
|
}
|
|
|
|
// OFFSET: 0x005AD980
|
|
// FUNCTION: fn_03270
|
|
void CSkillAction_AT_SOLID_STOMP::OnSkillEffect(int level, CGameActor* source, CGameActor* target) {
|
|
if (target) {
|
|
g_effectMgr->Spawn(target->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr std::array<char, 12> bytes = CRYPT_NAME("solid_stomp", 0xFF7D83CB791339D9ULL);
|
|
thread_local EncryptedName<sizeof(bytes), 0xFF7D83CB791339D9ULL> name(bytes);
|
|
return name.Text();
|
|
}()), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0);
|
|
g_effectMgr->Spawn(target->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr std::array<char, 19> bytes = CRYPT_NAME("solid_stomp_bottom", 0xED5143E7C1B39315ULL);
|
|
thread_local EncryptedName<sizeof(bytes), 0xED5143E7C1B39315ULL> name(bytes);
|
|
return name.Text();
|
|
}()), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005ADD10
|
|
// FUNCTION: fn_03271
|
|
EfstActionMessage CEfstAction_SOLID_STOMP::GetEfstBeginMessage() {
|
|
return {LookupMessage(4686), 0xFFFF00};
|
|
}
|
|
|
|
// OFFSET: 0x005ADD40
|
|
// FUNCTION: fn_03272
|
|
EfstActionMessage CEfstAction_SOLID_STOMP::GetEfstEndMessage() {
|
|
return {LookupMessage(4687), 0xFF};
|
|
}
|
|
|
|
// OFFSET: 0x005ADD70
|
|
// FUNCTION: fn_03273
|
|
int CSkillAction_AT_ZEPHYR_LINK::GetSkillAttackMotion() {
|
|
return 0;
|
|
}
|
|
|
|
// OFFSET: 0x005ADD80
|
|
// FUNCTION: fn_03274
|
|
void CEfstAction_ZEPHYR_LINK::OnEfstBegin(int efstId, int value, int argument3, int argument4, CRenderObject* actor, bool argument6) {
|
|
if (actor) {
|
|
this->OnEfstEnd(efstId, value, argument3, argument4, actor);
|
|
EffectLists* effects = g_effectMgr;
|
|
effects->Spawn(actor->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr std::array<char, 12> bytes = CRYPT_NAME("zephyr_link", 0x393D916561BDC391ULL);
|
|
thread_local EncryptedName<sizeof(bytes), 0x393D916561BDC391ULL> name(bytes);
|
|
return name.Text();
|
|
}()), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0);
|
|
effects = g_effectMgr;
|
|
effects->Spawn(actor->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr std::array<char, 19> bytes = CRYPT_NAME("zephyr_link_bottom", 0x31956551B311FD95ULL);
|
|
thread_local EncryptedName<sizeof(bytes), 0x31956551B311FD95ULL> name(bytes);
|
|
return name.Text();
|
|
}()), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005AE130
|
|
// FUNCTION: fn_03275
|
|
void CEfstAction_ZEPHYR_LINK::OnEfstEnd(int efstId, int argument2, int argument3, int argument4, CRenderObject* actor) {
|
|
if (actor) {
|
|
EffectLists* effects = g_effectMgr;
|
|
effects->Retire(actor->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr std::array<char, 12> bytes = CRYPT_NAME("zephyr_link", 0x2F2701A7E56D3D89ULL);
|
|
thread_local EncryptedName<sizeof(bytes), 0x2F2701A7E56D3D89ULL> name(bytes);
|
|
return name.Text();
|
|
}()));
|
|
effects = g_effectMgr;
|
|
effects->Retire(actor->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr std::array<char, 19> bytes = CRYPT_NAME("zephyr_link_bottom", 0x6B3301E1A3079125ULL);
|
|
thread_local EncryptedName<sizeof(bytes), 0x6B3301E1A3079125ULL> name(bytes);
|
|
return name.Text();
|
|
}()));
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005AE460
|
|
// FUNCTION: fn_03276
|
|
void CEfstAction_ZEPHYR_LINK::OnEfstUpdate(int efstId, int value, int argument3, int argument4, CRenderObject* actor) {
|
|
if (actor) {
|
|
this->OnEfstBegin(efstId, value, 0, 0, actor, false);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005AE480
|
|
// FUNCTION: fn_03277
|
|
void CEfstAction_INSANE::OnEfstBegin(int efstId, int value, int argument3, int argument4, CRenderObject* actor, bool argument6) {
|
|
if (actor) {
|
|
this->OnEfstEnd(efstId, value, argument3, argument4, actor);
|
|
EffectLists* effects = g_effectMgr;
|
|
effects->Spawn(actor->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr auto bytesText = CRYPT_NAME("efst_insane_01", 0x71B7691737C5A1AFULL);
|
|
const auto& bytes = bytesText.data;
|
|
thread_local EncryptedName<sizeof(bytes), 0x71B7691737C5A1AFULL> name(bytes);
|
|
return name.Text();
|
|
}()), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0);
|
|
effects = g_effectMgr;
|
|
effects->Spawn(actor->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr auto bytesText = CRYPT_NAME("efst_insane_bottom_01", 0xC39FB559A17D3963ULL);
|
|
const auto& bytes = bytesText.data;
|
|
thread_local EncryptedName<sizeof(bytes), 0xC39FB559A17D3963ULL> name(bytes);
|
|
return name.Text();
|
|
}()), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0);
|
|
static_cast<CPc*>(actor)->outlineColor = static_cast<int>(0xFFFFF200);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005AE840
|
|
// FUNCTION: fn_03278
|
|
void CEfstAction_INSANE::OnEfstEnd(int efstId, int argument2, int argument3, int argument4, CRenderObject* actor) {
|
|
if (actor) {
|
|
static_cast<CPc*>(actor)->outlineColor = 0;
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005AE860
|
|
// FUNCTION: fn_03279
|
|
void CEfstAction_INSANE::OnEfstUpdate(int efstId, int value, int argument3, int argument4, CRenderObject* actor) {
|
|
if (actor) {
|
|
this->OnEfstBegin(efstId, value, 0, 0, actor, false);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005AE880
|
|
// FUNCTION: fn_03280
|
|
void CEfstAction_INSANE2::OnEfstBegin(int efstId, int value, int argument3, int argument4, CRenderObject* actor, bool argument6) {
|
|
if (actor) {
|
|
this->OnEfstEnd(efstId, value, argument3, argument4, actor);
|
|
EffectLists* effects = g_effectMgr;
|
|
effects->Spawn(actor->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr auto bytesText = CRYPT_NAME("efst_insane_02", 0x45E3F103CBB5F157ULL);
|
|
const auto& bytes = bytesText.data;
|
|
thread_local EncryptedName<sizeof(bytes), 0x45E3F103CBB5F157ULL> name(bytes);
|
|
return name.Text();
|
|
}()), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0);
|
|
effects = g_effectMgr;
|
|
effects->Spawn(actor->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr auto bytesText = CRYPT_NAME("efst_insane_bottom_02", 0x07112F85A39F4FABULL);
|
|
const auto& bytes = bytesText.data;
|
|
thread_local EncryptedName<sizeof(bytes), 0x07112F85A39F4FABULL> name(bytes);
|
|
return name.Text();
|
|
}()), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0);
|
|
static_cast<CPc*>(actor)->outlineColor = static_cast<int>(0xFFFF7F27);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005AEC40
|
|
// FUNCTION: fn_03281
|
|
void CEfstAction_INSANE3::OnEfstBegin(int efstId, int value, int argument3, int argument4, CRenderObject* actor, bool argument6) {
|
|
if (actor) {
|
|
this->OnEfstEnd(efstId, value, argument3, argument4, actor);
|
|
EffectLists* effects = g_effectMgr;
|
|
effects->Spawn(actor->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr auto bytesText = CRYPT_NAME("efst_insane_03", 0x2D33791F67AD47DFULL);
|
|
const auto& bytes = bytesText.data;
|
|
thread_local EncryptedName<sizeof(bytes), 0x2D33791F67AD47DFULL> name(bytes);
|
|
return name.Text();
|
|
}()), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0);
|
|
effects = g_effectMgr;
|
|
effects->Spawn(actor->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr auto bytesText = CRYPT_NAME("efst_insane_bottom_03", 0x936F3D2FFDFD87F5ULL);
|
|
const auto& bytes = bytesText.data;
|
|
thread_local EncryptedName<sizeof(bytes), 0x936F3D2FFDFD87F5ULL> name(bytes);
|
|
return name.Text();
|
|
}()), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0);
|
|
static_cast<CPc*>(actor)->outlineColor = static_cast<int>(0xFFED1C24);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005AF030
|
|
// FUNCTION: fn_03285
|
|
bool __stdcall KeepSkillAttackMotion(int) {
|
|
return false;
|
|
}
|
|
|
|
// OFFSET: 0x005A5E50
|
|
// FUNCTION: fn_03170
|
|
bool CSkillAction_AnimalForm::CanUse(CGameActor* actor) {
|
|
return actor && actor->HasShapeShift() && this->IsInForm(actor);
|
|
}
|
|
|
|
// OFFSET: 0x005AC580
|
|
// FUNCTION: fn_03261
|
|
void CSkillAction_AT_SAVAGE_LUNGE::OnSkillEffect(int level, CGameActor* source, CGameActor* target) {
|
|
if (!target || !this->CanUse(source)) {
|
|
return;
|
|
}
|
|
|
|
if (CRagEffect* effect = source->LaunchEffect(2439, vector3d{0.0f, 0.0f, 0.0f}, 0.0f)) {
|
|
effect->SendMsg(nullptr, AM_SETPOS, 0, reinterpret_cast<int>(&target->render.position), 0, 0, 0, 0);
|
|
}
|
|
EffectLists* effects = g_effectMgr;
|
|
effects->Spawn(0, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
const char bytes[] = {'\x9A', '\xB2', '\x4B', '\x66', '\x52', '\x4C', '\x54', '\x89', '\x9C', '\xBD', '\x5A', '\x62', '\x35'};
|
|
thread_local EncryptedName<sizeof(bytes), 0xE50B2935073DD3E9ULL> name(bytes);
|
|
return name.Text();
|
|
}()), target->render.position, 0, -1, 0, 0);
|
|
effects = g_effectMgr;
|
|
effects->Spawn(0, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
const char bytes[] = {'\x82', '\xA2', '\x9F', '\xDC', '\xCA', '\x68', '\x2A', '\x11', '\x84', '\xAD', '\x8E', '\xD8', '\xF2', '\x6F', '\x1A', '\x09',
|
|
'\x85', '\xAC', '\x84', '\xBD'};
|
|
thread_local EncryptedName<sizeof(bytes), 0x7D750DADBDE9C3F1ULL> name(bytes);
|
|
return name.Text();
|
|
}()), target->render.position, 0, -1, 0, 0);
|
|
}
|
|
|
|
// OFFSET: 0x005AC990
|
|
// FUNCTION: fn_03264
|
|
void CSkillAction_AT_TEMPEST_FLAP::OnSkillCast(int level, CGameActor* source) {
|
|
if (this->CanUse(source)) {
|
|
if (CEffect* effect = g_effectMgr->Spawn(source->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr std::array<char, 18> bytes = CRYPT_NAME("tempest_flap_cast", 0x33832D4D3FDFBDBFULL);
|
|
thread_local EncryptedName<sizeof(bytes), 0x33832D4D3FDFBDBFULL> name(bytes);
|
|
return name.Text();
|
|
}()), 0.0f, 0.0f, 0.0f, 0, -1, 0, 0)) {
|
|
effect->SetLifeTime(level);
|
|
}
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005AF000
|
|
// FUNCTION: fn_03282
|
|
bool SkillActionIsSupport() {
|
|
return false;
|
|
}
|
|
|
|
// OFFSET: 0x005AF010
|
|
// FUNCTION: fn_03283
|
|
int GetSkillCastMotion() {
|
|
return 8;
|
|
}
|
|
|
|
// OFFSET: 0x005AF020
|
|
// FUNCTION: fn_03284
|
|
int GetSkillAttackMotion() {
|
|
return 7;
|
|
}
|
|
|
|
// OFFSET: 0x005AF040
|
|
// FUNCTION: fn_03286
|
|
bool IsSkillWithoutMotion() {
|
|
return false;
|
|
}
|
|
|
|
// OFFSET: 0x005AF050
|
|
// FUNCTION: fn_03287
|
|
bool KeepSkillAttackSpeed() {
|
|
return false;
|
|
}
|
|
|
|
// OFFSET: 0x005AF060
|
|
// FUNCTION: fn_03288
|
|
bool SuppressSupportSkillArrow() {
|
|
return false;
|
|
}
|
|
|
|
// OFFSET: 0x005AF070
|
|
// FUNCTION: fn_03289
|
|
bool SuppressAttackSkillArrow() {
|
|
return false;
|
|
}
|
|
|
|
// OFFSET: 0x005AF080
|
|
// FUNCTION: fn_03290
|
|
void __stdcall OnSkillCast(int a, int b) {
|
|
}
|
|
|
|
// OFFSET: 0x005AF090
|
|
// FUNCTION: fn_03291
|
|
void __stdcall OnTargetSkillCast(int a, int b, int c) {
|
|
}
|
|
|
|
// OFFSET: 0x005AF0A0
|
|
// FUNCTION: fn_03292
|
|
void __stdcall OnGroundSkillCast(int a, int b, int c, int d, int e) {
|
|
}
|
|
|
|
// OFFSET: 0x005AF0B0
|
|
// FUNCTION: fn_03293
|
|
void __stdcall OnSkillEffect(int a, int b, int c) {
|
|
}
|
|
|
|
// OFFSET: 0x005AF0C0
|
|
// FUNCTION: fn_03294
|
|
void __stdcall OnGroundSkillEffect(vector3d a, int b, int c) {
|
|
}
|
|
|
|
// OFFSET: 0x005AF0D0
|
|
// FUNCTION: fn_03295
|
|
bool UseGroundSkillLastFrame() {
|
|
return false;
|
|
}
|
|
|
|
// OFFSET: 0x005AF0E0
|
|
// FUNCTION: fn_03296
|
|
int GetSkillScopeType() {
|
|
return 0;
|
|
}
|
|
|
|
// OFFSET: 0x005AF0F0
|
|
// FUNCTION: fn_03297
|
|
void __stdcall OnSkillHit(int a, int b, int c) {
|
|
}
|
|
|
|
// OFFSET: 0x005AF100
|
|
// FUNCTION: fn_03298
|
|
void __stdcall OnSkillDamage(int a, int b, int c) {
|
|
}
|
|
|
|
// OFFSET: 0x005AF110
|
|
// FUNCTION: fn_03299
|
|
void __stdcall OnEfstBegin(int a, int b, int c, int d, int e, int f) {
|
|
}
|
|
|
|
// OFFSET: 0x005AF120
|
|
// FUNCTION: fn_03300
|
|
void __stdcall OnEfstEnd(int a, int b, int c, int d, int e) {
|
|
}
|
|
|
|
// OFFSET: 0x005AF130
|
|
// FUNCTION: fn_03301
|
|
void __stdcall OnEfstUpdate(int a, int b, int c, int d, int e) {
|
|
}
|
|
|
|
// OFFSET: 0x005AF140
|
|
// FUNCTION: fn_03302
|
|
void __stdcall GetEfstBeginMessage(std::uint32_t* out) {
|
|
out[0] = 0;
|
|
out[1] = 0xFFFF00;
|
|
}
|
|
|
|
// OFFSET: 0x005AF160
|
|
// FUNCTION: fn_03303
|
|
void __stdcall GetEfstEndMessage(std::uint32_t* out) {
|
|
out[0] = 0;
|
|
out[1] = 0xFF;
|
|
}
|
|
|
|
// OFFSET: 0x005AF180
|
|
// FUNCTION: fn_03304
|
|
void __stdcall OnSkillObjectCreate(int a, int b, int c) {
|
|
}
|
|
|
|
// OFFSET: 0x005AF190
|
|
// FUNCTION: fn_03305
|
|
void __stdcall OnSkillObjectRemove(int a) {
|
|
}
|
|
|
|
// OFFSET: 0x005AF4E0
|
|
// FUNCTION: fn_03326
|
|
int CSkillAction_AT_PRIMAL_CLAW::GetSkillAttackMotion() {
|
|
return 72;
|
|
}
|
|
|
|
// OFFSET: 0x005AF4F0
|
|
// FUNCTION: fn_03327
|
|
void CSkillAction_AT_PRIMAL_CLAW::OnSkillEffect(int level, CGameActor* source, CGameActor* target) {
|
|
if (!this->CanUse(source) || !target) {
|
|
return;
|
|
}
|
|
|
|
g_effectMgr->Spawn(target->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr auto bytesText = CRYPT_NAME("primal_claw", 0x812BE72BCD5707B7ULL);
|
|
const auto& bytes = bytesText.data;
|
|
thread_local EncryptedName<sizeof(bytes), 0x812BE72BCD5707B7ULL> name(bytes);
|
|
return name.Text();
|
|
}()), 0.0f, 0.0f, 0.0f, 0, -1, 0, 0);
|
|
}
|
|
|
|
// OFFSET: 0x005AF700
|
|
// FUNCTION: fn_03328
|
|
int CSkillAction_AT_FERAL_CLAW::GetSkillAttackMotion() {
|
|
return 71;
|
|
}
|
|
|
|
// OFFSET: 0x005AF710
|
|
// FUNCTION: fn_03329
|
|
void CSkillAction_AT_FERAL_CLAW::OnSkillEffect(int level, CGameActor* source, CGameActor* target) {
|
|
if (!this->CanUse(source) || !target) {
|
|
return;
|
|
}
|
|
|
|
g_effectMgr->Spawn(target->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr auto bytesText = CRYPT_NAME("feral_claw", 0x3375B1C7DBB5FD55ULL);
|
|
const auto& bytes = bytesText.data;
|
|
thread_local EncryptedName<sizeof(bytes), 0x3375B1C7DBB5FD55ULL> name(bytes);
|
|
return name.Text();
|
|
}()), 0.0f, 0.0f, 0.0f, 0, -1, 0, 0);
|
|
}
|
|
|
|
// GLOBAL: gl_25058
|
|
const float g_featherOffsets[3] = {0.0f, 0.1f, -0.1f};
|
|
|
|
// OFFSET: 0x005A4760
|
|
// FUNCTION: fn_03152
|
|
void CSkillAction_DamageWereRaptorForm::SpawnAttack00Effect(int sourceActor, CGameActor* target) {
|
|
CGameActor* source = reinterpret_cast<CGameActor*>(sourceActor);
|
|
if (source && target) {
|
|
constexpr auto bytesText = CRYPT_NAME("attack_00", 0x2FF3C5036D070127ULL);
|
|
const auto& bytes = bytesText.data;
|
|
thread_local EncryptedName<sizeof(bytes), 0x2FF3C5036D070127ULL> name(bytes);
|
|
const std::string effectName = name.Text();
|
|
this->SpawnDirectionalEffect(source, target, effectName);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005A4930
|
|
// FUNCTION: fn_03153
|
|
void CSkillAction_DamageWereRaptorForm::SpawnAttack01Effect(int sourceActor, CGameActor* target) {
|
|
CGameActor* source = reinterpret_cast<CGameActor*>(sourceActor);
|
|
if (source && target) {
|
|
constexpr auto bytesText = CRYPT_NAME("attack_01", 0x17359BF953C367B3ULL);
|
|
const auto& bytes = bytesText.data;
|
|
thread_local EncryptedName<sizeof(bytes), 0x17359BF953C367B3ULL> name(bytes);
|
|
const std::string effectName = name.Text();
|
|
this->SpawnDirectionalEffect(source, target, effectName);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x005A4B00
|
|
// FUNCTION: fn_03154
|
|
void CSkillAction_DamageWereRaptorForm::SpawnAttack02Effect(int sourceActor, CGameActor* target) {
|
|
CGameActor* source = reinterpret_cast<CGameActor*>(sourceActor);
|
|
if (!target || !source) {
|
|
return;
|
|
}
|
|
|
|
const float angle = ScreenAngle(
|
|
&source->render.position.x, &target->render.position.x, static_cast<CGameMode*>(g_modeMgr.GetGameMode())->camera->frame.view.values
|
|
);
|
|
const int direction = this->GetDirection(angle);
|
|
if (!this->IsValidDirection(direction)) {
|
|
return;
|
|
}
|
|
|
|
const int effectId = CEZ2STREffectMgr::GetInstance()->EffectId([] {
|
|
constexpr auto bytesText = CRYPT_NAME("attack_02", 0xC52FB5FBB94FF917ULL);
|
|
const auto& bytes = bytesText.data;
|
|
thread_local EncryptedName<sizeof(bytes), 0xC52FB5FBB94FF917ULL> name(bytes);
|
|
return name.Text();
|
|
}());
|
|
const bool flipped = direction == 1 || direction == 2;
|
|
|
|
const float deltaY = target->render.position.y - source->render.position.y;
|
|
const float deltaX = target->render.position.x - source->render.position.x;
|
|
const float deltaZ = target->render.position.z - source->render.position.z;
|
|
const float inverseLength = 1.0f / SquareRoot(deltaY * deltaY + deltaX * deltaX + deltaZ * deltaZ);
|
|
const float forwardY = inverseLength * deltaY * 35.0f;
|
|
const float forwardZ = inverseLength * deltaZ * 35.0f;
|
|
const float forwardX = inverseLength * deltaX * 35.0f;
|
|
|
|
const float sideX = forwardY * 0.0f - forwardZ;
|
|
const float sideY = forwardZ * 0.0f - forwardX * 0.0f;
|
|
const float sideZ = forwardX - forwardY * 0.0f;
|
|
const float inverseSide = 1.0f / SquareRoot(sideY * sideY + sideX * sideX + sideZ * sideZ);
|
|
const float rightX = inverseSide * sideX * 7.5f;
|
|
const float rightY = inverseSide * sideY * 7.5f;
|
|
const float rightZ = inverseSide * sideZ * 7.5f;
|
|
|
|
int count = 1;
|
|
int row = 0;
|
|
for (int alpha = 150; alpha < 525; alpha += 125) {
|
|
const float advance = static_cast<float>(row + 1) / 3.0f;
|
|
const float shift = static_cast<float>(row);
|
|
const float baseX = (forwardX * advance + source->render.position.x) - rightX * shift;
|
|
const float baseY = (forwardY * advance + source->render.position.y) - rightY * shift;
|
|
const float baseZ = (forwardZ * advance + source->render.position.z) - rightZ * shift;
|
|
|
|
for (int column = 0; column < count; ++column) {
|
|
if (std::max(std::rand() % 2, 0) != 0) {
|
|
continue;
|
|
}
|
|
|
|
const float offset = g_featherOffsets[std::max(std::rand() % 3, 0)];
|
|
const float step = static_cast<float>(column);
|
|
const vector3d position = {rightX * step + baseX + offset * forwardX, rightY * step + baseY + offset * forwardY, rightZ * step + baseZ + offset * forwardZ};
|
|
const int fade = std::max(std::rand() % 101, 0) + alpha;
|
|
const int scale = std::max(std::rand() % 11, 7);
|
|
if (CEffect* effect = g_effectMgr->Spawn(0, effectId, position, 0, -1, 0, 0)) {
|
|
effect->SetFlipX(flipped);
|
|
effect->SetDelay(fade);
|
|
effect->SetScale(static_cast<float>(scale) * 0.1f);
|
|
}
|
|
}
|
|
|
|
count += 2;
|
|
++row;
|
|
}
|
|
}
|