• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Révision3cc46c17a019f1c51be1fde45b4b907246ad9590 (tree)
l'heure2015-05-04 01:12:23
AuteurSUEHIRO <supersuehiro@user...>
CommiterSUEHIRO

Message de Log

projectileのhitonceを修正

Change Summary

Modification

--- a/ssz/char.ssz
+++ b/ssz/char.ssz
@@ -3876,7 +3876,7 @@ public &Char
38763876 }
38773877 void setHitdefDefault(&.Hitdef h=, bool proj)
38783878 {
3879- `targetsOfHit.new(0);
3879+ if(!proj) `targetsOfHit.new(0);
38803880 if((h.attr & !63) == 0) h.attr = 0;
38813881 if(
38823882 h.hitonce < 0
@@ -6120,7 +6120,7 @@ public void PlayerList!&Char?::clsn(&.Char pyr=, bool pro)
61206120 if(!hbset) break;
61216121 `pyr.p1facing = 0;
61226122 if(`pyr.ho >= 0) break;
6123- if(hit.hitonce > 0) by.trTargetDrop(-1, false);
6123+ if(pro == 0 && hit.hitonce > 0) by.trTargetDrop(-1, false);
61246124 by.addTarget(`pyr.id);
61256125 `pyr.stVal.hb.addByid(by.id, by.sysivar[.iAIRJUGGLE]);
61266126 if(`pyr.hittmp < 2){
@@ -6433,7 +6433,6 @@ public void PlayerList!&Char?::clsn(&.Char pyr=, bool pro)
64336433 }
64346434 if(
64356435 !(pyr.cs1tmp && (pyr.ls(.lsGETHIT) || pyr.acttmp > 0))
6436- && proj.hit.hitonce >= 0
64376436 && (
64386437 .chars[i]<>~ls(.lsNOJUGGLECHECK)
64396438 || pyr.stVal.hb.getJuggle(
@@ -6478,7 +6477,6 @@ public void PlayerList!&Char?::clsn(&.Char pyr=, bool pro)
64786477 .cgi[i].pcid = proj.id;
64796478 proj.hitpause = .m.max!int?(0, proj.hit.guard_pausetime);
64806479 }
6481- if(proj.hit.hitonce > 0) proj.hit.hitonce = -1;
64826480 }
64836481 }
64846482 break: