Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

New forum theme up and running!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Coding a WoW rogue energy system
« previous next »
  • Print
Pages: [1]

Author Topic: Coding a WoW rogue energy system  (Read 2030 times)

Offline Prpl_Mage

  • Administrator
  • Sage
  • *
  • Posts: 7,645
  • The Administrator Mage
    • Check out our itch website
Coding a WoW rogue energy system
« on: March 30, 2007, 05:03:38 AM »
In World of Warcraft there is a class known as rogues, they doesn´t have mana, they use energy. The Energy value is always 100(unless you get a special talent) and after a couple of seconds you get some energy.~

Ok so simply enough, I want to create a code that will make my character class get like 20Mp after each turn(him having a max of 100).

So pretty much you have skills that cost like 40 and 50 or even 85, so you use one like the 40, your mp should be reduced from 100 to 60 then.
So when you use your skill and lose the mp, the ATB bar will start going up again untill it´s your turn. Is it possible to just put something in the "Battle Events" that will make all my characters with that class just regain strictly 20mp or even some random between 15-25 after you´ve made you´r choice in the battle.

And if so, could I make it so that using "Defend" and "Items" will get you more mp than if you attack or use a skill?

Thanks to anyone who reply.
Logged
Cool RPGM Project!
Sprite till you die

Oh my god, this was ...10 years ago...

Offline Arcanagirl

  • Game Designer!
  • Zealot
  • *
  • Posts: 514
  • I love games, creating things my way...RPGmaker lover!
(No subject)
« Reply #1 on: April 06, 2007, 06:50:18 AM »
humm you can run this with variables in the battle events, but will be a lot of codes to input, but still simple enough.

just have one variable per person for the energy, and have it deduct or add based on a characters commands...So yeah it is possible to do in battle events.
Logged
~Lands of Lunori~
Trailer

Offline Prpl_Mage

  • Administrator
  • Sage
  • *
  • Posts: 7,645
  • The Administrator Mage
    • Check out our itch website
(No subject)
« Reply #2 on: April 06, 2007, 07:06:35 AM »
Yeah you were right, I tried it and it worked, more or less, trying to get it charge energy even though you are asleep and stunned but that´s overtime...

Well the case got solved, thanks Jenna.
Logged
Cool RPGM Project!
Sprite till you die

Oh my god, this was ...10 years ago...

Offline Arcanagirl

  • Game Designer!
  • Zealot
  • *
  • Posts: 514
  • I love games, creating things my way...RPGmaker lover!
(No subject)
« Reply #3 on: April 06, 2007, 07:12:58 AM »
np anytime. And for the conditions, try making a common event that is called withint the battle events, like every turn call the common event that checks if person is affected then mod from there.
Logged
~Lands of Lunori~
Trailer

Offline Prpl_Mage

  • Administrator
  • Sage
  • *
  • Posts: 7,645
  • The Administrator Mage
    • Check out our itch website
(No subject)
« Reply #4 on: April 06, 2007, 09:38:40 PM »
Yupp that worked just fine, thanks again.
So now I got this working and all, sweet.


But I guess there is no more need for this topic now though.
Logged
Cool RPGM Project!
Sprite till you die

Oh my god, this was ...10 years ago...

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Coding a WoW rogue energy system
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum