interesting, what version of the script are you using and what spells are you choosing?
this.AddPage(1);
if ( m_Scroll.mSwitch == 0 )
{
AddImage( 24, 0, 2234, 0);
AddImageTiled( 0,0, 25,80, 2624 ); //options background
AddAlphaRegion(0, 0, 25, 80);
if ( m_Scroll.mLock == 0 )
{
dbx = 67; dbxa = 45; dby = 5; dbya = 0;
this.AddButton( 2, 28, 22404, 22404, 138, GumpButtonType.Reply, 1); // flip button
this.AddButton( 2, 5, 5603, 5603, 0, GumpButtonType.Page, 2); // minimize
this.AddButton( 5, 54, 2510, 2510, 139, GumpButtonType.Reply, 1); // unlocked
}
else
{
this.AddButton( 5, 54, 2092, 2092, 139, GumpButtonType.Reply, 1); // locked
}
}
Zero, nice job on this!glad you like it
lol, i was waiting for someone to ask about ACC. this code is written with customization in mind. once I get a few features working and added that I want to include then i'll address that.
the only "problem" i can see regarding ACC is that it doesn't have the spell icons. so I'd have to make buttons with labels but the buttons would be fairly small.
I am planning on releasing a version that includes Bard of Masteries, but not right now since some people may not have that system and I want as many people as possible to be able to try it out
update
see main post
update
I can't remember for certain, but chances are with the way I coded it back then you'll have to remove a check for each and every spell.I was able to get the gumps to ignore the checks and still allow access to the spells, however if the spell book isn't present in the bag, it disappears off the toolbar. By chance know a way to easily remove the check for the books all together? so by opening the tool bar, the player would have access to all the spells without the need of the book itself.
if ( HasSpell( from, 0 ) ) { AddLabel(205, 13, 1153, @"Clumsy"); }
else if ( !HasSpell( from, 0 ) ) { AddLabel(205, 13, 1153, @"Clumsy"); }
if ( !HasSpell( from, 0 ) && m_Scroll.W00_ClumsySpell == 1)
case 1: { if ( !HasSpell( from, 0 ) ) { new ClumsySpell( from, null ).Cast(); from.SendGump( new SpellBar_BarGump( from, m_Scroll, m_Scroll.Xo, m_Scroll.Yo ) ); } break; }
We use essential cookies to make this site work, and optional cookies to enhance your experience.