StendhalRefactoringRP: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Ufizavipupu
No edit summary
imported>Kymara
 
(37 intermediate revisions by 4 users not shown)
Line 1: Line 1:
----
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
----
=[http://exytebuc.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=
----
=[http://exytebuc.co.cc CLICK HERE]=
----
</div>
{{Navigation for Stendhal Top|Developing}}
{{Navigation for Stendhal Top|Developing}}
{{Navigation for Stendhal Developers}}
{{Navigation for Stendhal Developers}}



{{Likely Outdated}}
{{Likely Outdated}}
{{Ideas for Stendhal}}


We need a rebalance of the RP system so it is playable and fun for both newbiews and high levels.
We need a rebalance of the RP system so it is playable and fun for both newbiews and high levels.
Line 25: Line 17:
* shield
* shield
ChadF also suggested another type of weapon skill system that you can review [[Ideas:chad3f|here]]
ChadF also suggested another type of weapon skill system that you can review [[Ideas:chad3f|here]]
<br>
&lt;br&gt;
<br>
&lt;br&gt;


We want to avoid the situation of having to add items to monsters for them in order to combat, so we need to find a way of making compatible both systems ( the above one with the actual ATK/DEF one ).
We want to avoid the situation of having to add items to monsters for them in order to combat, so we need to find a way of making compatible both systems ( the above one with the actual ATK/DEF one ).


We need to design the system to avoid campers:&lt;br&gt;
We need to design the system to avoid campers:<br>
[[File:Stendhal 0.39 campers.jpg]]
http://arianne.sourceforge.net/wiki_images/stendhal_0.39_campers.jpg
&lt;br&gt;&lt;small&gt;Image: Campers training in Stendhal 0.39&lt;/small&gt;
<br><small>Image: Campers training in Stendhal 0.39</small>


There are several valid approach for this problem, and IMHO we should try from less severe to most severe first.
There are several valid approach for this problem, and IMHO we should try from less severe to most severe first.
# Blood solution&lt;br&gt;You only improve your skill when you damage/are damaged the creature
# Blood solution<br>You only improve your skill when you damage/are damaged the creature
# Don't get XP points nor skill points from weak creatures
# Don't get XP points nor skill points from weak creatures
# Kick idle players&lt;br&gt;No action in X minutes means that you are logged out
# Kick idle players<br>No action in X minutes means that you are logged out


We want to disallow first camping to increase skills, you gain skills by playing not by camping. Later we will fix camping by not respawing monsters if player is waiting for the monster. The whole point is to have player create ''value'': fun.
We want to disallow first camping to increase skills, you gain skills by playing not by camping. Later we will fix camping by not respawing monsters if player is waiting for the monster. The whole point is to have player create ''value'': fun.


==Leveling up==
==Leveling up==
To level up you need to gain XP by killing monsters and/or solving quests.&lt;br&gt;
To level up you need to gain XP by killing monsters and/or solving quests.<br>
On level up you gain HP.
On level up you gain HP.


Line 53: Line 45:
Combat right now works as follows:
Combat right now works as follows:
# We compute the ''risk'' to hit the target, using their ATK and DEF attributes-
# We compute the ''risk'' to hit the target, using their ATK and DEF attributes-
# If risk&gt;0 then we compute if the target blocks the attack, or how much damage the target received.
# If risk>0 then we compute if the target blocks the attack, or how much damage the target received.


The formula looks like:
The formula looks like:
&lt;pre&gt;
<pre>
risk_to_hit = 20 * source[ATK] - roll[1D20] * target[DEF]
risk_to_hit = 20 * source[ATK] - roll[1D20] * target[DEF]


if risk_to_hit &gt; 0:
if risk_to_hit > 0:
max_defence = √(target[DEF] * (10 + target[ARMOR])) * (10 + 0.03 * (target[LEVEL] + 5));
max_defence = √(target[DEF] * (10 + target[ARMOR])) * (10 + 0.03 * (target[LEVEL] + 5));
max_attack = source[ATK] * (1 + source[WEAPON])* (1 + 0.03 * (source[LEVEL + 5)) * speed_effect;
max_attack = source[ATK] * (1 + source[WEAPON])* (1 + 0.03 * (source[LEVEL + 5)) * speed_effect;
Line 67: Line 59:


damage = (8 * max_attack * random[0..1] - max_defence * random[0..1]) / max_defence;
damage = (8 * max_attack * random[0..1] - max_defence * random[0..1]) / max_defence;
&lt;/pre&gt;
</pre>
There's also small karma effect for both the hitting chance and damage.
There's also small karma effect for both the hitting chance and damage.


See that it is very important the ATK and DEF value, but that you can also get big improvements using weapons, armors, shields, etc...
See that it is very important the ATK and DEF value, but that you can also get big improvements using weapons, armors, shields, etc...
The benefits you get from your items and skills are directly proportional to your level. The &lt;code&gt;speed_part&lt;/code&gt; is responsible for making slow weapons more effective against strong enemies, and fast weapons better against weak enemies.
The benefits you get from your items and skills are directly proportional to your level. The <code>speed_part</code> is responsible for making slow weapons more effective against strong enemies, and fast weapons better against weak enemies.


Creatures are balanced without items, and have constant item DEF of 0 and item ATK 5.
Creatures are balanced without items, and have constant item DEF of 0 and item ATK 5.
Line 81: Line 73:
* Item ATK is the sum of the bow and arrow ATK values
* Item ATK is the sum of the bow and arrow ATK values


&lt;pre&gt;
<pre>
ranged_damage = distance_modifier * normal_damage
ranged_damage = distance_modifier * normal_damage
where:
where:
Line 90: Line 82:
where:
where:
out_of_range = max_range + 1,
out_of_range = max_range + 1,
&lt;/pre&gt;
</pre>
Thus &lt;code&gt;ranged_damage&lt;/code&gt; reaches the normal maximum damage at middle range, and drops to 0 at maximum range + 1. The point blank case is treated specially to avoid archers being completely helpless at melee.
Thus <code>ranged_damage</code> reaches the normal maximum damage at middle range, and drops to 0 at maximum range + 1. The point blank case is treated specially to avoid archers being completely helpless at melee.


==Tactics slider==
==Tactics slider==
Line 103: Line 95:
*Slink: Players are aware of dangerous situations, they will therefore expect to be attacked suddenly (adrenalin-kick ;) ) and they slink to make no noise.
*Slink: Players are aware of dangerous situations, they will therefore expect to be attacked suddenly (adrenalin-kick ;) ) and they slink to make no noise.


-&gt; +10 %DEF -50% Movement speed, Creatures will start to attack/note players only if there is a very close distance (e.g. 2 tiles) between them.
-> +10 %DEF -50% Movement speed, Creatures will start to attack/note players only if there is a very close distance (e.g. 2 tiles) between them.


*Normal: Just normal ;)
*Normal: Just normal ;)
Line 109: Line 101:
*Run: Players like to get fast from A to B (they might like to flee away). The do not take care of noise and surrounding. A attack will surprise them.
*Run: Players like to get fast from A to B (they might like to flee away). The do not take care of noise and surrounding. A attack will surprise them.


-&gt; -10% DEF +50% Movement speed, Creatures will hear the &quot;noisy&quot; player and trying to attack/note the player from much farer (20-30 tiles) distances then normal.
-> -10% DEF +50% Movement speed, Creatures will hear the "noisy" player and trying to attack/note the player from much farer (20-30 tiles) distances then normal.


=== Aggress---Normal---Defence: ===
=== Aggress---Normal---Defence: ===
Line 117: Line 109:
*Aggress: The player tries to slaughter the creature as fast as possible, he/she is using fancy hero-tricks, however this open weak points in the defence. Doesn't matter for real a hero which starts to become bloodthirstiness. The little scratches and wounds will be acceptable for a real hero as along as he/she is the winner of this massacre.
*Aggress: The player tries to slaughter the creature as fast as possible, he/she is using fancy hero-tricks, however this open weak points in the defence. Doesn't matter for real a hero which starts to become bloodthirstiness. The little scratches and wounds will be acceptable for a real hero as along as he/she is the winner of this massacre.


-&gt; +15% ATK -15% DEF
-> +15% ATK -15% DEF


*Normal: Again just normal ;)
*Normal: Again just normal ;)


*Defence: The player is under heavy attack and run out of potion. Help is coming soon from his party. Therefore, it becomes a question of time. &quot;Ditch a hole and stick your head inside&quot; is now the slogan :).
*Defence: The player is under heavy attack and run out of potion. Help is coming soon from his party. Therefore, it becomes a question of time. "Ditch a hole and stick your head inside" is now the slogan :).


-&gt; -15% ATK +15% DEF
-> -15% ATK +15% DEF


These sliders will make it possible to run different strategies for parties and for longer campaigns. In addition the level of a player is not directly related to the DEF and ATK settings, which make it more interesting because other players do not know about the actual settings. This can help weak players to protect them better and strong players get faster rid of (boring) weak creatures.
These sliders will make it possible to run different strategies for parties and for longer campaigns. In addition the level of a player is not directly related to the DEF and ATK settings, which make it more interesting because other players do not know about the actual settings. This can help weak players to protect them better and strong players get faster rid of (boring) weak creatures.
==Magic==
==Magic==
{{TODO| update/replace with [[Ideas_for_Stendhal/Magic]] which is the current working document for magic ideas}}
Magic will be mana based, with each spell costing mana.
Magic will be mana based, with each spell costing mana.
Also you can have written spells that don't cost mana, but that vanish after they have been used.
Also you can have written spells that don't cost mana, but that vanish after they have been used.


We will mainly have 6 elements in Stendhal, maybe 8 later, and those are Fire, Water/Ice, Earth, Wind, Holy and Dark.
We will mainly have 6 elements in Stendhal, maybe 8 later, and those are Fire, Water/Ice, Earth, Wind, Holy and Dark.
The 2 that might be added later is Physical and Mental magic, that focuses on protecting against and strenghtening charm and poison attacks. For now poison will just be treated as a normal attack, and not be affected by any magic resistances.&lt;br&gt;
The 2 that might be added later is Physical and Mental magic, that focuses on protecting against and strenghtening charm and poison attacks. For now poison will just be treated as a normal attack, and not be affected by any magic resistances.<br>
<br>
&lt;br&gt;
For the Element there will be some properties:
For the Element there will be some properties:
* Fire strong vs Water
* Fire strong vs Water
Line 139: Line 132:
* Earth strong vs Wind
* Earth strong vs Wind
* Wind strong vs Fire
* Wind strong vs Fire
<br>
&lt;br&gt;
* Dark strong vs Holy
* Dark strong vs Holy
* Holy strong vs Dark
* Holy strong vs Dark
The Holy and Dark elements will also be used in healings, depending on if the target is a good or an evil creature the dark and holy elements will heal or damage the target.&lt;br&gt;
The Holy and Dark elements will also be used in healings, depending on if the target is a good or an evil creature the dark and holy elements will heal or damage the target.<br>
<br>
&lt;br&gt;
Here is some speculative formulas for how magic might be working
Here is some speculative formulas for how magic might be working
&lt;pre&gt;
<pre>
risk_to_hit = 2 * source[INT] - target[INT] + target[DEF]/2 + roll[1D20] -10
risk_to_hit = 2 * source[INT] - target[INT] + target[DEF]/2 + roll[1D20] -10


if risk_to_hit &gt; 0:
if risk_to_hit > 0:
attacker part = 0,8 * ((roll[1D100]/100) * source[MATK]^2) * (ELEMENT * 0,2) + 4 * source[MATK] * (ELEMENT*0,2)
attacker part = 0,8 * ((roll[1D100]/100) * source[MATK]^2) * (ELEMENT * 0,2) + 4 * source[MATK] * (ELEMENT*0,2)
maxdamage = source[MATK]^2 + 4 * (ELEMENT)
maxdamage = source[MATK]^2 + 4 * (ELEMENT)
Line 161: Line 154:
WEAK = The element that is weak to the skill that is used. (beeing strong in one element makes you weak to another)
WEAK = The element that is weak to the skill that is used. (beeing strong in one element makes you weak to another)
STRONG = Is the target strong against the element casted upon him?
STRONG = Is the target strong against the element casted upon him?
&lt;/pre&gt;
</pre>


These Formulas is based on that all creatures have an elemental resistance to all the elements in the game: &lt;br&gt;
These Formulas is based on that all creatures have an elemental resistance to all the elements in the game: <br>
* An elemental resistance below 0 means that you gain extra damage from that element -100 means you recive the double damage.
* An elemental resistance below 0 means that you gain extra damage from that element -100 means you recive the double damage.
* An elemental resistance of 0 means that there is no change in damage from that element, or the element that is strong against it.&lt;br&gt;
* An elemental resistance of 0 means that there is no change in damage from that element, or the element that is strong against it.<br>
* An elemental resistance of 100 means that the target is immune to that form of damage, but also weak against the element strong against it.&lt;br&gt;
* An elemental resistance of 100 means that the target is immune to that form of damage, but also weak against the element strong against it.<br>
* An elemental resistance of 100+ means that you absorbs some of that element (ie you get healed) having 200 means that instead of getting damaged you get healed the entire damage cast upon you, but you are also very weak against the oposing element.
* An elemental resistance of 100+ means that you absorbs some of that element (ie you get healed) having 200 means that instead of getting damaged you get healed the entire damage cast upon you, but you are also very weak against the oposing element.


<br>
&lt;br&gt;
Check over at the class section for spells that might be added
Check over at the class section for spells that might be added
[[StendhalRefactoringClassBasics| Class Basics]]&lt;br&gt;
[[StendhalRefactoringClassBasics| Class Basics]]<br>

==Trading system==

see [[Concept Player to Player Trade]]

==Shopping system==
It would be basically the same as the trading system but in this case one of the traders would be a NPC

(Idea suggested by ''kiheru'')

One could buy only what someone else has sold to the shop. Shop sellers naturally pay less than they take. If a player doesn't meet anyone willing to buy he can sell at the shop (for a poor price).

==Auctioning system==
It would be basically the same as the shopping system but in this case there are more than one shopping players competing for buying one item

==Party system==

A player types:

''/party nameofparty''

and automatically that party exists and this player is joined to that party.

To find out what parties a user belongs to (maybe this feature isn't desirable to keep privacy):

''/parties username''

To find out what players belong to a party:

''/members nameofparty''

A member of the party can invite a player to join the party

''/invite player nameofparty''

If ''nameofparty'' exists, the members of that party (that are online) are asked if they want to accept the new member. The decision with major number of votes wins. To join a party, at least one of the members has to be online.

The xp points obtained by every member of the party are showed like always but in a different color (possibly grey) and aren't added to the player experience.
The items dragged to the bag of every member are shown in a different color (possibly grey) and can't be used if they are consumable.

At one point, a player suggests:

''/share nameofparty''

This command only works if the player belongs to ''nameofparty''.
All of the members that have contributed to the loot since last sharing must be online and are asked if they want to share at that moment. The decision with major number of votes wins.

If the share is accepted a bag window opens in the middle of the screen.
Every item is assigned a value in points, the total is computed and every player is assigned a fraction of that total.

The sharing can be:
*equal for every player
*proportional to the sum of the given and received damage points by every player since last sharing.

Every player is prompted with a window to choose between equal or proportional sharing. The decision with major number of votes wins.

The xp points gathered by the group of members since last sharing is shared immediately

Each Player chooses the items he wants until:
*the amount of items' value:
**reaches the player's assigned points.
**surpasses the player's assigned points for the first time.
*The player clicks on ''No more'' button

Then he can't drag any more item.

If a player chooses an stackable item, the quantity is chosen so that it reaches the rest of the player's assigned points. Thus, users should drag stackable items only at the end

When any player can't drag more items from the bag the sharing process begins:
*if two players have chosen the same item:
**the item is randomly assigned to one of the players.
**the players that don't get the chosen item receive (if possible) part of the rest of the loot in equal parts (if possible)

If there's a part of the loot that hasn't been assigned to any of the players, it is dropped on the ground (at average distance of the group of players) and the faster player gets it.

When a player wants to abandon a party he simply types:

''/quit nameofparty''

If all the members of the party (except perhaps the affected player) are online and the number of party members is more than 2, a member can suggest expelling another member:

''/expel username nameofparty''

Every player (included the affected player) is prompted with a window to choose yes or no. The decision with major number of votes wins.

Note: the same user can belong (at least in theory) to many parties.(Maybe this feature is not possible)

There could be an analogue feature to the buddy list for parties so that every member would be notified any time other member logs in and out.


&lt;br&gt;


An alternate method for sharing loot is a bidding system. Each member of the party gets a number of points for bidding (either proportional or equal). Players then assign the number of points they're willing to spend on each item they want. The player who pays the most wins, or for stackable items the stack is split according to how much each player paid. This way, if a player desperately wants one item they can put all their points on that item and let the other players divide up the rest.


<br>
&lt;br&gt;
<br>
&lt;br&gt;
<br>
&lt;br&gt;
----
----
[[StendhalRefactoring| Back to stendhal refactoring page]] &lt;br&gt;
[[StendhalRefactoring| Back to stendhal refactoring page]] <br>
[[Stendhal | Back to Stendhal main wiki page]] &lt;br&gt;
[[Stendhal | Back to Stendhal main wiki page]] <br>


[[Category:Development]]
[[Category:Development]]