]> git.lizzy.rs Git - Crafter.git/blobdiff - mods/mob/api/api_hook.lua
Make combat a bit more fast paced
[Crafter.git] / mods / mob / api / api_hook.lua
index 7f85373a27e410dbb2475489ec9578280fecc39e..6a3c36034473b8788e0a145f68086624802d8eb4 100644 (file)
@@ -48,7 +48,7 @@ if def.head_bone then
        mob_register.head_coord = def.head_coord
        mob_register.flip_pitch = def.flip_pitch
 else
-       print("create some other functions to turn mob " .. def.mobname)
+       --print("create some other functions to turn mob " .. def.mobname)
 end
 
 mob_register.hurt_inside_timer = 0
@@ -104,7 +104,7 @@ mob_register.custom_function_end = def.custom_function_end
 
 mob_register.projectile_timer_cooldown = def.projectile_timer_cooldown
 mob_register.attacked_hostile = def.attacked_hostile
-
+mob_register.attack_damage = def.attack_damage
 
 mob_register.projectile_timer = 0
 mob_register.projectile_type = def.projectile_type