MOG chrono engine knockback

Restart

Veteran
Veteran
Joined
Mar 15, 2019
Messages
416
Reaction score
267
First Language
English
Primarily Uses
RMMV
this.touchDamage uses the default (slot 1) attack command. (by way of referencing user.battler().attackSkillId(); )
 

arashiya

Veteran
Veteran
Joined
Jun 19, 2019
Messages
114
Reaction score
5
First Language
english
Primarily Uses
RMMV
Got it thanks
I make a new tool in tool map and link to the default attack skill
And in the tool map I try to use tool_knockback_duration but it doesn’t work
Any ideas?
 

Restart

Veteran
Veteran
Joined
Mar 15, 2019
Messages
416
Reaction score
267
First Language
English
Primarily Uses
RMMV
On further inspection, it seems the damage goes off skill one, and the knockback is hardcoded here
Code:
//==============================
// * execute Touch After Hit
//==============================
Game_Chrono.prototype.executeTouchTouchAfterHit = function(user,target,skillId) {
   if (target.canKnockback(target)) {
      target.clearActing();
      target.turnTowardCharacter(user);         
      target.jump(0,0)
      target.moveBackward();
         target.battler()._ras.knockback[1] = 55;
      target.battler()._ras.collisionD = 60;
   };
   var skill = $dataSkills[skillId];
   if (skill) {
       var aniID = $dataSkills[skillId].animationId;
       if (aniID) {
           target.requestAnimation(aniID)
       };
   };
};
so change the 55 accordingly
 

arashiya

Veteran
Veteran
Joined
Jun 19, 2019
Messages
114
Reaction score
5
First Language
english
Primarily Uses
RMMV
thanks so much!!
you really save my day!!!!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Imagine after all this time, its RPG Maker MV Ace?:p Even if it has huge improvements, that would just be disappointing somehow xD Whatever it is, i hope its not chibi...
Kes
Came up with a good name for something. Checked on internet - device trademark filed in India 2017. Back to the drawing board.
I want to see the Features of the new RPG Maker.. NOW!!
Can't wait for it!
KDS
Check out some gameplay of a game iam working on :)
Me : "Wearing glasses is annoying."
*put out glasses*
Also me : "Keep mistaking 0, 6 and 8."

Forum statistics

Threads
98,126
Messages
949,503
Members
129,410
Latest member
Charles_Chandra
Top