mirror of
https://github.com/gooba42/adventureland.git
synced 2026-10-15 02:49:28 -05:00
consume mp even if nothing was shot for 3/5shot
This commit is contained in:
+1
-1
@@ -8703,7 +8703,6 @@ function init_io() {
|
||||
continue;
|
||||
}
|
||||
if (!c_resolve) {
|
||||
consume_mp(player, gSkill.mp, target);
|
||||
c_resolve = attack;
|
||||
attack.pids = [attack.pid];
|
||||
attack.targets = [attack.target];
|
||||
@@ -8715,6 +8714,7 @@ function init_io() {
|
||||
}
|
||||
player.halt = false;
|
||||
player.to_resend = "u+cid";
|
||||
consume_mp(player, gSkill.mp, target);
|
||||
if (!c_resolve) {
|
||||
reject = { failed: true, place: data.name, reason: "no_target" };
|
||||
disappearing_text(player.socket, player, "NO HITS");
|
||||
|
||||
Reference in New Issue
Block a user