UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050403 Galeon/1.3.20 IP: 128.83.113.38 URI: http://wesnoth.slack.it/?CaseBasedReasoningA - - - - - Index: CaseBasedReasoningA =================================================================== RCS file: /home/wesnoth/cvsroot/wikiroot/CaseBasedReasoningA,v retrieving revision 1.3 diff -u -r1.3 CaseBasedReasoningA --- CaseBasedReasoningA 4 May 2005 19:08:15 -0000 1.3 +++ CaseBasedReasoningA 4 May 2005 19:10:36 -0000 @@ -1,9 +1,10 @@ -Use this to make deeply nested if-then-else logic look slightly more like a case statement. For brevity the code to be -executed is shown as macros in this example, but you can put raw WML there if you wish. +Use this to make deeply nested if-then-else logic look slightly more like a case statement. ||Example of Use|| -The unit drinks an unidentified potion, and it's effect is... +For brevity the code to be executed is shown as macros in this example, but you can put raw WML there if you wish. + +A unit drinks an unidentified potion, and it's effect is... {RANDOM Strength,Agility,Haste,Experience,Health,Nightstealth,Sloth,Poison,Petrification} {IF_RANDOM_EQ Strength} {QUAFF_POTION_OF_STRENGTH}
_______________________________________________ Wesnoth-wiki-changes mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/wesnoth-wiki-changes
