Skip to content

Commit

Permalink
updated caber
Browse files Browse the repository at this point in the history
  • Loading branch information
higps committed Feb 7, 2024
1 parent fa3f9da commit 0b96f2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion berobot_dmg_handler.sp
Original file line number Diff line number Diff line change
Expand Up @@ -1277,7 +1277,7 @@ public Action Event_post_inventory_application(Event event, const char[] name, b

Format(chat_display, sizeof(chat_display), "%s\n{teamcolor}Caber: {orange}%0.0f% increased damage bonus{teamcolor}",chat_display, OneIs100(stat1));
TF2Attrib_SetByName(Weapon3, "damage bonus", stat1);
TF2Attrib_SetByName(Weapon3, "crits_become_minicrits", 1.0);
// TF2Attrib_SetByName(Weapon3, "crits_become_minicrits", 1.0);

// TF2Attrib_SetByName(Weapon3, "blast dmg to self increased", 1000.0);
}
Expand Down
2 changes: 1 addition & 1 deletion mm_attribute_caber_throw.sp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ bool HasStat(int weapon, FCaber caber)
char stat_buffer[256];
if (!TF2CustAttr_GetString(weapon, "caber-throw", stat_buffer, sizeof(stat_buffer)))
{
//return false;
return false;
}

caber.Damage = ReadFloatVar(stat_buffer, "caber_blast_damage", 100.0);
Expand Down

0 comments on commit 0b96f2d

Please sign in to comment.