That sounds strange. Anyway, this should work:
The Event
Page 1: Parallel Process, No Conditions, No Graphic
Control Variables : Random (1-3)
Page 2: Action Button, Variable > 0, Sword Graphic
Give Sword
Page 3: Action Button, Variable > 1, Book Graphic
Give Book
Etc... That ought to work. You'll need to delete the event at the end there too.