vbGore Free Online RPG Engine

Revolutionizing Visual Basic ORPG Development
It is currently Thu Jun 20, 2013 1:31 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Proof that 1 can equal 2!
PostPosted: Wed Aug 02, 2006 5:31 pm 
Site Admin

Joined: Sun Jul 30, 2006 4:00 pm
Posts: 1230
Aha! 1 can equal 2!

Code:
    'Check for enough mana
    If CasterType = CharType_PC Then
        '//If UserList(CasterIndex).Stats.ModStat(SID.MinMAN) < UserList(CasterIndex).Stats.BaseStat(SID.DefensiveMag) * 0.5 Then
        If 1 = 2 Then
            ConBuf.Clear
            ConBuf.Put_Byte DataCode.Comm_Talk
            ConBuf.Put_String "Not enough mana."
            ConBuf.Put_Byte DataCode.Comm_FontType_Info
            SendData ToIndex, CasterIndex, ConBuf.Get_Buffer
            Exit Sub
        End If
    ElseIf CasterType = CharType_NPC Then
        If NPCList(CasterIndex).ModStat(SID.MinMAN) < NPCList(CasterIndex).BaseStat(SID.DefensiveMag) * 0.5 Then Exit Sub
    End If


:)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 02, 2006 5:49 pm 
Site Admin

Joined: Fri Jul 14, 2006 4:00 pm
Posts: 11230
Location: Washington
Haha that's in the healing sub, isn't it? I put that there to make it there instead of commenting it out. :lol:


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group