Post
by ralliiart » Thu Oct 11, 2007 10:50 am
i always use pragmatic defines/constants in any programming language when possible - especially in scripting - cuts down on memory usage, increases speed, etc.., while still allowing you to make changes across the board quickly and easily for situational changes.
define ftw
P.S. The script snippet I posted above is not set in stone, and is not ready to go. You can use defines, variables, or any method you want to assign the values. You can also check for the MA a different way if you want - check their name if you want instead. I prefer slot 1 for my own reasons. I only posted it as a guideline for how to loop through your group members to check their health and heal accordingly without having to physically target each one and/or the mob.
In my group of 4-5 (depending), my cleric melees the mob, always keeping yaulp going, and constantly running through a loop similar to the one above to check the health of everyone.