diff --git a/content/entities2.xml b/content/entities2.xml
index 10226e9..7756fa1 100644
--- a/content/entities2.xml
+++ b/content/entities2.xml
@@ -27,6 +27,7 @@
stageHP="0">
+
+
0 then
- --Yari:FollowParents()
+ Yari:FollowParents()
end
Lore:AddCallback(ModCallbacks.MC_FAMILIAR_UPDATE, Lore.UpdateBabyYari, FamiliarVariant.BABY_YARI)
@@ -248,16 +248,16 @@ Lore:AddCallback( ModCallbacks.MC_POST_PLAYER_INIT, Lore.PostPlayerInit );
-- Active
function Lore:ActivateSuccubusCharm(_Type, RNG)
local player = Isaac.GetPlayer(0)
+ local player_data = EntityRef(player)
enemies = Isaac.FindInRadius(player.Position, 125, EntityPartition.ENEMY )
for k,enemy in ipairs(enemies) do
- if enemy:HasEntityFlags( EntityFlag.FLAG_CHARM ) == true then
+ local enemy_data = EntityRef(enemy);
+ if enemy_data.IsCharmed == true then
print("This entity is charmed! Let's poison them!")
- enemy:AddPoison(player, 120, 1)
- enemy:AddEntityFlags(EntityFlag.FLAG_POISON)
+ enemy:AddPoison(player_data, 120, 1)
else
print("This entity isn't charmed! Let's charm them!")
enemy:AddCharmed(120)
- enemy:AddEntityFlags(EntityFlag.FLAG_CHARM)
end
end
end
diff --git a/resources/gfx/familiars/baby_ariel.png b/resources/gfx/familiars/baby_ariel.png
new file mode 100644
index 0000000..c039f73
Binary files /dev/null and b/resources/gfx/familiars/baby_ariel.png differ
diff --git a/resources/gfx/familiars/motheroftwo_ariel.anm2 b/resources/gfx/familiars/motheroftwo_ariel.anm2
new file mode 100644
index 0000000..4ab2436
--- /dev/null
+++ b/resources/gfx/familiars/motheroftwo_ariel.anm2
@@ -0,0 +1,145 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+