|
Post by deathravin on Dec 28, 2005 12:07:18 GMT -5
Lets say you have:
StatusAilment[1]={1,1,"Poison","Poisona",8,"is poisoned.","is no longer poisoned"} StatusAilment[2]={1,2,"Paralyze","Paralyna",12,"is paralyzed.","is no longer paralyzed"} StatusAilment[3]={1,4,"Blind","Blindna",16,"is blinded.","is no longer blinded"} StatusAilment[4]={1,8,"Silence","Silena",16,"is silenced.","is no longer silenced."}
Could that work? so something like:
i = 1 j = 5 ManaForSpell=StatusAilment[i][j]
I'll try it when I get home, but it seems like it wouldn't... It would get confused methinks. Basically making it be more of a spreadsheet than a table. I'm sure I can do it with a seperate file, and I might end up doing that with a read/write function, but I'd rather keep it all in one file.
In case you're curious, i'm making a whm helper... it'll show you who in your party has what status element and will have an option to automatically cure the status element, or to just show you who has what on. That way you don't have to ask yourself, "who got poisoned by that breath?" you can just cure it when you can or right when it happens, or automatically if everybody's health is over 75%, so you can worry more about keeping your people alive, keeping the mob debuffed, and keeping haste on everybody, than keeping silence off your ninja.
|
|
|
Post by TinyTerror on Dec 28, 2005 12:30:08 GMT -5
You are talking about a 2 dimensional array. They should be ok in lunar, but I'm not sure of the syntax.
|
|
nebula
Junior Member
fear.
Posts: 59
|
Post by nebula on Dec 28, 2005 18:49:52 GMT -5
yes, they work
|
|