mirror of
https://github.com/gooba42/adventureland.git
synced 2026-10-24 13:40:13 -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;
|
continue;
|
||||||
}
|
}
|
||||||
if (!c_resolve) {
|
if (!c_resolve) {
|
||||||
consume_mp(player, gSkill.mp, target);
|
|
||||||
c_resolve = attack;
|
c_resolve = attack;
|
||||||
attack.pids = [attack.pid];
|
attack.pids = [attack.pid];
|
||||||
attack.targets = [attack.target];
|
attack.targets = [attack.target];
|
||||||
@@ -8715,6 +8714,7 @@ function init_io() {
|
|||||||
}
|
}
|
||||||
player.halt = false;
|
player.halt = false;
|
||||||
player.to_resend = "u+cid";
|
player.to_resend = "u+cid";
|
||||||
|
consume_mp(player, gSkill.mp, target);
|
||||||
if (!c_resolve) {
|
if (!c_resolve) {
|
||||||
reject = { failed: true, place: data.name, reason: "no_target" };
|
reject = { failed: true, place: data.name, reason: "no_target" };
|
||||||
disappearing_text(player.socket, player, "NO HITS");
|
disappearing_text(player.socket, player, "NO HITS");
|
||||||
|
|||||||
Reference in New Issue
Block a user