Random Class Leveling

The place to post your WML questions and answers.

Moderator: Forum Moderators

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
Nagi21
Posts: 4
Joined: November 21st, 2012, 1:15 pm

Random Class Leveling

Post by Nagi21 »

Hey I'm curious if anyone knows anything or has any experience doing something like this:

Basically lets say Bob is going to lvl up from a Mage into a Red Mage. However there is a % chance that he will instead succumb to the ways of the white mage instead. If failed, Bob will become a White mage instead.

Obviously this would be a bad idea in particular due to players not loving that particular thing happening... but that's irrelevant to me at the moment. Would a chance based class system be possible with the system we have from a technical standpoint? :twisted:

PS: Sorry if this is in the wrong spot but I couldn't find where else to put it :whistle:
User avatar
ancestral
Inactive Developer
Posts: 1108
Joined: August 1st, 2006, 5:29 am
Location: Motion City

Re: Random Class Leveling

Post by ancestral »

I kind of like the idea. You don’t get to choose — in effect, the character him/herself does.

Yes, I think it’s entirely doable with WML.
Wesnoth BestiaryPREVIEW IT HERE )
Unit tree and stat browser
CanvasPREVIEW IT HERE )
Exp. map viewer
Nagi21
Posts: 4
Joined: November 21st, 2012, 1:15 pm

Re: Random Class Leveling

Post by Nagi21 »

So does anybody know how it would be implemented lol? WML is not my natural language so I'm not sure which direction this would be in...
User avatar
8680
Moderator Emeritus
Posts: 742
Joined: March 20th, 2011, 11:45 pm
Location: The past

Re: Random Class Leveling

Post by 8680 »

Try this:
Spoiler:
Nagi21
Posts: 4
Joined: November 21st, 2012, 1:15 pm

Re: Random Class Leveling

Post by Nagi21 »

Oh god I forgot how little code made sense in my head lol...
User avatar
Lord-Knightmare
Discord Moderator
Posts: 2340
Joined: May 24th, 2010, 5:26 pm
Location: Somewhere in the depths of Irdya, gathering my army to eventually destroy the known world.
Contact:

Re: Random Class Leveling

Post by Lord-Knightmare »

Hmm, I just got an insane idea: what if we use this as an MP modification for the Default Era? It certainly would make MP battles more challenging.
Creator of "War of Legends"
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium
User avatar
Ravana
Forum Moderator
Posts: 2949
Joined: January 29th, 2012, 12:49 am
Location: Estonia
Contact:

Re: Random Class Leveling

Post by Ravana »

Would be possible, but I think this would require setting that random single choice sometime before advancement happens.

Even then might conflict with advance planning modification.

However why is it required to make it depend on default era? If it forces single era then there is no point to even write it as modification.
Post Reply