• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

info itens

rohfagundes

New Member
Joined
Jan 18, 2013
Messages
14
Reaction score
0
Hello sorry for english I'm using google translate
I wanted some help with this function.


Code:
        if(m_font && (m_item->isStackable() || m_item->isChargeable()) && m_item->getCountOrSubType() > 1) {
            std::string count = stdext::to_string(m_item->getCountOrSubType());
            g_painter->setColor(Color(231, 231, 231));
            m_font->drawText(count, Rect(m_rect.topLeft(), m_rect.bottomRight() - Point(3, 0)), Fw::AlignBottomRight);
        }

It arrows the amount of the stackable item
I was wanting arrow the item atk
Does anyone know how?
 
I think you need to use m_item->getAttack() but not sure if it is correct.
 
[QUOTE = "margoh, post: 2419239, membro: 179653"] Eu acho que você precisa usar m_item-> getAttack () . Mas não tenho certeza se é correto [/ QUOTE]

I already tried using this
does not work
And I do not know where it edits for the client to receive this information
And for the server to send
 
Back
Top