chuchoide Posted January 3, 2011 Author Share Posted January 3, 2011 Hey, i got a prob with EO CE… I cant make it so a Pokemon drops an item when killed... using a Value of 1, and 1 out of 1 chance, still... it doesnt drop out. Link to comment Share on other sites More sharing options...
Robin Posted January 4, 2011 Share Posted January 4, 2011 Already been reported. I'll look in to it when I get some time. Link to comment Share on other sites More sharing options...
chuchoide Posted January 4, 2011 Author Share Posted January 4, 2011 Ok. Thanks. Link to comment Share on other sites More sharing options...
erkro1 Posted January 4, 2011 Share Posted January 4, 2011 @DshWinchester:> search this part in sub PlayerAttackNpc> > > If n > 0 Then> > Call SetPlayerExp(n, GetPlayerExp(n) + Exp)> > SendEXP n> > SendActionMsg GetPlayerMap(n), "+" & Exp & " EXP", White, 1, (GetPlayerX(n) * 32), (GetPlayerY(n) * 32)> > End If> > End If> > after that> > add this> > > n = Int(Rnd * Npc(NpcNum).DropChance) + 1> > > > If n = 1 Then> > Call SpawnItem(Npc(NpcNum).DropItem, Npc(NpcNum).DropItemValue, MapNum, MapNpc(MapNum).Npc(MapNpcNum).x, MapNpc(MapNum).Npc(MapNpcNum).y)> > End If Link to comment Share on other sites More sharing options...
chuchoide Posted January 5, 2011 Author Share Posted January 5, 2011 Thanks :) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now