Search results

  1. kimduck

    May I kindly ask for a simple code modification?

    void main(){ void self = getlocalvar("self"); void vAniID = getentityproperty(self,"애니메이션ID") int MP = getentityproperty(자기 자신, "mp"); if(vAniID != openborconstant("ANI_SPECIAL")){ changeentityproperty(self, "mp", MP + 1); } } I’ve asked this question before, and I...
  2. kimduck

    How can I recover mana when hitting enemies?

    Wow~ Really, thank you, brother. I've asked ChatGPT so many times just to make this work, but it kept giving me strange answers. I don’t know anything about programming — I just found an OpenBOR game that was so much fun, and I wanted to modify it. I spent the whole day searching for a solution...
  3. kimduck

    How can I recover mana when hitting enemies?

    It's not that I haven't read it. It's that I can't read it. There is just too much content to translate all of it. I can only make rough guesses. Even with page translation tools, there are limitations. To be honest, I can't even tell whether it's programming language, an explanation, or a...
  4. kimduck

    How can I recover mana when hitting enemies?

    The manual is too long, so I couldn't find the relevant section. If you could tell me which part of the manual it’s in, or what keyword I should search for, I’d really appreciate it.
  5. kimduck

    How can I recover mana when hitting enemies?

    There is an mprate setting in the character's .txt file. However, when using typemp 1, the character’s mprate doesn’t work. Also, typemp 1 always restores +5 MP per hit, and I want to reduce that amount. In addition, I want to exclude MP recovery for certain attacks like projectiles or special...
  6. kimduck

    How can I recover mana when hitting enemies?

    Thanks, bro. But using typemp 0 or typemp 1 recovers +5 MP per hit. I want to recover +1 MP for each hit instead. Also, I want to implement an mprate system in the character’s properties, so MP regenerates over time even when standing still, in addition to recovering when landing attacks...
  7. kimduck

    How can I recover mana when hitting enemies?

    @script int iMP = 0; int i; void ip; if(frame == 0){ for(i = 0; i <= 3; i++){ ip = getplayerproperty(i, "entity"); iMP = getentityproperty(ip, "mp"); changeentityproperty(ip, "mp", iMP + 1); } } @end_script
  8. kimduck

    How can I recover mana when hitting enemies?

    I would like to implement a feature where mana is recovered every time I hit an enemy, like in Guardians / Denjin Makai II by Banpresto. If anyone knows how to do this, I’d really appreciate your help.
Back
Top Bottom