[Crossfire-wiki] [Crossfire DokuWiki] page changed: gameplay:scratchpad

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Sun Nov 3 05:09:55 CST 2013


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2013/11/03 05:09
User        : saru
Edit Summary: 

@@ -2,40 +2,12 @@
  ==== hp, sp and grace revamp ====
  === current ===
  Currently hp, sp and grace have some very strange rules to define max_hp, max_sp and max_grace. So strange in fact that defining how the functions result for a given character is almost impossible.
  == max hp ==
- max hp currently calculates by running the following equation for players below level 11:
- 
-   max_hp = 0
-   for (i = 1; i <= pl_level && i <= 10; i++) {
-   max_hp += op->contr->levhp[i]+get_con_bonus(op->stats.Con);
- 
- which if less than 1, instead returns 1.
- 
-   op->contr->levhp[i] adds +1 per level + a random number
- 
-   get_con_bonus(op->stats.Con) adds more hp based on the players CON.
- The following values are read in based on the following entries from stat_bonus:
- 
- con_hp_bonus
-   {
-   -3, //I believe this is for 0 CON, which cannot occur//
-   -2.5, -2, -1.5, -1, -0.5,
-   -0.5, 0, 0, 0, 0,
-   0.5, 1, 1.5, 2, 2.5,
-   3, 3.5, 4, 4.5, 5,
-   6, 7, 8, 9, 10,
-   11, 12.5, 15, 20, 25
-   }
- 
- Not, this is non-linear, how can players understand this?
- 
- This gets repeated 10 times. so players leveling from 1 - 11 see a large increase in HP per level (Very hard to balance)
- 
- after level 10, players simply get +2 max_hp per level (boring hp increase after level 10, or perhaps, very stable increase.. easy to predict)
+ The calculation for max hp is currently non-linear and can be difficult to understand. It has a rapid increase in early levels (before 11) but then only slowly improves. This results in new players having very low hp whilst trying to learn how to play, but then quickly grows to be almost overpowered by level 10, before slowly tapering off and 'arguably' being stable to predict. see [[:characters:hp]] page for details about existant system.
  
  == max hp proposal ==
- hp goes up more linearly using an equation like:
+ make max hp based off a few more variables but make the relationship to CON and level more predictable. Something like:
    maxhp = racehp + classhp + (conmod * con) + (levelmod * level)
  
  == max sp ==
  [outline how code currently works]


IP-Address  : 59.167.121.117
Old Revision: http://wiki.metalforge.net/doku.php/gameplay:scratchpad?rev=1383475401
New Revision: http://wiki.metalforge.net/doku.php/gameplay:scratchpad

-- 
This mail was generated by DokuWiki at
http://wiki.metalforge.net/



More information about the crossfire-wiki mailing list