OSDN Git Service

辛夷祭当日の変更を含む最終コミット
[h58pcdgame/GameScriptCoreLibrary.git] / www / corelib / classes / MainCharacters / MainCharacterClass_Witch.js
index e0557e6..8ac8be7 100644 (file)
@@ -1,19 +1,14 @@
-var MainCharacterClass_Witch = function(stage, args, isFromNetwork){
-       this.create(stage, args);
-       if(!isFromNetwork){
-               stage.addStageObject(this, true);
-       } else{
-               stage.addStageObject(this, true, true);
-       }
-}.extend(MainCharacterClass, {
-       className: "MainCharacterClass_Witch",
-       create: function(stage, args){
-               MainCharacterClass_Witch.base.apply(this, [stage, [["witch.png","witch2.png"]]]);
-               this.size.x = 32;
-               this.size.y = 64;
-               this.antigravity = 300 / stage.manager.tickPerSecond;
-               this.jumpPower = 80;
-               this.max_HP = 80;
-               this.HP = this.max_HP;
-       },
-});
+var MainCharacterClass_Witch = function(stage, args, isFromNetwork){\r
+       MainCharacterClass_Witch.base.apply(this, arguments);\r
+}.extend(MainCharacterClass, {\r
+       className: "MainCharacterClass_Witch",\r
+       create: function(stage, args){\r
+               MainCharacterClass_Witch.base.prototype.create.apply(this, [stage, [["witch.png","witch2.png"]]]);\r
+               this.size.x = 32;\r
+               this.size.y = 64;\r
+               this.antigravity = 200 / GameManager.prototype.tickPerSecond;\r
+               this.jumpPower = 90;\r
+               this.max_HP = 60;\r
+               this.HP = this.max_HP;\r
+       },\r
+});\r