Skip to content

Commit

Permalink
Merge pull request #344 from Zugerujk/master
Browse files Browse the repository at this point in the history
Fixed !kill not working
  • Loading branch information
aristotlepenguin authored Jul 12, 2023
2 parents 7bbc18f + 6aef63d commit 168923c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion ew/cmd/wep/wepcmds.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ async def attack(cmd):

# Calculate some base values
skill_mult = (0.05 * attacker.weaponskill) + 1
base_cost = ((max(35, attacker.slimelevel) ** 4) / 30) if attacker_weapon.is_tool else ((attacker.slimelevel ** 4) / 30) * float(ewcfg.global_damage_multiplier[attacker.id_server])
base_cost = ((max(35, attacker.slimelevel) ** 4) / 30) if attacker_weapon.is_tool else ((attacker.slimelevel ** 4) / 30) * float(ewcfg.global_damage_multiplier_dt[attacker.id_server])
base_dmg = 5 * base_cost * skill_mult

# Generate some random values
Expand Down
1 change: 0 additions & 1 deletion ew/static/weapons.py
Original file line number Diff line number Diff line change
Expand Up @@ -1786,7 +1786,6 @@ def wef_harpoon(ctn = None):
vendors=[ewcfg.vendor_basedhardware],
classes=[ewcfg.weapon_class_juvie],
stat=ewcfg.stat_sledgehammer_kills,
is_tool=1,
str_brandish=["{name} finds the closest thing to destroy and hurls {weapon} into it!"]
),
EwWeapon( # 47
Expand Down

0 comments on commit 168923c

Please sign in to comment.