Aoc2: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
imported>Leoetlino
(→‎Flags: ApplyDamageMultiplier details)
imported>Leoetlino
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Subsystem infobox|name=aoc2|is_name_official=0|description=Handles DLC1 additions (such as Master Mode)|init_addr_switch150=0000007100D6CDA4|init_addr_wiiu150=031696E4}}
{{Subsystem infobox|name=aoc2|is_name_official=0|description=Handles DLC1 additions (such as Master Mode)|init_addr_switch150=0000007100D6CDA4|init_addr_wiiu150=031696E4}}
{{stub}}
 
== Flags ==
== Flags ==
Unless otherwise indicated, all of the names below are unofficial.
Unless otherwise indicated, all of the names below are unofficial.
By default, the following flags are set:
EnableShorterEnemyNotice | ApplyDamageMultiplier | RandomizeGuardianChargeBeam | EnableLifeRegen | PatchGanonStunLock | DisableNoDeathDamage | IsLastPlayHardMode


{|class="wikitable"
{|class="wikitable"
! Value (hex) !! Description
! Value (hex) !! Description
|-
|-
| 1 || IsLastPlayHardMode. Set when the last playthrough is a Master Mode save.
| 1 || '''IsLastPlayHardMode'''. Set when the last playthrough is a Master Mode save.
|-
|-
| 2 || NerfCooking. Causes the health restoring effects of cooked food to be half as strong.
| 2 || '''NerfCooking'''. Causes the health restoring effects of cooked food to be half as strong.
|-
|-
| 4 || ?
| 4 || ?
|-
|-
| 8 || ?
| 8 || '''DisableNoDeathDamage'''. Disables [[no death damage]], aka one-hit kill protection.
|-
|-
| 10 || ?
| 10 || '''PatchGanonStunLock'''. Patches Calamity Ganon (phase 2) stun lock by preventing the player from stunning Ganon with some attacks during phase 2<ref>https://gist.github.com/leoetlino/e34b93d865e15054403527a80a78d0b8#file-botw_last_boss-cpp-L21</ref>.
|-
|-
| 20 || EnableLifeRegen. Enables health regeneration for enemies.
| 20 || '''EnableLifeRegen'''. Enables health regeneration for enemies.
|-
|-
| 40 || RandomizeGuardianChargeBeam{{check}}. Enables random Guardian beam charge times ([[AIDef:Action/GuardianChargeBeam]]).
| 40 || '''RandomizeGuardianChargeBeam'''{{check}}. Enables random Guardian beam charge times ([[AIDef:Action/GuardianChargeBeam]]).
|-
|-
| 80 || ApplyDamageMultiplier. Causes nonzero damage dealt to Link in some cases to be set to max(int(damage * 1.5), 2)<ref>{{addr|a=0x7100D6ED54|ver=nx-1.5.0}}</ref>
| 80 || '''ApplyDamageMultiplier'''. Causes nonzero damage dealt to Link in some cases to be set to max(int(damage * 1.5), 2)<ref>{{addr|a=0x7100D6ED54|ver=nx-1.5.0}}</ref>


The conditions<ref>{{addr|a=0x7100D6D540|ver=nx-1.5.0}}</ref> are:
The conditions<ref>{{addr|a=0x7100D6D540|ver=nx-1.5.0}}</ref> are:
Line 28: Line 32:
* Attacker profile is LastBoss or SiteBoss, '''or'''
* Attacker profile is LastBoss or SiteBoss, '''or'''
* Attacker is Enemy_GanonBeast, GanonShockWave, EnemyGanonShockWave, GanonSeaOfFlame, GanonFlameBall, GanonPillarOfFlame, GanonNormalArrow, GanonSpearForThrowing, CurseGanonBeam, GanonBeam, GanonIceBullet, GanonThunder, GanonIronPile, GanonTornado, GanonBeastBeam, SiteBossSeaOfFlame, SiteBossSeaOfFlameRotate, SiteBossFlameBall, SiteBossBigFlameBall, SiteBossPillarOfFlame, SiteBossWearFlame, SiteBossDrawingFlameTornado, SiteBossGaleArrow, SiteBossNormalArrow, SiteBossSpearForThrowing, SiteBossReflectArrow, ArrowRainChild, SiteBossSpearIceBullet, SiteBossTornado, LastBossThunder, Enemy_Assassin_Senior, AssassinRockBall, AssassinIronBall
* Attacker is Enemy_GanonBeast, GanonShockWave, EnemyGanonShockWave, GanonSeaOfFlame, GanonFlameBall, GanonPillarOfFlame, GanonNormalArrow, GanonSpearForThrowing, CurseGanonBeam, GanonBeam, GanonIceBullet, GanonThunder, GanonIronPile, GanonTornado, GanonBeastBeam, SiteBossSeaOfFlame, SiteBossSeaOfFlameRotate, SiteBossFlameBall, SiteBossBigFlameBall, SiteBossPillarOfFlame, SiteBossWearFlame, SiteBossDrawingFlameTornado, SiteBossGaleArrow, SiteBossNormalArrow, SiteBossSpearForThrowing, SiteBossReflectArrow, ArrowRainChild, SiteBossSpearIceBullet, SiteBossTornado, LastBossThunder, Enemy_Assassin_Senior, AssassinRockBall, AssassinIronBall
tl;dr: mostly applies a 1.5 damage multiplier to bosses and Test of Strength guardians.
|-
|-
| 100 || EnableShorterEnemyNotice. Enables reduced enemy notice times.
| 100 || '''EnableShorterEnemyNotice'''. Enables reduced enemy notice times.
|}
|}


[[Category:Game mechanics]]
[[Category:Internals]]
[[Category:Internals]]
[[Category:Subsystems (BotW)]]
[[Category:Subsystems (BotW)]]

Latest revision as of 12:12, 12 January 2020

aoc2
Subsystem
Official name No
Description Handles DLC1 additions (such as Master Mode)
Init function Switch 1.5.0: 0000007100D6CDA4
Wii U 1.5.0: 031696E4
Debug only No

Flags

Unless otherwise indicated, all of the names below are unofficial.

By default, the following flags are set:

EnableShorterEnemyNotice | ApplyDamageMultiplier | RandomizeGuardianChargeBeam | EnableLifeRegen | PatchGanonStunLock | DisableNoDeathDamage | IsLastPlayHardMode

Value (hex) Description
1 IsLastPlayHardMode. Set when the last playthrough is a Master Mode save.
2 NerfCooking. Causes the health restoring effects of cooked food to be half as strong.
4 ?
8 DisableNoDeathDamage. Disables no death damage, aka one-hit kill protection.
10 PatchGanonStunLock. Patches Calamity Ganon (phase 2) stun lock by preventing the player from stunning Ganon with some attacks during phase 2[1].
20 EnableLifeRegen. Enables health regeneration for enemies.
40 RandomizeGuardianChargeBeam[check]. Enables random Guardian beam charge times (AIDef:Action/GuardianChargeBeam).
80 ApplyDamageMultiplier. Causes nonzero damage dealt to Link in some cases to be set to max(int(damage * 1.5), 2)[2]

The conditions[3] are:

  • Attacker has the IsMasterModeDamageMultiplierActor tag (DLC2 boss, his weapons and attacks), or
  • Player is in a Test of Strength shrine (Dungeon07* or Dungeon08* or Dungeon135) and attacker has the AncientGuardTarget tag (guardians, blights and their weapons and attacks, Ganon beam), or
  • Attacker profile is LastBoss or SiteBoss, or
  • Attacker is Enemy_GanonBeast, GanonShockWave, EnemyGanonShockWave, GanonSeaOfFlame, GanonFlameBall, GanonPillarOfFlame, GanonNormalArrow, GanonSpearForThrowing, CurseGanonBeam, GanonBeam, GanonIceBullet, GanonThunder, GanonIronPile, GanonTornado, GanonBeastBeam, SiteBossSeaOfFlame, SiteBossSeaOfFlameRotate, SiteBossFlameBall, SiteBossBigFlameBall, SiteBossPillarOfFlame, SiteBossWearFlame, SiteBossDrawingFlameTornado, SiteBossGaleArrow, SiteBossNormalArrow, SiteBossSpearForThrowing, SiteBossReflectArrow, ArrowRainChild, SiteBossSpearIceBullet, SiteBossTornado, LastBossThunder, Enemy_Assassin_Senior, AssassinRockBall, AssassinIronBall

tl;dr: mostly applies a 1.5 damage multiplier to bosses and Test of Strength guardians.

100 EnableShorterEnemyNotice. Enables reduced enemy notice times.
  1. https://gist.github.com/leoetlino/e34b93d865e15054403527a80a78d0b8#file-botw_last_boss-cpp-L21
  2. 0x7100D6ED54 [nx-1.5.0 executable]
  3. 0x7100D6D540 [nx-1.5.0 executable]