From: SourceForge.net <no...@so...> - 2006-05-09 01:11:48
|
Documentation Feature Requests item #1411280, was opened at 2006-01-21 02:08 Message generated for change (Comment added) made by karianna You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=748235&aid=1411280&group_id=25576 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: Documentation New Tag(s) Group: Data File Tag Pages Status: Open Resolution: None Priority: 5 Submitted By: Eddy Anthony (eddyanthony) Assigned to: Fitzs (fitzs) Summary: statsandchecks file - STATMOD tag Initial Comment: From [ 1098592 ] statsandchecks file - STATMOD tag http://sourceforge.net/tracker/index.php? func=detail&aid=1098592&group_id=25576&atid=384722 now accepts IF statement as part of the formula (JEP enablement) ---------------------------------------------------------------------- >Comment By: Martijn Verburg (karianna) Date: 2006-05-08 10:27 Message: Logged In: YES user_id=252169 Does someone need to commit this for you? - K ---------------------------------------------------------------------- Comment By: Fitzs (fitzs) Date: 2006-05-07 21:48 Message: Logged In: YES user_id=1116101 Copied from file: /docs/listfilepages/systemfilestagpages/gamemodestatsa ndcheckslist.html#STATMOD Replace with this Tag Name: STATMOD:x,y,z or if(x,y,z) Variables Used (x): Number, variable or formula Variables Used (y): Number, variable or formula Variables Used (z): Number, variable or formula What it does: Defines the formula used to determine a stats modifiers. Example: STATMOD:floor(SCORE/2)-5 Would calculate a stat modification as STAT divided by 2, round down, minus 5 (SCORE is the variable name for the stat value). Note: the formula can only contain 1 SCORE variable. STATMOD:if(CL<10,1,2) Would compare CL to 10 and return 1 or 2 as required. STATMOD:if((CL>5)||(TL>5),2,-4) Asks if Class Level or Total Level is greater than 5 then returns 2 or else returns -4. STATMOD:if(STR>DEX,STR,DEX) Asks if STR is greater than DEX then returns STR or else returns DEX Where it is used: STATNAME Line. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=748235&aid=1411280&group_id=25576 |