Curation round 23 (code only): the Mods menu and HUD pieces, Dogma and the Beast, Visage, Hornfel and other bosses, enemies and Entity_NPC branches, player revivals and missing methods, the player's frame, familiars, lasers, weapons and bombs, shared constants folded (115 duplicates, 385 gaps)
This commit is contained in:
1 parent
b9405bfb31
commit
11c71fe041
208 files changed
+20487
-5741
No files matched your search
@@ -1,3 +1,4 @@
|
||||
#include "boss_repentance.h"
|
||||
#include "boss_ai.h"
|
||||
#include "entity_bomb.h"
|
||||
#include "entity_combat.h"
|
||||
@@ -42,7 +43,6 @@ constexpr int SAMSON_B_HIT_CHARGE = 10000;
|
||||
constexpr int BLEED_OUT_HEALTH = 600;
|
||||
|
||||
constexpr int SIREN_CHARM_SPARE_FRAMES = 29;
|
||||
constexpr int VISAGE_CHAIN = 10;
|
||||
constexpr int WHITE_FIRE_VARIANT = 4;
|
||||
constexpr int EFFECT_SELF_DAMAGE = 19;
|
||||
constexpr int EFFECT_POISON_CLOUD = 123;
|
||||
@@ -1575,3 +1575,15 @@ void Entity_Player::set_last_damage(uint64_t damageFlags, const EntityRef& sourc
|
||||
lastDamageFlags = damageFlags;
|
||||
lastDamageSource = source;
|
||||
}
|
||||
|
||||
// 0085e260 Lengthens the frames the controls stay off.
|
||||
void Entity_Player::AddControlsCooldown(int frames)
|
||||
{
|
||||
controlsCooldown += frames;
|
||||
}
|
||||
|
||||
// 0085e280 The last hit's damage flags.
|
||||
uint64_t Entity_Player::GetLastDamageFlags()
|
||||
{
|
||||
return lastDamageFlags;
|
||||
}
|
||||
Reference in new issue
Block a user